Spectrum is an Ethereum-compatible project. It uses a new consensus and new block reward for SmartMesh ecosystem devices and IOT. And you can view the transactions on the BlockChain Browser Address.
Since the list of signers is 17, it is recommended that the confirmation number of general transfer transaction block be set to 17 (one round), and that of exchange block be set to 34 (two rounds).
Chain(s) | CHAIN_ID |
---|---|
mainnet | 20180430 |
testnet | 2022 |
devnet | 4 |
We suggest that the GasPrice should not be less than 18Gwei, otherwise the transaction may not be packaged into the block.
Building Spectrum 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.
$ ./build/bin/smc console
Users can create new account:
> personal.newAccount()
Every node has it's own miner id, you can run getMiner() function to get that id:
> tribe.getMiner()
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")
Users can become miner by deposit smt:
> tribe.pocDeposit("account","passwd")
Users can start mining or resume it:
> tribe.pocStart("account","passwd")
Users can stop mining:
> tribe.pocStop("account","passwd")
Users can withdraw smt:
> tribe.pocWithdraw("account","passwd")
Users can input tribe to view:
> tribe
$ ./build/bin/smc security --passwd
$ ./build/bin/smc security --unlock