Coder Social home page Coder Social logo

inc-scripts's Introduction

scripts

Incognito Chain Dev Scripts

oclif Version Downloads/week License

Usage

$ npm install -g scripts
$ incognitochain-scripts COMMAND
running command...
$ incognitochain-scripts (-v|--version|version)
scripts/1.0.0 linux-x64 node-v16.3.0
$ incognitochain-scripts --help [COMMAND]
USAGE
  $ incognitochain-scripts COMMAND
...

Commands

incognitochain-scripts balance

Display balances for a list of private keys

USAGE
  $ incognitochain-scripts balance

OPTIONS
  -e, --endpoint=endpoint  node ip:port to connect to
  -f, --file=file          File name for data
  -r, --reset              activate to re-sync UTXOs for this token (default: false)
  -t, --token=token        Token ID (default: <PRVID>)
  --fee=fee                user-specified fee (must be number)

DESCRIPTION
  ...
       keys are read from the input .csv sheet (--file)

See code: src/commands/balance.ts

incognitochain-scripts contribute

Contribute PRV or token to pDex

USAGE
  $ incognitochain-scripts contribute

OPTIONS
  -a, --amount=amount          Amount to contribute
  -e, --endpoint=endpoint      node ip:port to connect to
  -i, --pairID=pairID          Pair ID to contribute
  -p, --privateKey=privateKey  Private Key to sign TX (default: PRIVATE_KEY environment variable)
  -r, --reset                  activate to re-sync UTXOs for this token (default: false)
  -t, --token=token            Token ID (default: <PRVID>)
  --fee=fee                    user-specified fee (must be number)

DESCRIPTION
  ...
       check your pair ID carefully before creating TX

See code: src/commands/contribute.ts

incognitochain-scripts gather

Send all PRV or token from multiple owned accounts to one

USAGE
  $ incognitochain-scripts gather

OPTIONS
  -e, --endpoint=endpoint  node ip:port to connect to
  -f, --file=file          File name for data
  -r, --reset              activate to re-sync UTXOs for this token (default: false)
  -t, --token=token        Token ID (default: <PRVID>)
  --fee=fee                user-specified fee (must be number)

DESCRIPTION
  ...
       sender keys & payment infos are read from the input .csv sheet (--file)

See code: src/commands/gather.ts

incognitochain-scripts help [COMMAND]

display help for incognitochain-scripts

USAGE
  $ incognitochain-scripts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

incognitochain-scripts send

Send PRV or token to a list of receivers

USAGE
  $ incognitochain-scripts send

OPTIONS
  -e, --endpoint=endpoint      node ip:port to connect to
  -f, --file=file              File name for data
  -p, --privateKey=privateKey  Private Key to sign TX (default: PRIVATE_KEY environment variable)
  -r, --reset                  activate to re-sync UTXOs for this token (default: false)
  -t, --token=token            Token ID (default: <PRVID>)
  --fee=fee                    user-specified fee (must be number)

DESCRIPTION
  ...
       payment infos are read from the input .csv sheet (--file)

See code: src/commands/send.ts

incognitochain-scripts stake

Send staking transactions using a list of sender private keys

USAGE
  $ incognitochain-scripts stake

OPTIONS
  -e, --endpoint=endpoint  node ip:port to connect to
  -f, --file=file          File name for data
  -r, --reset              activate to re-sync UTXOs for this token (default: false)
  --fee=fee                user-specified fee (must be number)
  --[no-]restake           Auto-restaking toggle (default: true)
  --[no-]stakeBeacon       WIP - activate when staking in beacon chain, as opposed to shard chain (default: false)

DESCRIPTION
  ...
       keys are read from the input .csv sheet (--file)

See code: src/commands/stake.ts

incognitochain-scripts withdraw-reward

Withdraw the reward from your validator key list

USAGE
  $ incognitochain-scripts withdraw-reward

OPTIONS
  -e, --endpoint=endpoint  node ip:port to connect to
  -f, --file=file          File name for data
  -r, --reset              activate to re-sync UTXOs for this token (default: false)
  -t, --token=token        Token ID (default: <PRVID>)
  --fee=fee                user-specified fee (must be number)

DESCRIPTION
  ...
       private keys are read from the input .csv sheet (--file)

See code: src/commands/withdraw-reward.ts

inc-scripts's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.