{"id":19881797,"url":"https://github.com/daniel0130/solana-nft-anchor","last_synced_at":"2025-05-02T14:31:05.964Z","repository":{"id":259059613,"uuid":"876207059","full_name":"daniel0130/solana-nft-anchor","owner":"daniel0130","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-21T15:59:20.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-28T18:38:02.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/daniel0130.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-10-21T15:17:59.000Z","updated_at":"2024-10-28T10:34:05.000Z","dependencies_parsed_at":"2024-10-22T07:06:23.390Z","dependency_job_id":null,"html_url":"https://github.com/daniel0130/solana-nft-anchor","commit_stats":null,"previous_names":["daeniel/solana-nft-anchor","daniel0130/solana-nft-anchor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fsolana-nft-anchor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fsolana-nft-anchor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fsolana-nft-anchor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fsolana-nft-anchor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel0130","download_url":"https://codeload.github.com/daniel0130/solana-nft-anchor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224315178,"owners_count":17290992,"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-12T17:15:19.423Z","updated_at":"2024-11-12T17:15:20.147Z","avatar_url":"https://github.com/daniel0130.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solana-NFT-Anchor\n\nBased on the [Mint Your First NFT](https://calyptus.co/lessons/mint-your-first-nft/) lesson, this project shows how to mint your first NFT on the Solana blockchain using [Anchor](https://www.anchor-lang.com/) and [Metaplex](https://www.anchor-lang.com/).\n\n## Table of Contents\n- [Getting Started](#getting-started)\n- [Contributing](#contributing)\n- [Questions](#questions)\n- [License](#license)\n\n## Getting Started\n\nTo use this fork, you need to have [yarn](https://yarnpkg.com/getting-started/install), [Anchor](https://www.anchor-lang.com/docs/installation) and the [Solana cli suite](https://solana.com/developers/guides/getstarted/setup-local-development) installed on your machine. \n\nIt is highly recommended that you start this project from scratch, following along with the tutorial. \n\nTo use the fork, follow the steps outlined below: \n\n1. Clone your forked repo.\n\n```bash\ngit clone https://github.com/\u003cYOUR-USERNAME\u003e/solana-nft-anchor\n```\n\n2. Change directory into the root of your cloned repo and install missing node packages\n\n```bash\nyarn install\n```\n\n**NOTE:** You must use yarn to install the dependencies. If you use a different package manager, you will run into issues minting the NFT.\n\n3. Build your anchor project.\n\n```bash\nanchor build\n```\n\n4. List the project deployment keys and copy the address to a clipboard\n\n```bash\nanchor keys list\n```\n\n5. Update your [`Anchor.toml`](Anchor.toml) file, by using the address generated in the previous step. \n\n```toml\n[programs.devnet]\nsolana_nft_anchor = \"\u003cADD YOUR ADDRESS HERE\u003e\"\n```\n\n6. Update your [`lib.rs`](programs/solana-nft-anchor/src//lib.rs) file by adding the the address generated in step 4 to the `declare_id!()` macro\n\n```rust\n    // snip\nuse mpl_token_metadata::{\n    pda::{find_master_edition_account, find_metadata_account},\n    state::DataV2,\n};\n\ndeclare_id!(\"\u003cUPDATE HERE\u003e\");\n#[program]\npub mod solana_nft_anchor {\n    // snip\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## Questions\n\nDid you encounter a challenge following the tutorial or running the fork? \nHead over to our [learning support](https://discord.com/channels/1130457754826461216/1132978998155165806) channel on our [Discord](https://discord.gg/38KftAhW) or alternatively, raise a ticket. \n\nWe are always happy to lend a helping hand\n\n## License\n\nAll files within this repository are licensed under the MIT License unless explicitly stated otherwise.\n\n\n\n\n100% Open Source software.\n\n© 2023 [Calyptus] - See [LICENSE](https://opensource.org/license/mit/) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel0130%2Fsolana-nft-anchor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel0130%2Fsolana-nft-anchor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel0130%2Fsolana-nft-anchor/lists"}