alloy-rs / alloy-rs/examples

Add create2 deployment example

Ouverte
#232 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
234
Forks
64
Merge moyen
19 h 34 min
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.