0.0.21 • Published 10 months ago

@scrypt-inc/cat-cli v0.0.21

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
10 months ago

Cat Cli

Installation

$ yarn install

Usage

  1. Create config.json
{
    "network": "fractal-testnet",
    "tracker": "http://127.0.0.1:3000",
    "dataDir": ".",
    "rpc": {
        "url": "http://127.0.0.1:8332",
        "username": "fractal",
        "password": "fractal"
    }
}
  1. Create wallet
yarn cmd wallet create
  1. Show address
yarn cmd wallet address
  1. Funding your address

deposit some satoshi to your address

  1. Show token balances
yarn cmd wallet balances
  1. Deploy token
  • deploy with command options:
yarn cmd deploy --name=cat --symbol=cat --decimals=0 --max=21000000 --premine=0 --limit=1000
  • deploy with a metadata json:
yarn cmd deploy --metadata=example.json

example.json:

{
    "name": "cat",
    "symbol": "cat",
    "decimals": 0,
    "max": "21000000",
    "limit": "1000",
    "premine": "0"
}
  1. Mint token
yarn cmd mint -i [tokenId] [amount?]
  1. Send token
yarn cmd send -i [tokenId] [receiver] [amount]
0.0.21

10 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago