I may update this with the new walletconnect 2 code at a later time if a better standalone lib doesn't get made
A Chia specific WalletConnect client derived from the original Chia Wallet Connect DApp Test with all of the bloat cut out and added chia functionality.
Include this repository as a submodule to easily add WalletConnect functionality to your Chia DApp.
git submodule add https://github.com/Open-Market-Dev-Club/chia-walletconnect.git [./src/chia-walletconnect]
Put a file named walletconnectconfig.json
directory above chia-walletconnect with your configuration. Get your own project id from walletconnect.com
walletconnectconfig.json
Example:
{
"project_id": "87af2d227d63f4dbf4a8ac6b7e3f763c",
"metadata": {
"name": "Spriggan Marketplace Dapp",
"description": "Connection to Spriggan Marketplace",
"url": "",
"icons": ["https://avatars.githubusercontent.com/u/37784886"]
}
}
See Spriggan Marketplace DApp for an example usage.