Home

Awesome

<br/> <p align="center"> <img src="./docs/assets/readme-banner.webp" alt="Spore SDK"> </p> <p align="center"> A TypeScript SDK to interact with Spore Protocol. </p> <p align="center"> <a href="https://www.npmjs.com/package/@spore-sdk/core"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/@spore-sdk/core?colorA=21262d&colorB=21262d&style=flat"> <img src="https://img.shields.io/npm/v/@spore-sdk/core?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version"> </picture> </a> <a href="https://github.com/sporeprotocol/spore-sdk/blob/main/LICENSE"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/@spore-sdk/core?colorA=21262d&colorB=21262d&style=flat"> <img src="https://img.shields.io/npm/l/@spore-sdk/core?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License"> </picture> </a> <a href="https://www.npmjs.com/package/@spore-sdk/core"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@spore-sdk/core?colorA=21262d&colorB=21262d&style=flat"> <img src="https://img.shields.io/npm/dm/@spore-sdk/core?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Downloads per month"> </picture> </a> </p>

Intro

Spore SDK is a Web development kit for integration with Spore Protocol, an asset protocol for valuing on-chain contents, build on top of CKB. It leverages the power of Lumos to provide seamless dapp development with Spore.

Features

Documentation

For full documentation and instructions, visit docs.spore.pro.

Getting started

Create your first spore in Node.js

Follow the step-by-step tutorial to create your first spore: Creating your first Spore.

Or you can run and play with the spore-first-example on StackBlitz.

Follow the recipes

Visit the Spore Docs for more categorized and general How-to recipes.

Or study the following recipes to explore the usage of the SDK:

Building browser env dapps

The Spore SDK is built on top of Lumos, an open-source dapp framework for Nervos CKB. Lumos incorporates certain Node-polyfills into its implementation, such as crypto-browserify and buffer, to provide specific functionalities.

If you intend to use the Spore SDK in a browser environment, it's important to note that you may need to manually add Node-polyfills to your application. This ensures that the Spore SDK functions properly in the browser. For detailed instructions on how to add these polyfills, refer to the Lumos documentation: CRA, Vite, Webpack or Other.

Development

Packages & toolchains

Code references

APIs

Community

Reach out to us if you have questions about Spore Protocol:

Contributing

To contribute and assist in enhancing the Spore SDK, we welcome your pull requests:

License

MIT License