{"id":15848872,"url":"https://github.com/amazingandyyy/nonfungible","last_synced_at":"2026-05-07T11:33:46.258Z","repository":{"id":82578982,"uuid":"457969490","full_name":"amazingandyyy/nonfungible","owner":"amazingandyyy","description":"A weekend project - a working NFT marketplace with testing","archived":false,"fork":false,"pushed_at":"2022-02-12T21:39:23.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T17:56:46.135Z","etag":null,"topics":["ethereum","ethereum-contract","harthat","nft","openzeppelin","openzeppelin-solidity","smart-contracts","solidity","solidity-contracts","truffle","waffle"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/amazingandyyy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-10T22:34:16.000Z","updated_at":"2022-02-14T10:51:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0665d87-b049-48d3-9f6b-268b6150da6c","html_url":"https://github.com/amazingandyyy/nonfungible","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"amazingandyyy/smart-contract-dev","purl":"pkg:github/amazingandyyy/nonfungible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingandyyy%2Fnonfungible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingandyyy%2Fnonfungible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingandyyy%2Fnonfungible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingandyyy%2Fnonfungible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amazingandyyy","download_url":"https://codeload.github.com/amazingandyyy/nonfungible/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingandyyy%2Fnonfungible/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ethereum","ethereum-contract","harthat","nft","openzeppelin","openzeppelin-solidity","smart-contracts","solidity","solidity-contracts","truffle","waffle"],"created_at":"2024-10-05T18:20:49.044Z","updated_at":"2026-05-07T11:33:46.242Z","avatar_url":"https://github.com/amazingandyyy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NonFungible Marketplace\n\nA weekend project - working NFT marketplace with testing\n\n## Test coverage\n\n```\n------------------|----------|----------|----------|----------|----------------|\nFile              |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\n------------------|----------|----------|----------|----------|----------------|\n contracts/       |    87.72 |    86.36 |    77.78 |    89.06 |                |\n  Marketplace.sol |      100 |    86.36 |      100 |      100 |                |\n  NFT.sol         |        0 |      100 |        0 |        0 |... 24,25,26,27 |\n------------------|----------|----------|----------|----------|----------------|\nAll files         |    87.72 |    86.36 |    77.78 |    89.06 |                |\n------------------|----------|----------|----------|----------|----------------|\n```\n\n## To start\n\n```\ngit clone https://github.com/amazingandyyy/nonfungible.git\nyarn\ncp .env.example .env\n```\n\n## Development\n\n```\nnpm test\n```\n\n## Gas report\n\n```\n·------------------------------|----------------------------|-------------|-----------------------------·\n|     Solc version: 0.8.4      ·  Optimizer enabled: false  ·  Runs: 200  ·  Block limit: 30000000 gas  │\n·······························|····························|·············|······························\n|  Methods                                                                                              │\n················|··············|··············|·············|·············|···············|··············\n|  Contract     ·  Method      ·  Min         ·  Max        ·  Avg        ·  # calls      ·  usd (avg)  │\n················|··············|··············|·············|·············|···············|··············\n|  Marketplace  ·  buyItem     ·           -  ·          -  ·     171997  ·            2  ·          -  │\n················|··············|··············|·············|·············|···············|··············\n|  Marketplace  ·  listItem    ·      169458  ·     175070  ·     171329  ·            3  ·          -  │\n················|··············|··············|·············|·············|···············|··············\n|  Marketplace  ·  withdraw    ·           -  ·          -  ·      28946  ·            1  ·          -  │\n················|··············|··············|·············|·············|···············|··············\n|  NFT          ·  createItem  ·      124682  ·     141782  ·     133232  ·            4  ·          -  │\n················|··············|··············|·············|·············|···············|··············\n|  Deployments                 ·                                          ·  % of limit   ·             │\n·······························|··············|·············|·············|···············|··············\n|  Marketplace                 ·           -  ·          -  ·    2144299  ·        7.1 %  ·          -  │\n·······························|··············|·············|·············|···············|··············\n|  NFT                         ·     2532947  ·    2532959  ·    2532953  ·        8.4 %  ·          -  │\n·------------------------------|--------------|-------------|-------------|---------------|-------------·\n\n```\n\n## Developer\n\n```shell\nnpx hardhat accounts\nnpx hardhat compile\nnpx hardhat clean\nnpx hardhat test\nnpx hardhat node\nnpx hardhat help\nREPORT_GAS=true npx hardhat test\nnpx hardhat coverage\nnpx hardhat run scripts/deploy.js\nnode scripts/deploy.js\nnpx eslint '**/*.js'\nnpx eslint '**/*.js' --fix\nnpx prettier '**/*.{json,sol,md}' --check\nnpx prettier '**/*.{json,sol,md}' --write\nnpx solhint 'contracts/**/*.sol'\nnpx solhint 'contracts/**/*.sol' --fix\n```\n\n### Etherscan verification\n\nTo try out Etherscan verification, you first need to deploy a contract to an Ethereum network that's supported by Etherscan, such as Ropsten.\n\nIn this project, copy the .env.example file to a file named .env, and then edit it to fill in the details. Enter your Etherscan API key, your Ropsten node URL (eg from Alchemy), and the private key of the account which will send the deployment transaction. With a valid .env file in place, first deploy your contract:\n\n```shell\nhardhat run --network ropsten scripts/deploy.js\n```\n\nThen, copy the deployment address and paste it in to replace `DEPLOYED_CONTRACT_ADDRESS` in this command:\n\n```shell\nnpx hardhat verify --network ropsten DEPLOYED_CONTRACT_ADDRESS \"Hello, Hardhat!\"\n```\n\n## License\n\nMIT\n\n## References\n\n- [Hardhat](https://hardhat.org/guides/project-setup.html)\n- [Solidity by Example](https://solidity-by-example.org/)\n- [Chai matchers](https://ethereum-waffle.readthedocs.io/en/latest/matchers.html)\n- [The Complete Solidity Course - Blockchain - Zero to Expert](https://www.udemy.com/course/the-complete-solidity-course-blockchain-zero-to-expert)\n- [Build your own NFT marketplace like OpenSea clone with solidity, openzeppelin and polygon](https://www.youtube.com/watch?v=7Q5E6RvLlUw\u0026t=4423s\u0026ab_channel=BraintempleTutorialTV)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famazingandyyy%2Fnonfungible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famazingandyyy%2Fnonfungible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famazingandyyy%2Fnonfungible/lists"}