Quick Start
Install the CLI
To install the CLI at your global level and not tinker with the code directly, use:
npm install -g raindrops-cli
npm install -g ts-nodeCommands can now be run using the raindrops-cli commands
items-cli show_item_class -k <keypair> --env devnet -cp example-configs/itemClass.jsonWorking in Developer Mode
If you want to work with the codebase to make updates and interact with the contracts you can clone the github repo and run yarn watch from the js folder or use ts-node to execute client scripts directly without transpiling typescript to javascript.
npm install -g ts-node
ts-node js/src/cli/item.ts show_item_class -k <keypair> --env devnet -cp js/example-configs/item/itemClass.jsonnpm install -g yarn
cd js
yarn
yarn watch # From another terminal (command takes over the current terminal)
node build/cli/item.js show_item_class -k <keypair> --env devnet -cp example-configs/item/itemClass.jsonGetting Help!
Last updated