{"id":25601069,"url":"https://github.com/arifshariati/nft-smartcontract","last_synced_at":"2026-05-18T04:40:01.426Z","repository":{"id":44953995,"uuid":"448509432","full_name":"arifshariati/nft-smartcontract","owner":"arifshariati","description":"Ethereum smart contract with solidity for NFT marketplace. ","archived":false,"fork":false,"pushed_at":"2022-01-16T09:57:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-09T13:52:33.194Z","etag":null,"topics":["ethereum","ethereum-contract","ganache","ganache-cli","nft","nft-marketplace","solidity","solidity-contracts"],"latest_commit_sha":null,"homepage":"","language":"Solidity","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/arifshariati.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-01-16T09:29:31.000Z","updated_at":"2022-01-16T09:52:39.000Z","dependencies_parsed_at":"2022-09-08T09:52:13.627Z","dependency_job_id":null,"html_url":"https://github.com/arifshariati/nft-smartcontract","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arifshariati/nft-smartcontract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifshariati%2Fnft-smartcontract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifshariati%2Fnft-smartcontract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifshariati%2Fnft-smartcontract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifshariati%2Fnft-smartcontract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arifshariati","download_url":"https://codeload.github.com/arifshariati/nft-smartcontract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arifshariati%2Fnft-smartcontract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274568492,"owners_count":25309281,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"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":["ethereum","ethereum-contract","ganache","ganache-cli","nft","nft-marketplace","solidity","solidity-contracts"],"created_at":"2025-02-21T15:40:10.400Z","updated_at":"2026-05-18T04:39:56.388Z","avatar_url":"https://github.com/arifshariati.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"## NFT-SMARTCONTRACT\n\nImagine one want to start their own NFT marketplace. This repo contains basis for NFT marketplace capturing ethereum smart contracts. \n\n### Functions \n\nThis repo contains basic functions such as;\n\n    1. listTokens()\n    2. getListing()\n    3. buyToken()\n    4. Cancle()\n\n## What is Covered ?\n\nEventually, this repo helps in basic structre smart contract where;\n\n    1. Seller of NFT can list their token in terms of NFT \n    2. Buyer can BUY the listed NFT \n    3. Seller due to any reason can cancel the transaction without charging or transaction to occur.\n\n## Use Cases\n\nUse cases can be many, from digital art to music to anything. \n\n## Installation\n\nFork or clone this repo, move to the project folder and run below;\n\n```bash\n# npm \nnpm i\n\n# yarn \nyarn add\n```\n\n## Pre-requisite \n\nYou should have ganache installed on your machine. You can download ganache [here](https://trufflesuite.com/ganache/).\n\nAlso, you can install truffle globally on your machine by running below command in your terminal;\n\n```bash\nnpm install -g truffle\n```\n\n## Deploying or Migrating Smart Contract  \n\nRun below command in your terminal inside project folder;\n\n```bash\n# Compile - generates abis for smart contracts\nnpx truffle compile \n\nOR\n\n# Migrate Smart Contacts\nnpx truffle migrate \n\n# During testing you can re-migrate your smart contracts \nnpx truffle migrate --reset\n```\n\n## Do you want to Collaborate?\n\nIf you are interested in add more functionality to this repo, please fork this repo and add your suggested functionality and raise PR. \n\nLet's make things easier for everyone together in NFT marketplace.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farifshariati%2Fnft-smartcontract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farifshariati%2Fnft-smartcontract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farifshariati%2Fnft-smartcontract/lists"}