Raindrops
  • 🛑!!! Deprecated !!!
  • Introduction (deprecated)
  • Description
    • Basic
    • Advanced
      • Game
      • Item
      • Player
      • Match
      • Staking
  • Quick Start
  • Concepts
    • Class Inheritance Structure
    • SFTs and Inexpensive Gaming
    • Inheritance
    • Propagation
    • Multiple Inheritance
    • Permissions
    • Propagation Permission
    • Namespaces
    • Indexing
  • Guides
    • Overview
    • Create an Item for NFT
  • Contracts
    • Overview
    • Item
      • Merklin'
      • State
      • Components
      • ItemUsages
      • Class Definition
      • Build
      • Item Activation
    • Player
      • Overview
    • Match
      • State
      • Life Cycle
      • Live Example
    • Namespace
      • Overview
    • Staking
      • Overview
Powered by GitBook
On this page
  • Install the CLI
  • Working in Developer Mode
  • Getting Help!

Quick Start

PreviousStakingNextConcepts

Last updated 2 years ago

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-node

Commands can now be run using the raindrops-cli commands

items-cli show_item_class -k <keypair> --env devnet -cp example-configs/itemClass.json

Working 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.json
npm 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.json

Getting Help!

For the time being, as this is partially a Degeniverse product and partially an open source product, you can get help from the developers in the raindrops-protocol channel of the DTP discord: .

https://discord.gg/5yjMKVbC