Skip to content

MeshBoxTech/mesh-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mesh-chain

mesh-chain is an Spectrum-compatible project. It uses a new consensus and new block reward for meshbox ecosystem(Note: mesh-chain require SMT as gas and the reward is MESH).

Since the list of signers is 21, it is recommended that the confirmation number of general transfer transaction block be set to 21 (one round), and that of exchange block be set to 42 (two rounds).

List of ERC-20 Token's:

Name(s) Address
SMT 0x0000000000000000000000000000000000001000
MESH 0x0000000000000000000000000000000000002000

List of Chain ID's:

Chain(s) CHAIN_ID
mainnet 20220430
testnet 2023

Warning

We suggest that the GasPrice should not be less than 18Gwei, otherwise the transaction may not be packaged into the block.

Build the source

Building mesh-chain requires both a Go (version 1.15 or later) and a C compiler. You can install them using your favourite package manager. And you can view the detail installation and running steps on this page.

Init node

$ ./build/bin/smc init genesis.json

Run node

$ ./build/bin/smc console

Create new account

Users can create new account:

> personal.newAccount()

Get your own miner info

Every node has it's own miner id, you can run getMiner() function to get that info:

> tribe.getMiner() 

Bind your own miner id to wallet address

Users can bind their miner ID to a wallet address:

> tribe.bind("account","passwd") 

Or Users can only generate binding signatures at the terminal:

> tribe.bindSign("account") 

Get Validators

Users can view the latest list of validators:

> tribe.getValidators()

Security-related

Encrypt your nodekey

 $ ./build/bin/smc security --passwd

Decrypt your nodekey

 $ ./build/bin/smc security --unlock

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors