{"id":17189899,"url":"https://github.com/kodjunkie/nft-smart-contracts","last_synced_at":"2025-04-13T19:25:07.605Z","repository":{"id":42373529,"uuid":"475951055","full_name":"kodjunkie/nft-smart-contracts","owner":"kodjunkie","description":"⛽ Gas optimised NFT smart contracts for EVM blockchains.","archived":false,"fork":false,"pushed_at":"2023-06-29T13:50:35.000Z","size":346,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T10:07:48.792Z","etag":null,"topics":["blockchain","erc721","erc721-contract-code","erc721-example-code","nfts","solidity","solidity-contracts","truffle"],"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/kodjunkie.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-03-30T15:56:18.000Z","updated_at":"2024-09-16T19:58:34.000Z","dependencies_parsed_at":"2023-01-30T00:16:01.846Z","dependency_job_id":null,"html_url":"https://github.com/kodjunkie/nft-smart-contracts","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/kodjunkie%2Fnft-smart-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodjunkie%2Fnft-smart-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodjunkie%2Fnft-smart-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodjunkie%2Fnft-smart-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kodjunkie","download_url":"https://codeload.github.com/kodjunkie/nft-smart-contracts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766892,"owners_count":21158345,"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":["blockchain","erc721","erc721-contract-code","erc721-example-code","nfts","solidity","solidity-contracts","truffle"],"created_at":"2024-10-15T01:12:49.108Z","updated_at":"2025-04-13T19:25:07.580Z","avatar_url":"https://github.com/kodjunkie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003e\n  ⛽ Gas optimised NFT smart contracts for EVM blockchains.\n\u003c/h2\u003e\n\n### Development\n\nYou can easily copy and paste the contract into your existing project or to clone this project.\n\n```bash\n# clone the repo\ngit clone https://github.com/kodjunkie/nft-smart-contracts.git\n\n# navigate to the repo directory\ncd nft-smart-contracts\n\n# setup env\ncp .env.example .env\n\n# install dependencies\nnpm install\n```\n\n### Compiling the contracts\n\nAll compiled artifacts are located in the `builds` directory.\n\n```bash\nnpm run compile\n```\n\n### Deployment\n\nNOTE: If you intend to deploy directly via this project, you must follow the instructions below.\n\n1. Edit `migrations/2_deploy_contracts.js` and remove/comment out redundant deployments.\n2. Update `.env` accordingly and run any of the commands below\n\n```bash\n# deploy to truffle network\nnpx truffle migrate\n\n# deploy to truffle network using third-party wallet via HDWalletProvider\nnpx truffle migrate --network wallet\n\n# deploy to truffle network using third-party wallet via Dashboard\nnpx truffle migrate --network dashboard\n\n# deploy to rinkeby network via Infura\nnpx truffle migrate --network rinkeby\n```\n\nMore deployment configurations can be added to the `networks` object in the `truffle-config.js` file.\n\n### Tests\n\n```bash\nnpm test\n```\n\n### License\n\n[MIT](./LICENSE) License © 2022 [Lawrence Onah](https://github.com/kodjunkie)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkodjunkie%2Fnft-smart-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkodjunkie%2Fnft-smart-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkodjunkie%2Fnft-smart-contracts/lists"}