Socket
Book a DemoInstallSign in
Socket

@scrypt-inc/cat-cli

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypt-inc/cat-cli

## Installation

latest
npmnpm
Version
0.0.21
Version published
Maintainers
0
Created
Source

Cat Cli

Installation

$ yarn install

Usage

  • 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"
    }
}
  • Create wallet
yarn cmd wallet create
  • Show address
yarn cmd wallet address
  • Funding your address

deposit some satoshi to your address

  • Show token balances
yarn cmd wallet balances
  • 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"
}
  • Mint token
yarn cmd mint -i [tokenId] [amount?]
  • Send token
yarn cmd send -i [tokenId] [receiver] [amount]

FAQs

Package last updated on 04 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts