You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
with the Query type, etherscan api requests can be easily created like
letmut map = HashMap::new();
map.insert("address", address);// this will create the `query` object that gets serialized into the final url like:// https://api.etherscan.io/api?module=contract&action=getabi&address=0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413&apikey=YourApiKeyTokenlet query = self.create_query("contract","getabi", map);let resp:Response<String> = self.get_json(&query).await?;
Transactions were implemented in #512. @brockelmore if you end up looking at dapp create (foundry-rs/foundry#43) you may want to take a look at the verification issue @mattsse mentions above.
* fix: move cargo forge & cast bins to foundry bin
* docs: update install section
* docs: fix stale comment
* refactor: better way to move cargo bin output
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Tracking issue for complete
ethers-etherscan
client crateEndpoints
Overview https://docs.etherscan.io/api-endpoints/
Initial WIP
foundry-rs/foundry#82#486with the
Query
type, etherscan api requests can be easily created likeSome endpoints will require quite a bit of parameters, for these cases (>3 params) a config struct with
Serialize
should be created, (check https://github.com/gakonst/ethers-rs/blob/master/ethers-etherscan/src/lib.rs#L201-L229)Other todos
ethers
internal usage inabigen
The text was updated successfully, but these errors were encountered: