Command line tool
Installation
Make sure you have Node.js installed
Install Asteroid Protocol CLI from https://www.npmjs.com/package/@asteroid-protocol/sdk
npm i @asteroid-protocol/sdk
Setup account - create
asteroid.json
file and update account1 mnemonic to your account{ "accounts": { "account1": { "mnemonic": "" } } }
Inscribe multiple inscriptions
Create multiple standalone inscriptions or add multiple inscriptions to a collection, see example of the required csv format and folder structure here
Create folder
Add
metadata.csv
and imagesRun command
inscribe-csv
command in the folderStandalone inscriptions command:
npx asteroid inscription inscribe-csv -p ./metadata.csv --account account1 --network mainnet
Collection inscriptions:
npx asteroid inscription inscribe-csv -c $collectionHash -p ./metadata.csv --account account1 --network mainnet
Last updated