πŸ”Exchange Integration

This document describes how you can add Taraxa's native token, TARA, to a crypto exchange.

Node Setup

Taraxa Nodes are of three types:

1. Boot Nodes
2. Consensus Nodes
3. RPC Nodes

To connect to the Taraxa chain you can use either a Consensus Node or a RPC Node.

Boot Nodes don't have a RPC interface.

Consensus Nodes also participate in securing the network and need stake so we recommend setting up a couple of RPC Nodes.

Setting up your own node

The simplest way to set up a Taraxa Node inside your own infrastructure is to use the official Docker Imagesarrow-up-right we provide for the mainnet version. Docker will also make sure that the node gets restarted if it crashes.

We highly recommend setting up more than one instance of the Taraxa Node for reliability.

Using our RPC endpoint

For testing purposes or a small number of requests you can also use our RPC endpoint:

https://rpc.mainnet.taraxa.ioarrow-up-right

Interacting with the JSON-RPC endpoint

The Taraxa Chain is compatible with the Ethereum chain. That means that most default Ethereum RPC requests will work on Taraxa.

You can follow the Ethereum JSON-RPC documentation here:

https://ethereum.org/en/developers/docs/apis/json-rpc/arrow-up-right

The compatibility with Ethereum means that almost all tools from the Ethereum ecosystem work with Taraxa. You can use, for example, Web3.jsarrow-up-right, ethers.jsarrow-up-right and Web3.pyarrow-up-right to connect to and interact with the Taraxa Network.

Setting up Deposit Accounts

Setting up accounts for each user is pretty simple. You can use a variety of tools to generate the accounts. Depending on your security requirements, you may also want to use encrypted wallets / keyfiles.

Checking Deposits

Once you have a list of accounts that you need to watch, we can have a service that parses each block and checks for deposits to those addresses.

Example using ethers.js

Sending Transactions

Last updated