This is a dApp for testing the Chia wallet's WalletConnect commands.
- Clean WalletConnect Integration: Uses
@walletconnect/sign-clientdirectly without deprecated Web3Modal - QR Code Connection: Custom QR code modal for wallet connection
- Comprehensive RPC Testing: Test 30+ Chia blockchain operations
- Type-Safe: Full TypeScript support with strongly-typed RPC methods
- Modern UI: Material-UI based interface with real-time response display
Run the following commands to start the dApp:
npm install
npm run devNote that the .env file contains VITE_PROJECT_ID and VITE_CHAIN_ID constants. The former is from WalletConnect and identifies your app inside of the wallet. The latter is either chia:testnet or chia:mainnet, and must match what your wallet is on.
This repository is intended for demonstration purposes only. The primary goal of this code is to provide examples of how to integrate with WalletConnect. It is not designed to be run as-is or serve as a production-ready solution.
Please be aware that this repository is not actively maintained and does not receive regular updates for security patches. Any dependencies, libraries, or other necessary components are also not actively maintained by us. If you choose to use this code as a starting point for your own projects, you are strongly encouraged to:
- Update Dependencies: Ensure that you review and update all dependencies to their latest versions.
- Address Security Issues: Conduct thorough assessments for any potential security vulnerabilities present in outdated dependencies or libraries.
This code is licensed under the Apache License 2.0, which grants you the freedom to use, modify, and distribute the code with proper attribution. Please review the license for further details on its terms and conditions. By using this repository, you signify that you have read, understood, and agree to this disclaimer. If you do not agree with these terms, please refrain from using the code.
Pursuant to the Apache license above, by using this code, you acknowledge and agree that you do so at your own risk.