{"id":20244739,"url":"https://github.com/sshmaxime/openzeppelin-rs","last_synced_at":"2025-06-27T03:07:38.971Z","repository":{"id":171050864,"uuid":"646976485","full_name":"sshmaxime/openzeppelin-rs","owner":"sshmaxime","description":"Use OpenZeppelin's contracts in Rust using ethers-rs library.","archived":false,"fork":false,"pushed_at":"2023-05-31T23:35:56.000Z","size":6166,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T05:15:02.087Z","etag":null,"topics":["contracts","ethers-rs","openzeppelin","web3"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/openzeppelin-rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshmaxime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2023-05-29T19:28:35.000Z","updated_at":"2025-02-27T12:29:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"30450dac-5367-4cf8-8eff-1cccc79a59fe","html_url":"https://github.com/sshmaxime/openzeppelin-rs","commit_stats":null,"previous_names":["sshmaxime/openzeppelin-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sshmaxime/openzeppelin-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshmaxime%2Fopenzeppelin-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshmaxime%2Fopenzeppelin-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshmaxime%2Fopenzeppelin-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshmaxime%2Fopenzeppelin-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshmaxime","download_url":"https://codeload.github.com/sshmaxime/openzeppelin-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshmaxime%2Fopenzeppelin-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262180947,"owners_count":23271313,"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":["contracts","ethers-rs","openzeppelin","web3"],"created_at":"2024-11-14T09:17:05.696Z","updated_at":"2025-06-27T03:07:38.955Z","avatar_url":"https://github.com/sshmaxime.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openzeppelin-rs\n\n\u003e The library is actually located in the openzeppelin-rs folder.\n\n## Quickstart\n\n\u003e This library depends on `ethers-rs`. If you haven't already added it to your project you can do it with `cargo add ethers`.\n\nAdd `openzeppelin-rs` to your project:\n\n```\ncargo add openzeppelin-rs\n```\n\nAnd add this to your code:\n\n```\nuse openzeppelin_rs::*;\n```\n\nYou are good to go !\n\n## Exemple\n\n```rust\nuse ethers::types::Address;\nuse openzeppelin_rs::*;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n\n    let address: Address = WETH_ADDRESS.parse()?;\n    let contract = ERC20::new(address, **yourProvider**);\n\n    println!(\"{}\", contract.symbol().await?);\n\n    Ok(())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshmaxime%2Fopenzeppelin-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshmaxime%2Fopenzeppelin-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshmaxime%2Fopenzeppelin-rs/lists"}