Skip to main content

Dev Network

This article will describe how to debug local applications by connecting to the PlatON DevNet(development Network).

How to access the dev network to debug local applications?#

Step 1: Connect to the DevNet via RPC address# or ws://  or ws:// or ws://

Access method 1: Connect to the DevNet via the local PlatON node#

on the ubuntu 18.04 server, download and install the PlatON binary with the following command:

sudo wget -P /usr/bin    

Connect to the development network by.

platon attach

Access method 2: Connect to the PlatON DevNet through the SDKs#

  • Use the Java SDK to connect to the DevNet, for example, as follows.
Web3j platonWeb3j = HttpService(""));
  • Use Python SDK to access the DevNet, the example is as follows.
w3 = Web3(HTTPProvider(""))
  • Use JS SDK to access the DevNet, the example is as follows.
var Web3 = require('web3');var web3 = new Web3('');
  • Using JSON RPC to access the DevNet, the example is as follows.
curl -X POST -H 'content-type: application/json' --data '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params":[], "id":67}'

Not limited to the above language SDKs, you also have access through SDKs in other languages.

Step 2: Apply for DevNet Test Token#

Click faucet to receive the Test Token. If you have a large Test Token request, please send an email to using the following format.

 Title: PlatON Development Network Token Request Your Name: Contact information: Wechart ID (or other instant messaging software) Amount: Use: Receiving addressA: Remarks:

After successfully accessing the DevNet, you can send transactions after completing the test Token collection to start your test journey and can check the transactions in DevNet Browser.

How to deploy a devnet node?#

If you want to deploy a DevNet verification node, please refer to Run a dev node.