{"id":18369123,"url":"https://github.com/bitfancy/nft-smart-contract","last_synced_at":"2025-04-10T19:39:46.040Z","repository":{"id":237689781,"uuid":"760092967","full_name":"BitFancy/NFT-smart-contract","owner":"BitFancy","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-19T19:21:48.000Z","size":328,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T20:54:19.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/BitFancy.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":"2024-02-19T19:15:52.000Z","updated_at":"2024-07-29T14:00:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cb3e75d-8ad5-4f38-afc3-c4ba59aa63cc","html_url":"https://github.com/BitFancy/NFT-smart-contract","commit_stats":null,"previous_names":["bitfancy/nft-smart-contract"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FNFT-smart-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FNFT-smart-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FNFT-smart-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2FNFT-smart-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitFancy","download_url":"https://codeload.github.com/BitFancy/NFT-smart-contract/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281424,"owners_count":21077423,"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-11-05T23:28:31.330Z","updated_at":"2025-04-10T19:39:46.017Z","avatar_url":"https://github.com/BitFancy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Develop Smart Contract for NFT Marketplace\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/your-username/mastering-state-management/blob/main/LICENSE)\n\nWelcome to the repository for the project code of the online project [Develop Smart Contract for NFT Marketplace](https://educat.tv/3HcT7Gu).\n\nThis project is built on the Ethereum blockchain that enables users to mint, list, and trade non-fungible tokens (NFTs). The smart contract is written in **Solidity**, utilizing the **ERC721** token standard for unique token identification.\n\nWe’ll utilize the **Hardhat** framework to develop the smart contract. By using this technology, we can easily develop, test, and deploy the contracts. We’ll also use **OpenZeppelin**, a widely recognized library of reusable and secure smart contract components in our project.\n\nThe key features that this project will contain are as follows:\n\n- **Minting:** Users can create and mint new NFTs by providing a token URI and setting an initial price for the NFT.\n\n- **Listing:** NFTs can be listed for sale at a specified price. A listing fee is required for listing an NFT on the marketplace.\n\n- **Buying:** Users can purchase listed NFTs by sending the required payment, transferring the ownership of the NFT to the buyer, and providing the necessary fees to the contract owner.\n\n- **Retrieving:** Users can retrieve a list of all NFTs available on the marketplace and view their personal collection of NFTs.\n\n## Installation\n\nTo get started with the course project code, follow these steps:\n\n1. Clone this repository to your local machine using the following command:\n\n    ```shell\n    git clone https://github.com/snsakib/develop-smart-contract-for-nft-marketplace.git\n    ```\n\n2. Change to the project directory:\n\n    ```shell\n    cd develop-smart-contract-for-nft-marketplace\n    ```\n\n3. Install the dependencies using npm or yarn:\n\n    ```shell\n    npm install\n    ```\n    or\n    ```shell\n    yarn install\n    ```\n\n4. To run the unit test file, open a terminal and run the following command:\n\n    ```shell\n    npx hardhat test\n    ```\n\n5. Open a new terminal and run the following command to start the local Hardhat node:\n\n    ```shell\n    npx hardhat node --hostname 0.0.0.0 --port 3000\n    ```\n\n6. Open another terminal and run the following command to deploy the smart contract on the local Hardhat node:\n\n    ```shell\n    npx hardhat run scripts/deploy.js --network localhost\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Fnft-smart-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitfancy%2Fnft-smart-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Fnft-smart-contract/lists"}