{"id":18956372,"url":"https://github.com/qedk/ethrs","last_synced_at":"2025-04-18T14:58:45.662Z","repository":{"id":65710046,"uuid":"597496118","full_name":"QEDK/ethrs","owner":"QEDK","description":"An opinionated and fast library for interacting with the EVM","archived":false,"fork":false,"pushed_at":"2023-04-23T23:23:02.000Z","size":38,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-16T02:18:52.603Z","etag":null,"topics":["ethereum","evm","json-rpc","rust","rust-crate"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/ethrs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QEDK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-04T18:20:28.000Z","updated_at":"2023-05-10T06:09:36.000Z","dependencies_parsed_at":"2024-11-08T13:52:26.059Z","dependency_job_id":"840be569-23ca-4d52-aaf3-8c281afc0b30","html_url":"https://github.com/QEDK/ethrs","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"15d9dd839e192d54963517f6943ff98ff5463114"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QEDK%2Fethrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QEDK%2Fethrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QEDK%2Fethrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QEDK%2Fethrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QEDK","download_url":"https://codeload.github.com/QEDK/ethrs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249184639,"owners_count":21226424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ethereum","evm","json-rpc","rust","rust-crate"],"created_at":"2024-11-08T13:52:20.860Z","updated_at":"2025-04-16T02:33:16.951Z","avatar_url":"https://github.com/QEDK.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ethrs [![Rust CI](https://github.com/QEDK/ethrs/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/QEDK/ethrs/actions/workflows/rust.yml)\nAn opinionated and blazing-fast crate for interacting with the EVM ⚡️\nThis crate tries to simplify the work involved with serializing and deserializing, mostly choosing to default to `String`, `U256`, and `u128` types. The choice is intentional and prevents assumptions regarding deserialized data.\n\n⚠️ ***This crate is still in `beta` and will not follow semver until a production release. It is recommended that you pin the crate when using it to ensure that non-backward compatible changes do not affect you.***\n\n### 🧰 Installation\nYou can install this crate easily via `cargo` by running the command:\n```bash\ncargo add ethrs\n```\nor, add it manually in your `Cargo.toml` file like:\n```TOML\n[dependencies]\nethrs = \"0.1.1\"\n```\n\n## 🚀 Quick start\n```rust\nuse ethrs::provider::Provider;\nuse ethrs::provider::Block;\nuse ethrs::provider::DefaultBlockParam;\nuse std::error::Error;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn Error\u003e\u003e {\n    let provider = Provider::new(\"https://rpc.ankr.com/eth\");\n    // Get the latest block number\n    print!(\"Latest block number: {}\", provider.block_number().unwrap());\n    // Or fetch a pending block\n    let pending_block: Block = provider.get_block_by_number(Some(DefaultBlockParam::PENDING), None)?.unwrap();\n    // More APIs available in the docs!\n    Ok(())\n}\n```\n\n## 📜 License\n\nLicensed under either of:\n\n * MIT License ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n * Apache-2.0 License ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n\nat your option.\n\n### ✏ Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqedk%2Fethrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqedk%2Fethrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqedk%2Fethrs/lists"}