d774f52135
* Added UI infastructure to support chain switching, need to update the session to swap chains * Fixed type of chainId, string -> number * Added helper method to find full chainname ex/ cosmoshub-4 -> cosmons:cosmoshub-4. Added a method updateSignClientChainId to emit a new update with the new namespace for the respected chain switch * Added checks to ensure no dup accounts get added to namespaces during chainswitching from chain A->B->A for ex * Fixed chainId type, eip155 uses number but the other chains use strings, making string the default type for chainId * Update wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts Co-authored-by: Ben Kremer <ben@walletconnect.com> * Switched the way account card components are generated in index page, removed unnecessary helper fx * Fixed the chain changed event by updating the session if the chainId namespace does not currently exist, then emitting the correct chainChanged event on the same session --------- Co-authored-by: Ben Kremer <ben@walletconnect.com> |
||
---|---|---|
dapps | ||
wallets | ||
.gitignore | ||
LICENSE | ||
README.md |
WalletConnect v2 Examples
Catalogue of various wallet and dapp examples implementing WalletConnect's SDKs and APIs. Each example contains its own README with further instructions and explanations.
Web3Wallet SDK
Wallets:
Sign API
Wallets:
dApps:
- React dApp (with standalone client) - v2 (Demo)
- React dApp (with EthereumProvider + Ethers.js) - v2 (Demo)
- React dApp (with EthereumProvider + web3.js) - v2 (Demo)
Auth API
Wallets:
dApps:
Chat API
Wallets: