WalletConnect
WalletConnect is standard api widely used by Trustwallet, Binance, Kava, and other apps to connect mobile wallet with Dapps.
Most existing connect works with a minor modification: allow support for Harmony chainId. (example Viperswap PR)

Adding Harmony chains

1
export const walletconnect = new WalletConnectConnector({
2
rpc: {
3
1: NETWORK_URL,
4
[ChainId.HARMONY_MAINNET]: 'https://api.s0.t.hmny.io/',
5
[ChainId.HARMONY_TESTNET]: 'https://api.s0.b.hmny.io'
6
},
7
bridge: 'https://bridge.walletconnect.org',
8
qrcode: true,
9
supportedChainIds: [
10
ChainId.HARMONY_MAINNET, // harmony
11
ChainId.HARMONY_TESTNET // harmony testnet
12
]
13
})
Copied!

Full Dapp implementation

Follow the tutorials on https://docs.walletconnect.com for the respective platform.
For web, there is a reference implementation available at https://github.com/hashmesan/sef-walletconnect-example-dapp
Live demo: https://hashmesan.github.io/sef-walletconnect-example-dapp/

Current supported mobile wallets

Last modified 26d ago