Update readme

This commit is contained in:
Andrew Cravenho 2018-09-24 21:32:04 -04:00
parent fdf877164b
commit c62e6b62eb
1 changed files with 24 additions and 3 deletions

View File

@ -127,14 +127,35 @@ root_block_size = 120
## Defining Chains/Adding Chains
The default of this repo is to build infra for the `sokol` chain, but you may not want that, or want a different set, so you need to
create/edit `terraform.tfvars` or `user.auto.tfvars` and add the following configuration:
`cp terraform.tfvars.example terraform.tfvars` and edit the following configuration:
```terraform
chains = {
"mychain" = "url/to/endpoint"
"sokol" = "https://sokol.poa.network"
}
chain_trace_endpoints = {
"mychain" = "url/to/debug/endpoint/or/the/main/chain/endpoint"
"sokol" = "https://sokol-trace.poa.network"
}
chain_ws_endpoints = {
"sokol" = "wss://sokol-ws.poa.network/ws"
}
chain_logo = {
"sokol" = "/images/sokol_logo.svg"
}
chain_css_file = {
"sokol" = "sokol_variables"
}
chain_check_origin = {
"sokol" = "['//*.blockscout.com']"
}
chain_coin = {
"sokol" = "POA"
}
chain_network = {
"sokol" = "POA Network"
}
chain_subnetwork = {
"sokol" = "Sokol Testnet"
}
```