This step-by-step guide will help you create your first spore on CKB testnet using the SDK of Spore Protocol. To follow along, you should be familiar with basic typescript and know how to install and configure Node.js dev environment.
Ingredients
Make sure you have the following ingredients ready:
#For testnet
export API_URL=https://testnet.ckb.dev
ckb-cli account new
Get your private key with the follow command by replacing <lock-arg> with your lock_arg ☝ and <extended-privkey-path> with where you want the key to be stored on your device. We’ll need it later when constructing the transaction.
Congratulations! You've created your very first spore and preserved it for eternity on the blockchain.
In this tutorial, you learned how to:
Create a CKB address and obtain CKBytes tokens.
Set up your project with Spore Protocol SDK.
Mint your spore on-chain and verify the transaction.
You can use to create a CKB testnet address.
You can explore your options in the land of .
To create an account via ckb-cli, you need use a testnet RPC node, make sure you have git and installed. Then, in your terminal, run the following commands to install ckb-cli:
For a more detailed guide on ckb-cli setup and interaction, take a peek at the .
Head over to the
Choose your digital ingredient – an image, video, text or something else. Check and note down the of your content (e.g., image/png). Just keep it under 500KB for a successful mint.
Check your transaction on by searching for your transaction hash to see the transaction details and your Spore cell.