Set BTC RPC Node

The Client will access the BTC Node and get BTC block data, such as the latest BTC block header, block body, Segwit data, and more.

There're two ways to set BTC RPC node , and they have the same result.

  1. Edit the .env file

  2. Through the "Set BTC RPC Node" menu

1. Edit the .env file

Suppose you're in the "exsat-client" folder, and had executed "cp .env.example .env", then you could edit the ".env" file. e.g, by vim.

vim .env

Please edit the "BTC_RPC_URL" item , and save it. If your BTC RPC Node needs authentication, please define the username and password.

BTC_RPC_URL=
BTC_RPC_USERNAME=
BTC_RPC_PASSWORD=

2. Through the "Set BTC RPC Node" menu

If it's the first time you're running the client, the "Set BTC RPC Node" menu will appear after you finished Set Reward Address.

If you wish to reset the BTC RPC Node, you could navigate to it by choosing:

Synchronizer/Validator -> Reset BTC RPC Node

If your BTC RPC Node needs authentication, please enter the username and password.

Last updated