🔗
Connecting to Taraxa
Talking to the Taraxa Network via RPC
There are two ways to connect to Taraxa's network,
- Via dev-deployed RPC endpoints
- Via your own mainnet / testnet nodes
Since Taraxa's network is almost 100% ETH-compatible, you can simply follow Ethereum's JSON-RPC documentation.
There are a few minor exceptions and quirks to Taraxa's ETH-compatibility, you can find them in our full RPC specification.
You may use the RPC endpoints provided by Taraxa's core development team. Right now these are being provided as is and free of charge, this may change later of course with plenty of notice given to the community.
You could also set up your own nodes on the Mainnet or Testnet. This give you a lot of flexibility in working with your DApp.
If these nodes are being used primarily for RPC connections, they do NOT need to participate in consensus. Therefore there is no need to register them on the community site, or seek delegation for the mainnet nodes.
Here are node setup instructions,
The default RPC port on the Taraxa node is "7777". So if you're running this on your own node on the node's local machine, you'd send the RPC request to
localhost:7777
.
Last modified 4mo ago