Introduction: Bytom 2.0 Testnet Construction

BytomDAO
BytomDAO
Published in
2 min readJul 5, 2021

1. Download the package

Click here to download: https://bycoin.oss-cn-shanghai.aliyuncs.com/bytom2.0/bytomd.zip

Choose different packages according to different systems

Taking windows as an example, other systems are similar

2. Initialize the node

Start Bytomd.exe through the command line and use the init command to initialize the node

Bytomd.exe init --chain_id testnet 【--home bytom_home are optional, if you do not specify, it will go the default path】

【mainnet】:Currently not released, unable to connect

【testnet】

【solonet】

pubkey=f8cbc157770716ba756ecfe1008930d4b67c33f283d1e9d560b485540aceef2dfe85c2f566a8904dadabe985ec4838784749d54275eb7378062c43ec7d488019

Note that when initializing, record the publickey, and you need to configure this parameter for later mining

here it is:

pubkey=f8cbc157770716ba756ecfe1008930d4b67c33f283d1e9d560b485540aceef2dfe85c2f566a8904dadabe985ec4838784749d54275eb7378062c43ec7d488019

The initialization is succeded. If you do not specify a directory, the related block data will be stored in the default path:

  • The target directory for Windows users is as follows‘%APPDATA%/Roaming/Bytom’
  • The target directory for Mac users is as follows‘~/Library/*Application Support/Bytom’
  • The target directory for Linux users is as follows‘~/.bytom’

3. Run the node

Start Bytomd.exe through the command line, use the node command to start the node

Bytomd.exe node 【--home bytom_homeare optional, if you do not specify, it will go the default path】

After startup, the wallet page will automatically pop up in the browser, indicating that the startup is succeded

The default dashboard page is: http://127.0.0.1:9888/

4. Create wallet

Create Bytom 2.0 wallet through dashboard, select “Create Wallet” — Set up initial account and private key — Wallet is initialized successfully

You can view the number of connections and block synchronization. If the number of connections is more than 0 and the block is synchronized, you have successfully joined the testnet.

5. Get votes

Provide the public key to Bytom official to get votes, participate in the test and add WeChat: keduo7151, remarks: Bytom2.0 testnet

6, Start block production

Click “Settings” — Click “Core state”

Turn on Block Production.

After you get the vote, you can produce the block.

You can check that there are mining, transactions and a balance is generated.

--

--