Join Seele TestNet¶
Steps to join Seele Test Network¶
Notes: you should use the testnet1.1 branch for joining testNet. ``git checkout testnet1.1``
1. Pick some seele test network nodes¶
Go to http://seelemonitor.net and select any Shard number in the left
sidebar, then select any IP address from the NodeName (form:
seele_node_ip) list. Replace the staticNodes field in node1.json with
the new IP address. The file node1.json is located in
/go-seele/cmd/node/config/
node1.json Fragment:
··· ···
"p2p": {
"privateKey":"0xf65e40c6809643b25ce4df33153da2f3338876f181f83d2281c6ac4a987b1479",
"staticNodes": ["ip:8057","ip1:8057"],
"address": "0.0.0.0:8057",
"networkID": 1
}
··· ···
Each ip address in staticNodes should follow the “ip:port” format. If it is not just one, the format [“ip:port1”, “ip:port2”…] should be followed.
In this step, all you have to do is change this line “staticNodes”: [“ip:8057”,“ip1:8057”].
2. Change the accounts.json¶
The file accounts.json is also located in /go-seele/cmd/node/config/
accounts.json:
{
"0x7c00f5a4312a6a3e458a07c2d650ce13c76b68b1": 3500000000000000,
"0xc910e52e3a314c93fdf545b88d264f39becb8d41": 3500000000000000,
"0x0da9e37ae719fd154e301d4bfe1aa0e0a267a161": 3500000000000000,
"0xff0fb1e59e92e94fac74febec98cfd58b956fa61": 3500000000000000,
"0x4b1c19171d2986881556164991d7a55cd758abf1": 3500000000000000,
"0xc025f53a0fbdc557acdab5aa38d314d30ae42381": 3500000000000000,
"0x5e13582c776e1849829d6b8da04765b54a78c3d1": 3500000000000000,
"0x636cac3eb3e2600a16b25f0cc9b276c15c623501": 3500000000000000,
"0xe99137ef74ceac1e58a3a879a3adae62defc8de1": 3500000000000000,
"0xa6228384fa14d77b1cd268bdd21afe964101d711": 3500000000000000,
"0xf5508467c49ca6488e46633179342342af312321": 3500000000000000,
"0x84419d91c2f6b51034f5dcf17b9599a0e01f0d91": 3500000000000000,
"0x49d989c2e39cbe1aebab6adaf6cb68ad48cb4b11": 3500000000000000,
"0x6bc4f9892d95b4e92d1f7d0c84de2468a8725a81": 3500000000000000,
"0x8efbb6aa04ca7a660c92365e8adab39a6b2e97f1": 3500000000000000,
"0x8c04da4168cf8bc4cc0a06d5b5300f9e60f516e1": 3500000000000000,
"0xdb96b3e82dd5fe00f341de7ab7dcfb08c5cc1711": 3500000000000000,
"0x6ecd06e8591ac2c0a3daf3bfeab20d87b4931551": 3500000000000000,
"0xc35a4c52a837d9f6d1fd9b346f323acde98d4621": 3500000000000000,
"0x878d923de66edbf93416532cd54392eeb20a5d71": 3500000000000000
}
In this step, you must replace accounts.json with all of the above.
3. Join to Seele Test Network¶
After editing is complete, you need to use the flag -c and –accounts to
start seele node in command.
node start -c .\config\node1.json --accounts .\config\accounts.json
For detailed usage, please see Getting Started with Seele.