Install
Installation
To integrate wc-client
into your decentralized application (DApp), install it using your preferred package manager: pnpm, npm, or yarn. Run one of the following commands in your project directory:
# Using pnpm (recommended for faster installs)
pnpm add @joey-wallet/wc-client
# Using npm
npm install @joey-wallet/wc-client
# Using yarn
yarn add @joey-wallet/wc-client
Note: Ensure your project includes
@walletconnect/universal-provider
as a dependency, aswc-client
builds on it for WalletConnect functionality. If not already included, you can install it alongsidewc-client
Next Steps:
After installation, you can initialize wc-client
in your DApp to connect to the XRP Ledger via WalletConnect. Refer to the Quick Start section for a basic example of setting up the client, or explore the Playground directory for advanced use cases, including session management and transaction handling with Joey Wallet.
Last updated