WalletConnect Integration
Overview​
Wallet connect enable App wallet connect to DApp via QRCode or Deeplink.
When using this protocol the most critical modification in the Wallet and DApp is supporting CLayer Blockchain networks.
Implementation Examples​
Wallet App Implementation​
For wallet applications, you need to add CLayer blockchain network support. Reference implementation:
DApp Implementation​
For decentralized applications, you need to include CLayer network configuration. Reference implementation:
Network Configuration​
When implementing WalletConnect for CLayer, ensure your application includes the correct network parameters:
Testnet Configuration​
{
chainId: 28525,
name: 'CLayer Blockchain Testnet',
currency: 'CLAYER',
explorerUrl: 'https://explorer-testnet.clayer.io',
rpcUrl: 'https://testnet-rpc.clayer.io'
}
Integration Steps​
- Add Network Support: Include CLayer network configuration in your wallet or DApp
- Update Chain Registry: Register the CLayer blockchain in your application's supported networks
- Test Connection: Verify QR code and deep link functionality works with CLayer
- Handle Transactions: Ensure transaction signing and broadcasting works correctly