{"id":16392015,"url":"https://github.com/mikeshultz/generic-mocks","last_synced_at":"2026-06-15T02:34:52.899Z","repository":{"id":57752405,"uuid":"527444807","full_name":"mikeshultz/generic-mocks","owner":"mikeshultz","description":"Various mock contract deployments that anyone can use on public networks.","archived":false,"fork":false,"pushed_at":"2022-08-22T06:55:47.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-22T22:27:50.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mikeshultz.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":"2022-08-22T06:48:13.000Z","updated_at":"2022-08-22T06:55:50.000Z","dependencies_parsed_at":"2022-08-27T06:22:04.415Z","dependency_job_id":null,"html_url":"https://github.com/mikeshultz/generic-mocks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikeshultz/generic-mocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Fgeneric-mocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Fgeneric-mocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Fgeneric-mocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Fgeneric-mocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikeshultz","download_url":"https://codeload.github.com/mikeshultz/generic-mocks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshultz%2Fgeneric-mocks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34345577,"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-10-11T04:48:13.938Z","updated_at":"2026-06-15T02:34:52.885Z","avatar_url":"https://github.com/mikeshultz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mock Contracts\n\nVarious mock contract deployments that anyone can use on public networks.\n\n## Deployments\n\nPublic deployments, open to all.\n\n### Goerli\n\n| Name      | Address                                    | Description  |\n| --------- | ------------------------------------------ | ------------ |\n| MockToken | 0xeB6e6DC9a4A19A3d78A753c788E9dc84802bA844 | ERC20 token  |\n| MockNFT   | 0xCaAf44843Ce103FC8fdD9d19a96612D020705208 | ERC721 token |\n\n## Usage\n\nThis is an Ape project and you can interact with the deployments via the Ape\nconsole. You may need to alter `ape-config.yaml` for your preferred network\nconnection.\n\n    ape console --network ethereum:goerli\n    In [1]: token = project.MockToken.deployments[0]\n\n    In [2]: token.totalSupply()\n    Out [2]: 1000000000000000000000000\n\n    In [3]: token.mint('0x9283099A29556fCF8fFF5b2Cea2D4F67CB7A7A8b', 16777216, sender=accounts[0])\n    [...]\n    Out[3]: \u003cReceipt 0x4f8e1ed021203f2a6cfb8581845005f073cd9a61ea7e4604f29f4b604775b797\u003e\n\n### MockToken (ERC20)\n\nEverything is standard. Minting is offered up via an unpermissioned, public\n`mint()` method.\n\n#### Minting\n\nMinting is available to anyone at any amount.\n\n    token.mint(accounts[0].address, 123, sender=accounts[0])\n\n### MockNFT (ERC721)\n\nEverything is standard. Minting is offered up via two unpermissioned, public\n`mint()` methods.\n\n#### Minting\n\nMinting is available to anyone a single token at a time. You can use the\ndefault base URI (for token metadata):\n\n    nft.mint(recipient, 123, sender=accounts[0])\n\nOr mint a token with a specific URI:\n\n    nft.mint(recipient, 123, 'https://example.com/token/123', sender=accounts[0])\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeshultz%2Fgeneric-mocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikeshultz%2Fgeneric-mocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeshultz%2Fgeneric-mocks/lists"}