3.2.79 • Published 6 years ago

int-cli v3.2.79

Weekly downloads
1
License
MIT
Repository
github
Last release
6 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

6 years ago

3.2.78

6 years ago

3.2.76

6 years ago

3.2.75

6 years ago

3.2.74

6 years ago

3.1.73

6 years ago

3.0.73

6 years ago

3.0.72

6 years ago

3.0.71

6 years ago

3.0.69

6 years ago

3.0.68

6 years ago

3.0.67

6 years ago

3.0.66

6 years ago

3.0.63

6 years ago

3.0.62

6 years ago

3.0.61

6 years ago

3.0.60

7 years ago

3.0.59

7 years ago

3.0.58

7 years ago

3.0.56

7 years ago

3.0.55

7 years ago

3.0.54

7 years ago

3.0.53

7 years ago

3.0.52

7 years ago

3.0.51

7 years ago

3.0.50

7 years ago

3.0.49

7 years ago

3.0.48

7 years ago

3.0.47

7 years ago

3.0.46

7 years ago

3.0.45

7 years ago

3.0.44

7 years ago

3.0.43

7 years ago

3.0.42

7 years ago

3.0.41

7 years ago

3.0.40

7 years ago

3.0.39

7 years ago

3.0.38

7 years ago

3.0.37

7 years ago

3.0.36

7 years ago

3.0.35

7 years ago

3.0.34

7 years ago

3.0.33

7 years ago

3.0.32

7 years ago

3.0.31

7 years ago

3.0.30

7 years ago

3.0.29

7 years ago

3.0.28

7 years ago

3.0.27

7 years ago

3.0.26

7 years ago

3.0.24

7 years ago

3.0.23

7 years ago

3.0.22

7 years ago

3.0.21

7 years ago

3.0.20

7 years ago

3.0.19

7 years ago

3.0.18

7 years ago

3.0.17

7 years ago

3.0.16

7 years ago

3.0.15

7 years ago

3.0.13

7 years ago

3.0.12

7 years ago

3.0.11

7 years ago

3.0.10

7 years ago

3.0.8

7 years ago

3.0.7

7 years ago

3.0.6

7 years ago

3.0.5

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago