alloy-rs / alloy-rs/examples

Add create2 deployment example

Aperta
#232 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
234
Fork
64
Merge medio
19h 34m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.