near / near-wallet-roadmap

near-wallet-roadmap
Apache License 2.0
8 stars 0 forks source link

Switch RPC Node in NEAR Web Wallet #36

Open think-in-universe opened 2 years ago

think-in-universe commented 2 years ago

Summary Sometimes the Testnet (or mainnet sometimes) RPC Node may be broken due to various reasons. To make developers or users be able to continue to use the wallet without issue, it can be helpful to make it able to switch to a pre-defined or custom RPC Node.

Intended Outcome The user / developer can switch to their preferred RPC Nodes when needed.

How will it work? The features is common in a Browser Wallet, but should be also available in a Web Wallet.

Add a Settings section in Web Wallet, and make it possible to Add / Remove / Set RPC Node selections in frontend. The frontend will use the selected RPC Node to send requests.

The Settings may be saved in browser localStorage, so it cannot be applied across browsers easily. One solution is to save the user settings in one smart contract.

When you would like to see it released? In 3~6 months