Fix readme with proper kovan example
This commit is contained in:
12
README.adoc
12
README.adoc
@@ -68,6 +68,8 @@ proxy:
|
|||||||
routes:
|
routes:
|
||||||
- id: eth
|
- id: eth
|
||||||
blockchain: ethereum
|
blockchain: ethereum
|
||||||
|
- id: kovan
|
||||||
|
blockchain: kovan
|
||||||
- id: btc
|
- id: btc
|
||||||
blockchain: bitcoin
|
blockchain: bitcoin
|
||||||
|
|
||||||
@@ -81,6 +83,14 @@ cluster:
|
|||||||
url: "https://mainnet.infura.io/v3/${INFURA_USER}"
|
url: "https://mainnet.infura.io/v3/${INFURA_USER}"
|
||||||
ws:
|
ws:
|
||||||
url: "wss://mainnet.infura.io/ws/v3/${INFURA_USER}"
|
url: "wss://mainnet.infura.io/ws/v3/${INFURA_USER}"
|
||||||
|
- id: infura-kovan
|
||||||
|
chain: kovan
|
||||||
|
connection:
|
||||||
|
ethereum:
|
||||||
|
rpc:
|
||||||
|
url: "https://kovan.infura.io/v3/${INFURA_USER}"
|
||||||
|
ws:
|
||||||
|
url: "wss://kovan.infura.io/ws/v3/${INFURA_USER}"
|
||||||
- id: bitcoin-main
|
- id: bitcoin-main
|
||||||
chain: bitcoin
|
chain: bitcoin
|
||||||
connection:
|
connection:
|
||||||
@@ -98,7 +108,7 @@ Which sets the following:
|
|||||||
** TLS security is disabled (_please don't use in production!_)
|
** TLS security is disabled (_please don't use in production!_)
|
||||||
- JSON RPC access through 0.0.0.0:8545
|
- JSON RPC access through 0.0.0.0:8545
|
||||||
** proxy requests to Ethereum and Kovan upstreams
|
** proxy requests to Ethereum and Kovan upstreams
|
||||||
** request path for Ethereum Mainnet is `/eth`, for bitcoin is `/btc`
|
** request path for Ethereum Mainnet is `/eth`, `/kovan` for Kovan Testnet, and `/btc` for bitcoin
|
||||||
** i.e. call Ethereum Mainnet by `POST http://127.0.0.0:8545/eth` with JSON RPC payload
|
** i.e. call Ethereum Mainnet by `POST http://127.0.0.0:8545/eth` with JSON RPC payload
|
||||||
- two upstreams, one for Ethereum Mainnet and another for Kovan Testnet (both upstreams are configured to use Infura endpoint)
|
- two upstreams, one for Ethereum Mainnet and another for Kovan Testnet (both upstreams are configured to use Infura endpoint)
|
||||||
- for Ethereum Mainnet it connects using JSON RPC and Websockets connections,
|
- for Ethereum Mainnet it connects using JSON RPC and Websockets connections,
|
||||||
|
|||||||
Reference in New Issue
Block a user