Skip to content

Commit

Permalink
chore: include CREATE2 docs on anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Aug 25, 2023
1 parent 29436f8 commit da43845
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/reference/anvil/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ HTTP and Websocket connections are supported. The server listens on port 8545 by
anvil --port <PORT>
```

#### Default CREATE2 Deployer
Anvil, when used without forking, includes the [default CREATE2 deployer proxy](https://github.com/Arachnid/deterministic-deployment-proxy) at the address `0x4e59b44847b379578588920ca78fbf26c0b4956c`.

This allows you to test CREATE2 deployments locally without forking.

#### Supported RPC Methods
##### Standard Methods
The standard methods are based on [this](https://eth.wiki/json-rpc/API) reference.
Expand Down Expand Up @@ -342,6 +347,8 @@ Gets the transaction hash and the address which created a contract.
`-V, --version`
&nbsp;&nbsp;&nbsp;&nbsp; Print version information

`--disable-default-create2-deployer`
&nbsp;&nbsp;&nbsp;&nbsp; Disables deploying the default CREATE2 factory when running Anvil without forking

#### EVM Options
`-f, --fork-url <URL>`
Expand Down

0 comments on commit da43845

Please sign in to comment.