This is monorepo for JoyID JavaScript SDK.
In order to interact with JoyID App we provide different packages to meet different requirements.
@joyid/ckb: SDK for manipulating Nervos CKB assets, including transferring CKB/mNFT/CoTA NFT, signing Raw Transaction, etc.@joyid/bitcoin: UniSat Wallet compatible SDK for manipulating Bitcoin assets.@joyid/evm: SDK for manipulating EVM-compatible blockchains assets.@joyid/nostr: NIP-07 implementation for Nostr protocol.@joyid/ethers: Ethers.js implementation for JoyID EVM SDK.@joyid/wagmi: Wagmi implementation for JoyID EVM SDK.@joyid/rainbowkit: RainbowKit implementation for JoyID EVM SDK.@joyid/ethereum-provider: EIP-1193 implementation for JoyID EVM SDK.@joyid/miniapp: SDK for Telegram MiniApp.
You can choose the appropriate SDK package according to your application scenario and follow the instructions in the documentation for installation and use. If you need technical support, feel free to contact us in Discord.
We provide examples for each package in the examples directory. Every example is a standalone project that demonstrates how to use the SDK in a specific scenario. You can run the examples by running the following commands:
pnpm run devThere are six examples in the examples directory:
CKB Demo: Example for@joyid/ckbSDK. PreviewBitcoin Demo: Example for@joyid/bitcoinSDK. PreviewEVM Demo: Example for@joyid/evmSDK. PreviewWagmi Demo: Example for@joyid/wagmiSDK. PreviewRainbowKit Demo: Example for@joyid/rainbowkitSDK. Previewnostr Demo: Example for@joyid/nostrSDK. Preview
npm i -g pnpm
pnpm installpnpm buildWe welcome contributions from the community. If you want to contribute to JoyID JavaScript SDK, please read the Contributing Guide first.