{"id":16095538,"url":"https://github.com/sz-piotr/ethereum-test-provider","last_synced_at":"2026-01-15T22:26:21.237Z","repository":{"id":44036393,"uuid":"225080894","full_name":"sz-piotr/ethereum-test-provider","owner":"sz-piotr","description":"An ethers provider used for testing applications using the ethereum blockchain","archived":false,"fork":false,"pushed_at":"2022-02-12T19:33:56.000Z","size":355,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T20:13:57.401Z","etag":null,"topics":["ethereum","ethersjs","integration-testing","provider","snapshots","testing","typescript"],"latest_commit_sha":null,"homepage":"","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/sz-piotr.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":"2019-11-30T23:07:03.000Z","updated_at":"2022-03-16T21:16:49.000Z","dependencies_parsed_at":"2022-08-27T06:20:26.378Z","dependency_job_id":null,"html_url":"https://github.com/sz-piotr/ethereum-test-provider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz-piotr%2Fethereum-test-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz-piotr%2Fethereum-test-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz-piotr%2Fethereum-test-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz-piotr%2Fethereum-test-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sz-piotr","download_url":"https://codeload.github.com/sz-piotr/ethereum-test-provider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246853718,"owners_count":20844634,"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","ethersjs","integration-testing","provider","snapshots","testing","typescript"],"created_at":"2024-10-09T17:06:02.635Z","updated_at":"2026-01-15T22:26:21.190Z","avatar_url":"https://github.com/sz-piotr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/sz-piotr/ethereum-test-provider.svg?style=svg)](https://circleci.com/gh/sz-piotr/ethereum-test-provider)\n\n# Ethereum TestProvider\n\nAn ethers provider used for testing applications using the ethereum blockchain.\n\nThis project aims to provide a painless solution for writing blockchain tests.\nMain features include:\n\n- Ethers.js based, no `web3` dependency\n- Full TypeScript support\n- Snapshots (not implemented)\n- Changing time (not implemented)\n- Multiple mining modes (not implemented)\n- Provides wallets preloaded with ETH\n- Multiple providers for the same test chain\n\n## Installation (not published yet)\n\nWith Yarn:\n```\nyarn add --dev ethereum-test-provider\n```\n\nWith npm:\n```\nnpm install -D ethereum-test-provider\n```\n\n## Example\n\n```typescript\nimport { TestProvider } from 'ethereum-test-provider'\n\nconst provider = new TestProvider()\nconst [sender] = provider.getWallets()\nconst recipient = provider.createEmptyWallet()\n\nawait sender.sendTransaction({\n  to: recipient.address,\n  value: utils.parseEther('3.1415'),\n})\n\nconsole.log(await recipient.getBalance()) // 3.1415\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsz-piotr%2Fethereum-test-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsz-piotr%2Fethereum-test-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsz-piotr%2Fethereum-test-provider/lists"}