{"id":22123178,"url":"https://github.com/penn201500/mynft","last_synced_at":"2026-05-06T21:31:23.527Z","repository":{"id":249446488,"uuid":"830897652","full_name":"penn201500/MyNFT","owner":"penn201500","description":"Deploy a NFT contract on sepolia, holesky testnet. And mint,buy,sale...","archived":false,"fork":false,"pushed_at":"2024-07-22T05:09:13.000Z","size":458,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T07:35:36.199Z","etag":null,"topics":["ethereum","ethereum-blockchain","hardhat-deployment","holesky","javascript","nft","sepolia","smart-contracts","solidity"],"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/penn201500.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":"2024-07-19T08:23:59.000Z","updated_at":"2024-07-22T05:09:17.000Z","dependencies_parsed_at":"2024-12-01T15:42:01.208Z","dependency_job_id":null,"html_url":"https://github.com/penn201500/MyNFT","commit_stats":null,"previous_names":["penn201500/mynft"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/penn201500/MyNFT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penn201500%2FMyNFT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penn201500%2FMyNFT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penn201500%2FMyNFT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penn201500%2FMyNFT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/penn201500","download_url":"https://codeload.github.com/penn201500/MyNFT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penn201500%2FMyNFT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32712653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: 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-blockchain","hardhat-deployment","holesky","javascript","nft","sepolia","smart-contracts","solidity"],"created_at":"2024-12-01T15:29:44.193Z","updated_at":"2026-05-06T21:31:23.298Z","avatar_url":"https://github.com/penn201500.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# MyNFT Contract Deployment\n\n## Overview\n\nThis project includes the MyNFT smart contract which is an ERC-721 token. The contract uses OpenZeppelin's ERC721 and Ownable contracts to manage unique digital assets on the blockchain.\n\n## Environment Variables\n\nIn the `deploy.js` script, environment variables are used to configure the deployment settings. These variables are stored in a `.env` file. It is crucial not to share or reveal the contents of the `.env` file to anyone or publish it online to ensure the security of your deployment credentials.\n\n## Building the Project\n\nBefore deploying the MyNFT contract, ensure your project is correctly set up:\n\n1. **Install dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n   This command installs all necessary dependencies listed in your `package.json` file.\n\n2. **Compile the Contract:**\n\n   ```bash\n   npx hardhat compile\n   ```\n\n   This command compiles the smart contract and prepares it for deployment.\n\n3. **Run Local Tests:**\n\n   ```bash\n   npx hardhat test\n   ```\n\n   Execute this command to run your tests and ensure that all functionalities work as expected before deploying to a testnet or mainnet.\n\n## Deployment\n\nTo deploy the MyNFT contract on the Holesky testnet, follow these steps:\n\n1. **Deploy the Contract:**\n\n   ```bash\n   npx hardhat run scripts/deploy.js --network holesky\n   ```\n\n   This command deploys the contract to the Holesky testnet using the account configured in your Hardhat setup.\n\nTo deploy the MyNFT contract on the Sepolia testnet, follow these steps:\n\n1. **Deploy the Contract:**\n\n   ```bash\n   npx hardhat run scripts/deploy.js --network sepolia\n   ```\n\n   This command deploys the contract to the Sepolia testnet using the account configured in your Hardhat setup.\n\n## Useful Links\n\n- Holesky Testnet: [Holesky URL](https://holesky.beaconcha.in/)\n- Sepolia Testnet: [Sepolia Info](https://sepolia.dev/)\n- Alchemy: [Official Site](https://www.alchemy.com/) | [Documentation](https://docs.alchemy.com/alchemy/)\n\n## Contract Features\n\n- **Minting:** Only the owner can mint new NFTs.\n- **Ownership:** The contract uses the `Ownable` extension to handle ownership.\n\n## Mint NFTs\n\nTo mint multiple NFTs, modify the `tokenURIs` array in the script with your desired NFT metadata links and then execute cmd:\n\n```javascript\nconst tokenURIs = [\n    \"https://gateway.pinata.cloud/ipfs/QmQUAvaacaGBJQsyYJ7tLP88jYfypsQxhzsp16yuWUbTmp\", //NFT metadata URL\n    \"https://gateway.pinata.cloud/ipfs/Qmc8JHqeKr2B6rKr1oZm4dS7vcYv6ksLG7Cb6i6uwSQwj6\",\n    \"QmAnotherTokenURIHere\",\n    \"QmAndAnotherOneHere\"\n];\n\nmintMultipleNFTs(tokenURIs);\n```\n\n```bash\nnode scripts/mint-nft.js\n```\n\nThis will mint each NFT specified in the `tokenURIs` array, handling transaction details and nonce management automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenn201500%2Fmynft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpenn201500%2Fmynft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenn201500%2Fmynft/lists"}