Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.85 KB

connecting-dapps.md

File metadata and controls

20 lines (11 loc) · 1.85 KB

Connecting Dapps

Valora supports WalletConnect v2 for connecting Dapps to Valora. WalletConnect v1 is end-of-life and not supported.

If you're building a Dapp we recommend @celo/rainbowkit-celo or Web3Modalto make it easy to connect your Dapp to Valora via WalletConnect. cLabs supports @celo/rainbowkit-celo and it includes a complete example to help you get started.

WalletConnect details

Supported actions: https://github.com/celo-org/wallet/blob/main/src/walletConnect/constants.ts#L3

Docs for WalletConnect v2: https://docs.walletconnect.com/2.0

Troubleshooting tips

When building the connection between your Dapp and Valora, it can be challenging to determine the source of a connection error. We recommend using the official WalletConnect example Dapp and wallet to help with this.

  • If Valora cannot connect to your Dapp but is able to connect to the WalletConnect v2 example react Dapp correctly, the issue likely lies with your Dapp. It can be helpful to check the implementation details of this example Dapp against your own implementation.
  • If your Dapp is unable to connect to the WalletConnect v2 example wallet, there is likely an issue with your Dapp. As above, we recommend comparing the implementation details between your Dapp and the example Dapp provided.

If these troubleshooting steps don't help, please join our #dapp-dev channel on Discord to discuss your specific problem.