{"id":19149553,"url":"https://github.com/zeriontech/simple-web3-provider","last_synced_at":"2026-06-15T18:32:30.946Z","repository":{"id":57361149,"uuid":"360178029","full_name":"zeriontech/simple-web3-provider","owner":"zeriontech","description":"A web3 provider with retries under the hood","archived":false,"fork":false,"pushed_at":"2021-07-14T12:04:04.000Z","size":1289,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-22T20:32:27.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeriontech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-21T13:19:49.000Z","updated_at":"2023-08-24T07:13:33.000Z","dependencies_parsed_at":"2022-09-26T16:40:53.800Z","dependency_job_id":null,"html_url":"https://github.com/zeriontech/simple-web3-provider","commit_stats":null,"previous_names":["zeriontech/web3-provider"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/zeriontech/simple-web3-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsimple-web3-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsimple-web3-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsimple-web3-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsimple-web3-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeriontech","download_url":"https://codeload.github.com/zeriontech/simple-web3-provider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeriontech%2Fsimple-web3-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34376122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T08:08:41.516Z","updated_at":"2026-06-15T18:32:30.926Z","avatar_url":"https://github.com/zeriontech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-web3-provider\n\nThis library creates a web3 provider that delegates sending all signing methods to the given provider (if it is available) and all other methods to the provided endpoint\n\n## Installation\n\n```shell\nnpm install ky # a peer dependency\nnpm install simple-web3-provider\n```\n\n## Getting Started\n\n```javascript\nimport Web3 from 'web3';\nimport { Provider } from 'simple-web3-provider';\n\nconst web3 = new Web3(new Provider(url, options));\n```\n\n## API\n\n#### Provider Constructor\n\n```typescript\nnew Provider(url: string, options?: Options)\n```\n\n- `url`: An RPC Endpoint to send requests to\n- `options`: An [Options](#Options) object\n\n#### Options\n\n```typescript\ninterface Options {\n  maxRetries?: number;\n  timeout?: number;\n}\n```\n\n- `maxRetries`: Number of retries for failed requests, defaults to `10`\n- `timeout`: Timeout in milliseconds for getting a response, defaults to `30000`\n\n## License\n\nMIT License, see the included [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeriontech%2Fsimple-web3-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeriontech%2Fsimple-web3-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeriontech%2Fsimple-web3-provider/lists"}