TestNet

From Mochimo Wiki
Revision as of 23:33, 11 March 2021 by Mochimowiki (talk | contribs) (Created page with "== 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 REALLY low 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

Backend API

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

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

The backend API features can be explored with the standard help flag:
java -jar api.jar -h

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)]}