stacks-network / sbtc-bridge-web

Web tool to facilitage peg operations for sBTC
https://sbtc.world
GNU Affero General Public License v3.0
14 stars 5 forks source link

Change query string from `net=` to `chain=` #259

Closed friedger closed 1 year ago

friedger commented 1 year ago

Many stacks apps use query string like ?chain=testnet, like stacks explorer, sendmany, minecitycoins, .. The bridge should use the same.

Alternatively, there should be a call for changing the query string.

Definition of Done

Users can switch between testnet or mainnet by adding query parameter chain=testnet or chain=mainnet or alternatively, a link is provided describing how to switch the networks on a network agnostic UI web app.