alloy-rs / alloy-rs/examples

Add create2 deployment example

Open
#232 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
234
Forks
64
Avg merge
19h 34m
Merged PRs (30d)
6

Description

I saw that there's [`create2` related api ](https://docs.rs/alloy/latest/alloy/primitives/struct.Address.html#method.create2) for contract address computation, but no full example on deploying contracts (with alloy generated bindings using CREATE2 at a predetermined address given a numeric and a address.

(Is it through `MyContract.deploy_builder().xxx()`? or configuring `TransactionRequest::new().xxx()`? I wasn't able to figure out by searching through the docs, need guidance here)

cc @yash-atreya

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.