alloy-rs / alloy-rs/examples

Add create2 deployment example

Offen
#232 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
234
Forks
64
Ø Merge
19 Std. 34 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.