|
1 | | -# Anvil |
2 | | -[Anvil](https://book.getfoundry.sh/anvil/) is a Foundry local EVM blockchain simulator |
| 1 | +# EVM Blockchain Clients |
| 2 | + |
| 3 | +We support 3 EVM clients at the moment: [Geth](https://geth.ethereum.org/docs/fundamentals/command-line-options), [Anvil](https://book.getfoundry.sh/anvil/) and [Besu](https://besu.hyperledger.org/) |
3 | 4 |
|
4 | 5 | ## Configuration |
5 | 6 | ```toml |
6 | 7 | [blockchain_a] |
7 | | - # Blockchain node type, can be "anvil" or "geth" |
| 8 | + # Blockchain node type, can be "anvil", "geth" or "besu |
8 | 9 | type = "anvil" |
9 | 10 | # Chain ID |
10 | | - chain_id = "31337" |
| 11 | + chain_id = "1337" |
11 | 12 | # Anvil command line params, ex.: docker_cmd_params = ['--block-time=1', '...'] |
12 | 13 | docker_cmd_params = [] |
13 | 14 | # Docker image and tag |
14 | 15 | image = "f4hrenh9it/foundry:latest" |
15 | | - # External port to expose |
| 16 | + # External port to expose (HTTP API) |
16 | 17 | port = "8545" |
| 18 | + # External port to expose (WS API) |
| 19 | + port_ws = "8546" |
17 | 20 | # Pulls the image every time if set to 'true', used like that in CI. Can be set to 'false' to speed up local runs |
18 | 21 | pull_image = false |
19 | 22 |
|
20 | 23 | # Outputs are the results of deploying a component that can be used by another component |
21 | 24 | [blockchain_a.out] |
22 | | - chain_id = "31337" |
23 | 25 | # If 'use_cache' equals 'true' we skip component setup when we run the test and return the outputs |
24 | 26 | use_cache = true |
| 27 | + # Chain ID |
| 28 | + chain_id = "1337" |
| 29 | + # Chain family, "evm", "solana", "cosmos", "op", "arb" |
| 30 | + family = "evm" |
25 | 31 |
|
26 | 32 | [[blockchain_a.out.nodes]] |
27 | 33 | # URLs to access the node(s) inside docker network, used by other components |
@@ -58,3 +64,13 @@ func TestDON(t *testing.T) { |
58 | 64 | } |
59 | 65 | ``` |
60 | 66 |
|
| 67 | +## Test Private Keys |
| 68 | + |
| 69 | +For `Geth` and `Anvil` we use the same key |
| 70 | +``` |
| 71 | +Public: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 |
| 72 | +Private: ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 |
| 73 | +``` |
| 74 | + |
| 75 | +Test keys for `Besu` can be found [here](https://besu.hyperledger.org/23.4.1/private-networks/reference/accounts-for-testing) |
| 76 | + |
0 commit comments