Git Product home page Git Product logo

aptos-contracts-annotated's Introduction

Aptos Annotated Contracts

So I began to learn Move. It's an interesting language and a totally different concept than Solidity/EVM. Because Move and Aptos are pretty niche at the moment and there aren't many resources to learn - I'm publishing the code I'm writing as I learn - with annotations. Maybe they'll be of some use to you.

How to start with Aptos and Move

So my road was pretty simple. You will need development experience though.

  1. Read the whitepaper
  2. Get Aptos wallet and set it up
    • you will need a private key later
    • you will also need some coins which you can easily get from wallet UI
  3. Install CLI locally
    • this may be pain
    • DON'T start with Getting Started guide, instead follow CLI installation guide
    • if you are developing on devnet (you probably are), make sure you pass --branch devnet when installing CLI wih cargo.
  4. If you're using JetBrains IDEs then install Move Plugin AND CONFIGURE IT in settings before use.
  5. Read the Move Book.
    • personally I didn't start developing before I've read the whole book to understand what's happening. There aren't many good sources out there yet that will guide you step by step, so it's good to get an overview of what we're dealing with.
    • I also wasn't able to run any examples until later down the path LOL
  6. At this point you can start building, but you don't have to yet.
    • you can take a look at first useless module to see how packages look like and what minimal working setup looks like
    • you can continue to the Move Language Guide
    • you can read the step-by-step articles below, but some of them are a bit outdated and do not depend on the CLI yet
  7. Read Move Language Guide - which is also named "Move Book" for some reason. This will fill in a lot of blanks.
  8. At this point you should realize that Aptos provides a lot of libraries - std, aptos_std, aptos_framework inside AptosFramework
    • you should read them to start getting better understanding of what aptos provides and how Move codebase looks like
    • if you are using JetBrains IDEs then you can find their sources under "External Libraries" in Project Panel
    • otherwise you can browse its source code directly on GitHub.
  9. You can read through these series (there may be more now, so check author's page):

aptos-contracts-annotated's People

Contributors

rafales 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.