{"id":16597275,"url":"https://github.com/adrianmcli/erc721-practice","last_synced_at":"2025-03-06T19:32:52.058Z","repository":{"id":73736772,"uuid":"139359243","full_name":"adrianmcli/erc721-practice","owner":"adrianmcli","description":"A practice repo for working with ERC-721 tokens.","archived":false,"fork":false,"pushed_at":"2018-07-03T05:45:22.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-17T04:44:27.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/adrianmcli.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}},"created_at":"2018-07-01T20:18:31.000Z","updated_at":"2018-07-03T05:45:23.000Z","dependencies_parsed_at":"2023-04-01T10:36:44.761Z","dependency_job_id":null,"html_url":"https://github.com/adrianmcli/erc721-practice","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/adrianmcli%2Ferc721-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Ferc721-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Ferc721-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Ferc721-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrianmcli","download_url":"https://codeload.github.com/adrianmcli/erc721-practice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242274790,"owners_count":20101107,"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":[],"created_at":"2024-10-11T23:55:22.854Z","updated_at":"2025-03-06T19:32:52.023Z","avatar_url":"https://github.com/adrianmcli.png","language":"JavaScript","readme":"# erc721-practice\n\nA practice repo for working with ERC-721 tokens. There are two important things to look at: the smart contract and the tests.\n\n## The smart contract\n\nIn `contracts/MyToken.sol`, notice that it's only doing a few things:\n\n1. Inheriting from OpenZeppelin's `ERC721Token.sol`;\n2. Implementing a constructor;\n3. Implementing a simple minting method.\n\nAlmost everything else is delegated to OpenZeppelin's hard work.\n\n## The tests\n\nThe tests go through a bunch of behaviours that we'd expect from an ERC-721 token. Study these well.\n\nNote: I wrote a helper function called `expectRevert` to detect reverts, because I didn't want to include another library and this makes the tests relatively more readable.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianmcli%2Ferc721-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianmcli%2Ferc721-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianmcli%2Ferc721-practice/lists"}