Closed samsiegart closed 1 year ago
The wallet UI hosts a network config at https://wallet.agoric.app/wallet/network-config which points to a local chain (http://localhost:26657). When you want to connect to it, you would select the "localhost" option in the wallet UI. However, this requires that the wallet UI is running on your localhost as well, because it's hard-coded to http://localhost:3000/wallet/network-config (see screenshot). You shouldn't need to run the wallet UI locally to access a local chain. Right now the workaround is to use Custom URL and set it to https://local.agoric.net/network-config or https://wallet.agoric.app/wallet/network-config which also point to http://localhost:26657.
http://localhost:3000/wallet/network-config
Custom URL
Open the "Connection Settings" menu in the nav bar, try to select localhost.
It should just use whatever the current hostname is, it will always be available since you're using it.
If applicable, add screenshots to help explain your problem, especially for UI interactions.
Describe the bug
The wallet UI hosts a network config at https://wallet.agoric.app/wallet/network-config which points to a local chain (http://localhost:26657). When you want to connect to it, you would select the "localhost" option in the wallet UI. However, this requires that the wallet UI is running on your localhost as well, because it's hard-coded to
http://localhost:3000/wallet/network-config
(see screenshot). You shouldn't need to run the wallet UI locally to access a local chain. Right now the workaround is to useCustom URL
and set it to https://local.agoric.net/network-config or https://wallet.agoric.app/wallet/network-config which also point to http://localhost:26657.To Reproduce
Open the "Connection Settings" menu in the nav bar, try to select localhost.
Expected behavior
It should just use whatever the current hostname is, it will always be available since you're using it.
Screenshots
If applicable, add screenshots to help explain your problem, especially for UI interactions.