rusk
rusk copied to clipboard
Remove network switching
We will publicly serve the explorer on three separate sub domains:
- devnet.apps.dusk.network/explorer
- testnet.apps.dusk.network/explorer
- apps.dusk.network/explorer
These for the 3 networks (devnet, testnet and mainnet).
- Change the explorer so that it doesn’t use network requests for graphQL, because that will all be called on
/
- Remove the network dropdown code.
- Use an env var to add an optional port to add to the local URL used for API calls. (This is to be flexible when developing the app.)
- We need a proxy on
apps.dusk.network/explorer
pointing to a node (presumably on port 80?) (so this would be replacing the current component on DO with a proxy). We also need this to work fordevnet.*
andtestnet.*
domains to point to explorers on those networks. - Configuration so that Rust bundles the explorer and that there can be env variable configuration for the node to serve the explorer or not.