Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laurci/mx-unit-networking
https://github.com/laurci/mx-unit-networking
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/laurci/mx-unit-networking
- Owner: laurci
- Created: 2023-09-26T18:07:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-26T18:14:27.000Z (over 1 year ago)
- Last Synced: 2024-10-30T06:27:15.668Z (3 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mx-unit-networking
This repository contains networking hacks to make the devnet-wallet, devnet-explorer and xPortal app use our localnet insted of the real network.
# Reverse proxy
We use `caddy` as a reverse proxy. It does HTTP Host based routing and SSL termination. Make sure to add the root CA generated by `caddy` to the trusted roots in your OS.
To start the reverse proxy run `caddy run --config ./Caddyfile`
# DNS
Manually add the follwing records in your local DNS server (replace `127.0.0.1` with the IP address of the machine where `caddy` is running):
```
127.0.0.1 devnet-gateway.multiversx.com
127.0.0.1 devnet-socket-fra.multiversx.com
127.0.0.1 devnet-socket-fra.elrond.com
127.0.0.1 devnet-api.multiversx.com
127.0.0.1 devnet-delegation-api.multiversx.com
```