From fa3dcf3e43b2f069c0514a0fba2386b63cc4b2cd Mon Sep 17 00:00:00 2001 From: evalir Date: Tue, 29 Aug 2023 15:02:57 -0700 Subject: [PATCH] chore: include CREATE2 docs on anvil (#992) --- src/reference/anvil/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/reference/anvil/README.md b/src/reference/anvil/README.md index 4ac308464..6f8d63034 100644 --- a/src/reference/anvil/README.md +++ b/src/reference/anvil/README.md @@ -36,6 +36,11 @@ HTTP and Websocket connections are supported. The server listens on port 8545 by anvil --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. @@ -342,6 +347,8 @@ Gets the transaction hash and the address which created a contract. `-V, --version`      Print version information +`--disable-default-create2-deployer` +     Disables deploying the default CREATE2 factory when running Anvil without forking #### EVM Options `-f, --fork-url `