0.4.5 • Published 5 years ago

@yggdrash/cli v0.4.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

YGGDRASH CLI

YGGDRASH CLI allows you to communicate with a remote or local node and carry out YGGDRASH-related functionality using an interactive or non-interactive command line tool.

Requirements

Docs

Installation

$ yarn global add @yggdrash/cli

Method

Wallet

  • new - Generate account
  • import - Import account
  • export - Export account
  • getAccounts - Account list
  • getAccount - View specific account
  • admin - Admin account
  • clear - Clear account

Node Control

The node control is only available in the admin account.

  • build
  • start
  • status
  • stop

STEM(soon)

  • plant - Transactions that register a branch with the stem

Branch

  • init - Create a seed file and a contract template
  • build - Build the created contract and create a branch file.
  • deploy - Deploy to node
  • list - View branch
  • set - Checked out branch
  • status - View current branch

Transaction

  • transfer - Asset transfer
  • transferFrom - Set up the account to be transferred and transfer it.
  • approve - In my account, grant some rights to the amount of money available to a particular account.

Query

  • balanceOf - Account Balance Display
  • specification - It shows the specification of the branch.
  • totalSupply - Show the total supply of the branch.
  • allowance - It is possible to see how much the owner gave the quota to a particular address.

Usage

Interactive use

$ ygg console
                           __                __
    __  ______ _____ _____/ /________ ______/ /_
   / / / / __ `/ __ `/ __  / ___/ __ `/ ___/ __ \
  / /_/ / /_/ / /_/ / /_/ / /  / /_/ (__  ) / / /
  \__, /\__, /\__, /\__,_/_/   \__,_/____/_/ /_/
 /____//____//____/

ygg> 

Non-Interactive use (recommended)

$ ygg <command> [options]

License

This project is licensed under the MIT License.

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.1

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.4.0

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.0.16

5 years ago

0.0.16-beta.1

5 years ago

0.0.15-beta.2

5 years ago

0.0.15-beta.1

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago