1.0.17 • Published 12 months ago

@bluzelle/cli v1.0.17

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Bluzelle Command Line Interface (blzcli) that can be used to access the Bluzelle database service.

CLI Installation

yarn global add @bluzelle/cli
or
npm install -g @bluzelle/cli

Quick Start

To use the CLI against the Bluzelle testnet, you can:

1) mint an account by visiting https://client.sentry.testnet.private.bluzelle.com:1317/mint, which will provide a mnemonic and an address.

2) add a user to the your local keyring with the following command:

blzcli keys add [user] --recover

3) copy and paste your mnemonic when prompted, and press enter

4) send transactions to the Bluzelle chain with the flag --from user

Usage

blzcli

blzcli is the root command for interacting with the Bluzelle DB via CRUD commands

Use --help to get all available commands, arguments, and structure

  • Hierarchal format:
blzcli [q or tx] crud [method] (...args) (...flags)

Queries (q)

Query CRUD info from the chain

  • Query command example:
blzcli q crud read uuid myKey 
// will print the string of the value of myKey

*Note: the --node flag currently defaults to http://localhost:26657

Transactions (tx)

Send CRUD transactions to the chain

  • Tx command example:
blzcli tx crud create uuid myKey myValue 3600 --from [user]

*Note: the remaining flags currently default to:

Keys (keys)

Manage users stored on local file system

  • Keys command example:
blzcli keys add newUser
  • This will generate a new mnemonic and save newUser's info in your local file system
  • Navigate to .curium/cli in your home directory to see the encoded user info
1.0.17

12 months ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.9

2 years ago

1.0.11

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.2

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago