Blockchain Configuration
Get Blockchain Configuration
Get Blockchain Configuration
is a helper function that holds default information for commonly used Ethereum
networks 1.
NOTE
Additional networks will be added in future updates.
This function returns a Struct that contains:
2 Network's RPC URL endpoint
3 Network's name
4 Network's Chain ID
5 Network's Symbol.
We didn't provide a block explorer link as it is unlikely to be used in a final product.
Current networks supported for now are:
Ethereum
Polygon
Ropsten
Rinkeby
The Last two networks are Ethereum
test nets.
Custom Blockchain Configuration
By creating a struct inherited from TSBC_BlockchainConfig
you are able to store any other network configuration for later use. You can also use local Blockchains
like Ganache
, or private end points such as Infura
to access public and private Blockchains
.
Last updated