🔗Linking to an External Node
Contents
SEDA RPC Endpoints Configuring External Node
SEDA RPC Endpoints
When connecting externally, choose a trustworthy node operator. Unscrupulous operators might tamper with query outcomes or block transactions. The SEDA team currently provides the following RPC endpoint:
Mainnet RPC address:
https://rpc.mainnet.seda.xyz
Testnet RPC address:
https://rpc.testnet.seda.xyz
Configuring External Node
This section is for those linking to an external node, so if you want to run commands from your local machine, or don't feel like running a node yourself you can use the sedad
binary to connect to an external node. This can be done two ways:
Add the
--node
flag to your CLI commands, followed by the RPC endpoint in thehttps://<hostname>:<port>
format.Alternatively, tweak configurations in
client.toml
in your chain's configuration directory (default location~/.sedad/config/client.toml
):
Recommended client configuration for mainnet:
###############################################################################
### Client Configuration ###
###############################################################################
# The network chain ID
chain-id = "seda-1"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "file"
# CLI output format (text|json)
output = "text"
# <host>:<port> to CometBFT RPC interface for this chain
node = "https://rpc.mainnet.seda.xyz"
# Transaction broadcasting mode (sync|async)
broadcast-mode = "sync"
Recommended client configuration for testnet:
###############################################################################
### Client Configuration ###
###############################################################################
# The network chain ID
chain-id = "seda-1-testnet"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "file"
# CLI output format (text|json)
output = "text"
# <host>:<port> to CometBFT RPC interface for this chain
node = "https://rpc.testnet.seda.xyz"
# Transaction broadcasting mode (sync|async)
broadcast-mode = "sync"
License Contents of this repository are open source under GNU General Public License v3.0.
Last updated
Was this helpful?