Cat Cli
Installation
$ yarn install
Usage
{
"network": "fractal-testnet",
"tracker": "http://127.0.0.1:3000",
"dataDir": ".",
"rpc": {
"url": "http://127.0.0.1:8332",
"username": "fractal",
"password": "fractal"
}
}
yarn cmd wallet create
yarn cmd wallet address
deposit some satoshi to your address
yarn cmd wallet balances
- 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"
}
yarn cmd mint -i [tokenId] [amount?]
yarn cmd send -i [tokenId] [receiver] [amount]