Network Configurations#
This is the information required to run a node or to develop on the different Flare networks:
- Flare is the main network.
- Songbird is the canary network, used for testing features under “real fire” conditions, before deploying them on the main network.
- Coston is Songbird's public test network.
- Coston2 is Flare's public test network.
Configuration Values#
Flare | Songbird | Coston | Coston2 | |
---|---|---|---|---|
Chain ID | 14 | 19 | 16 | 114 |
Asset Ticker | FLR |
SGB |
CFLR |
C2FLR |
RPC endpoint BETA |
flare-api | songbird-api | coston-api | coston2-api |
Rosetta API | flare-rosetta | - | - | - |
Block Explorer | flare-explorer | songbird-explorer | coston-explorer | coston2-explorer |
Test Faucet | - | - | coston-faucet | coston2-faucet |
All RPC endpoints are rate-limited to avoid spamming attacks.
Beta
Please note that the offered public RPC endpoints are in an experimental phase and might suffer unexpected downtime.
Sample query
curl -s -m 10 --request POST 'https://flare-api.flare.network/ext/C/rpc' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params":[],
"id":1
}'
Returns the chain height, which should look something like:
{"jsonrpc":"2.0","id":1,"result":"0x103384"}
Additional Notes#
- Address derivation and format validation are the same as on Ethereum.
The recommended BIP paths are
m/44’/60’/x’/0/0
(hardened) andm/44’/60’/0’/0/x
. - JavaScript API Docs: https://web3js.readthedocs.io/en/v1.3.4/
- Running a Node: https://github.com/flare-foundation/flare
RPC Nodes for Connected Chains#
Along with the endpoints listed above to interact with its own networks, Flare offers public RPC nodes for a series of other blockchain networks, to bootstrap development of connected services like attestation providers.
Beta
Please note that the offered public RPC endpoints are in an experimental phase and might suffer unexpected downtime.
RPC endpoint: https://bitcoin-api.flare.network
Sample query
curl -s -X POST -m 10 -H "Content-type: application/json" \
-d '{"jsonrpc": "1.0", "id":"hc", "method": "getblockchaininfo", "params":[]}' \
-u public:d681co1pe2l3wcj9adrm2orlk0j5r5gr3wghgxt58tvge594co0k1ciljxq9glei \
https://bitcoin-api.flare.network | jq
RPC endpoint: https://litecoin-api.flare.network
Sample query
curl -s -X POST -m 10 -H "Content-type: application/json" \
-d '{"jsonrpc": "1.0", "id":"hc", "method": "getblockchaininfo", "params":[]}' \
-u public:ntvzi4i1yne499t7vcdjqhhp92m3jvm0bb6dkpr406gkndvuns9sg6th3jd393uc \
https://litecoin-api.flare.network | jq
RPC endpoint: https://dogecoin-api.flare.network
Sample query
curl -s -X POST -m 10 -H "Content-type: application/json" \
-d '{"jsonrpc": "1.0", "id":"hc", "method": "getblockchaininfo", "params":[]}' \
-u public:6r1e5z3w9g6qruvkzkqvz8w67yqrq5js2cmyl2f1cncbp7gpp7tqixqskuub5v70 \
https://dogecoin-api.flare.network | jq
RPC endpoint: https://xrpl-api.flare.network
Sample query
curl -s -X POST -m 10 -H "Content-type: application/json" \
-d '{"method": "server_info", "params":[{"api_version": 1}]}' \
https://xrpl-api.flare.network | jq
RPC endpoint: https://algorand-api.flare.network
Sample query
curl -s -m 10 \
-H "X-Algo-API-Token: zl748k3wddvld8cvn64utnslbf7otorkijp84se0f58pmuu0shgm27gttpcjpmuq" \
https://algorand-api.flare.network/v2/status | jq
RPC endpoint: https://ethereum-api.flare.network/
Sample query
curl -s -X POST -m 10 -H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id":67, "method":"eth_blockNumber", "params":[]}' \
https://ethereum-api.flare.network | jq