Code Monkey home page Code Monkey logo

anchor-todo-list's Introduction

Anchor Todo List

Based on the Building A To Do List with Anchor lesson, this project shows how to mint your first NFT on the Solana blockchain using Anchor.

Table of Contents

Getting Started

To use this fork, you need to have yarn, Anchor and the Solana cli suite installed on your machine.

It is highly recommended that you start this project from scratch, following along with the tutorial.

To use the fork, follow the steps outlined below:

  1. Clone your forked repo.
git clone https://github.com/<YOUR-USERNAME>/anchor-todo-list
  1. Change directory into the root of your cloned repo and install missing node packages
yarn install

NOTE: You must use yarn to install the dependencies. If you use a different package manager, you will run into issues minting the NFT.

  1. Build your anchor project.
anchor build
  1. List the project deployment keys and copy the address to a clipboard
anchor keys list
  1. Update your Anchor.toml file, by using the address generated in the previous step.
[programs.devnet]
todo_list_app = "<ADD YOUR ADDRESS HERE>"
  1. Update your lib.rs file by adding the the address generated in step 4 to the declare_id!() macro
use anchor_lang::prelude::*;

declare_id!("<PLACE YOUR ADDRESS HERE>");

#[program]
pub mod todo_list_app {
    // snip

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Questions

Did you encounter a challenge following the tutorial or running the fork? Head over to our learning support channel on our Discord or alternatively, raise a ticket.

We are always happy to lend a helping hand

License

All files within this repository are licensed under the MIT License unless explicitly stated otherwise.

100% Open Source software.

© 2023 [Calyptus] - See LICENSE for details.

anchor-todo-list's People

Contributors

jim4067 avatar saviour1001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.