Deploy components
Deploy EVM contracts
Build
$ forge buildDeploy Poseidon2
forge create --broadcast \
--private-key <private_key> \
--rpc-url <EVM L2 - rpc_url> \
src/libs/Poseidon2.sol:Poseidon2Deploy EVM Gateway
forge create --broadcast \
--private-key <private_key> \
--rpc-url <EVM L2 - rpc_url> \
src/L2Gateway7683.sol:L2Gateway7683 \
--constructor-args <permit2_address>Deploy Forwarder
forge create --broadcast \
--private-key <private_key> \
--rpc-url <EVM L1 - rpc_url> \
src/Forwarder.sol:Forwarder \
--constructor-args <l2_gateway_7683> <aztec_inbox> <aztec_outbox> <aztec_gateway> <anchor_state_registry>
Deploy Aztec contracts
Deploy Aztec Gateway
Set Aztec Gateway on Forwarder
Set Aztec Gateway on L2Gateway7683
Set Forwarder on L2Gateway7683
Filler
Installation
Usage
Last updated