The @spore-sdk/core
package provides essential tools for constructing basic and advanced transactions on spores and clusters. Additionally, it offers convenient utilities for handling serialization of spores/clusters.
- ⚡ Composed APIs for efficient spores/clusters interactions with minimal time overhead
- 🧩 Joint APIs for building advanced transactions as a fun block-building process
- 🛠️ Utilities for encoding/decoding data of spores/clusters
- 🎹 Fully written in TypeScript
Install @spore-sdk/core
as a dependency using any package manager, such as npm
:
npm install @spore-sdk/core
Spore SDK is built on top of Lumos, an open-source dapp framework for Nervos CKB. Lumos incorporates certain Node-polyfills into its implementation to provide specific functionalities, such as:
crypto-browserify
buffer
If you wish to use the Spore SDK in a browser environment, it's important to manually add Node-polyfills to your application. This ensures that the Spore SDK functions properly in the browser. Visit: CRA, Vite, Webpack or Other.
This package is a part of the Spore SDK monorepo.
For complete descriptions and instructions, visit: Spore SDK.
MIT License