You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importWalletConnectProviderfrom"@walletconnect/web3-provider";importWeb3from'web3';// Your setup informationconstendpoint='https://your.skale.endpoint';// your SKALE Chain endpointconstethereumEndpoint='https://your.ethereum.endpoint'// your Ethereum endpointconstskaleChainId=123456// chainId of your SKALE Chainconstprovider=newWalletConnectProvider({rpc: {skaleChainId: endpoint,4: ethereumEndpoint}});awaitprovider.enable();constweb3=newWeb3(provider);
Wallet Connect
The Wallet Connect is an open source protocol to link dApps to mobile wallets using deep linking, and allows you to integrate your dApp with SKALE.
For more information and support, see https://docs.walletconnect.com/getting-started
Install NPM Packages
Example Code
Example Sandbox
https://codesandbox.io/s/wallet-connect-wallet-integration-skale-dev-docs-forked-5xq08
The text was updated successfully, but these errors were encountered: