Difference between revisions of "TestNet"

From Mochimo Wiki
Jump to: navigation, search
(Dedicated Nodes)
m (As a trouble emerged on discord #testnet on 06/7/2021 included the resolution that came out. https://discord.com/channels/460867662977695765/521428137481994251/861625235300286494)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== TestNet Overview ==
 
== TestNet Overview ==
TestNet Operates on TCP Port 2096, which differs from the Main Net, which is port 2095.  When starting a Linux node on TestNet, please complete the following steps.  First create a file in your bin/d/ directory named "TestNodes.lst" with the following contents:
+
TestNet Operates on TCP Port 2096, which differs from the Main Net, which is port 2095.  When starting a Linux node on TestNet, please complete the following steps.  First modify the coreip.lst file in the bin/ directory to be as below:
  
 
  217.160.249.155
 
  217.160.249.155
Line 9: Line 9:
 
Then we recommend you use the following startup line from the bin/ directory:
 
Then we recommend you use the following startup line from the bin/ directory:
  
  ./gomochi d -p2096 -cTestNodes.lst -q2 -D &
+
  ./gomochi d -p2096 -ccoreip.lst -q2 -D &
  
 
== List of Testnet Resources ==
 
== List of Testnet Resources ==
Line 19: Line 19:
 
testnet-2.mochimo.com<BR>
 
testnet-2.mochimo.com<BR>
 
testnet-3.mochimo.com<BR>
 
testnet-3.mochimo.com<BR>
testnet-4.mochimo.com<BR><BR>
+
testnet-4.mochimo.com<BR>
  
 
===== Block Explorer =====
 
===== Block Explorer =====
  
 
TestNet has a dedicated block explorer for viewing live blocks on the network.  You can find the testnet BX at: http://testnet-bx.mochimo.com
 
TestNet has a dedicated block explorer for viewing live blocks on the network.  You can find the testnet BX at: http://testnet-bx.mochimo.com
 +
 +
===== Mochimap Visualization For TestNet =====
 +
 +
TestNet has a dedicated visualizer so that shows you a graphical representation of the network / network health.  You can find the TestNet Mochimap at: http://testnet.mochimap.net
  
 
===== Backend API =====
 
===== Backend API =====
  
The TestNet API has the same features and functions as the Main Net API.  Please see the [[MOCHIMO_API|MOCHIMO_API]] page for detailed guide.
+
The TestNet API has the same features and functions as the Main Net API.  Please see the [[Mochimo_API|MOCHIMO_API]] page for detailed guidance.
  
 
The Public TestNet API is available at http://testnet-api.mochimo.com:8888
 
The Public TestNet API is available at http://testnet-api.mochimo.com:8888

Latest revision as of 15:48, 6 July 2021

TestNet Overview

TestNet Operates on TCP Port 2096, which differs from the Main Net, which is port 2095. When starting a Linux node on TestNet, please complete the following steps. First modify the coreip.lst file in the bin/ directory to be as below:

217.160.249.155
82.223.196.218
74.208.137.73
213.171.215.12

Then we recommend you use the following startup line from the bin/ directory:

./gomochi d -p2096 -ccoreip.lst -q2 -D &

List of Testnet Resources

Dedicated Nodes

The following four nodes are dedicated for transaction relaying and solving. Note they are CPU nodes only, so the TestNet difficulty is low (15-19) most of the time unless someone runs it up with a GPU rig.

testnet-1.mochimo.com
testnet-2.mochimo.com
testnet-3.mochimo.com
testnet-4.mochimo.com

Block Explorer

TestNet has a dedicated block explorer for viewing live blocks on the network. You can find the testnet BX at: http://testnet-bx.mochimo.com

Mochimap Visualization For TestNet

TestNet has a dedicated visualizer so that shows you a graphical representation of the network / network health. You can find the TestNet Mochimap at: http://testnet.mochimap.net

Backend API

The TestNet API has the same features and functions as the Main Net API. Please see the MOCHIMO_API page for detailed guidance.

The Public TestNet API is available at http://testnet-api.mochimo.com:8888

Here's a quick reference for some of our TestNet API Endpoints:

Endpoint Description
/net/balance/[WOTS] balance of the address from the network
/net/resolve/[tag] resolve the address attached to the tag from the network
/net/nodes all network nodes
/net/chains all chains/subnetworks
/net/chain main chain/subnetwork
/bc/balance/[WOTS] balance of the address from the local blockchain
/bc/resolve/[tag] resolve the address attached to the tag from the blockchain
/bc/block/[block number] details of the block
/bc/raw/[block number] download block
/balance/[WOTS] balance of the address from network and local blockchain
/resolve/[tag] resolve the address attached to the tag from network and local blockchain
/push push a transaction to the network. POST {"transaction": [base64 encoded transaction], "recipients": [number of nodes to send the transaction to (optional)]}