3.2.79 • Published 4 years ago

int-cli v3.2.79

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

INT Chain

Official Node.js implementation of the INT Chain protocol.

Environment dependence

Building int requires a version 8 Node.js (version 8.9 or later of version 8). You can install it from Node.js official website(https://nodejs.org/en/download/).

Installation Instructions

(1) Clone the repository to a directory of your choosing

git clone https://github.com/intfoundation/int

(2) entry into the first level of int project.

cd .../int

(3) install node_modules of int project dependency.

npm install

Start a miner

node src/tool/startDMiner.js --minerSecret ... --coinbase ... .......

options:
    --minerSecret                    It's required to give signature to block
    --coinbase                       It's required to receive block reward.
                                     Please keep the private key of the coinbase, do not tell others.
    --blocklimit                     The max sum of transactions limit in a block. 
                                     Max value is 80000000,and default value is 20000000.
    --port                           Network communication port of P2P,default value is 8553|8554.
    --loggerLevel                    The log leverl [all, trace, debug, info, warn, error, off]
    --hander                         The location of the handler file, which is the entry of the chain handler

Start a peer

node src/tool/startDPeer.js .......

options:
    --test                           Connect the test net
    --main                           Connect the main net
    --dataDir                        Data storage location
    --loggerConsole                  Print log or not
    --loggerLevel                    The log leverl [all, trace, debug, info, warn, error, off]
    --rpchost                        The host that peer can communicate by RPC,defaut value is localhost
    --rpcport                         The RPC server port,default value is 8555

INT Chain CLI

The INT Chain Command Line Interface.


Installation

Globally

Install INT CLI globally with

$ npm install -g int-cli

Now you can run INT CLI using following command anywhere

$ int-cli

Locally

Install INT CLI to your node_modules folder with

$ npm install --save int-cli

Now you can run INT CLI using following command

$ node_modules/.bin/int-cli

Usage

INT CLI  [ Node: 8.x.x, CLI: 3.0.x]

Options:
    --version                        Print INT Chain version
    --help                           Show help
    --test                           Connect the test net
    --main                           Connect the main net
    --loggerConsole                  Print log or not
    --loggerLevel                    The log leverl [all, trace, debug, info, warn, error, off]
    --rpchost                        The host that peer can communicate by RPC,defaut value is localhost
    --rpcpot                         The RPC server port,default value is 8555
    
3.2.79

4 years ago

3.2.78

5 years ago

3.2.76

5 years ago

3.2.75

5 years ago

3.2.74

5 years ago

3.1.73

5 years ago

3.0.73

5 years ago

3.0.72

5 years ago

3.0.71

5 years ago

3.0.69

5 years ago

3.0.68

5 years ago

3.0.67

5 years ago

3.0.66

5 years ago

3.0.63

5 years ago

3.0.62

5 years ago

3.0.61

5 years ago

3.0.60

5 years ago

3.0.59

5 years ago

3.0.58

5 years ago

3.0.56

5 years ago

3.0.55

5 years ago

3.0.54

5 years ago

3.0.53

5 years ago

3.0.52

5 years ago

3.0.51

5 years ago

3.0.50

5 years ago

3.0.49

5 years ago

3.0.48

5 years ago

3.0.47

5 years ago

3.0.46

5 years ago

3.0.45

5 years ago

3.0.44

5 years ago

3.0.43

5 years ago

3.0.42

5 years ago

3.0.41

5 years ago

3.0.40

5 years ago

3.0.39

5 years ago

3.0.38

5 years ago

3.0.37

5 years ago

3.0.36

5 years ago

3.0.35

5 years ago

3.0.34

5 years ago

3.0.33

5 years ago

3.0.32

5 years ago

3.0.31

5 years ago

3.0.30

5 years ago

3.0.29

5 years ago

3.0.28

5 years ago

3.0.27

5 years ago

3.0.26

5 years ago

3.0.24

5 years ago

3.0.23

5 years ago

3.0.22

5 years ago

3.0.21

5 years ago

3.0.20

5 years ago

3.0.19

5 years ago

3.0.18

5 years ago

3.0.17

5 years ago

3.0.16

5 years ago

3.0.15

5 years ago

3.0.13

5 years ago

3.0.12

5 years ago

3.0.11

5 years ago

3.0.10

5 years ago

3.0.8

5 years ago

3.0.7

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

6 years ago

3.0.0

6 years ago