Crypto News

Onboarding Move: A Curated Guide

In this article, Ill be sharing my experience learning Move. It is not oriented to give a comprehensive description of the language, but to serve as a curated list of resources that may ease the on-boarding process.

The motivation behind this piece is that I found valuable material being scattered. Similar efforts that I found online seemed to be outdated (Awesome Move, Teach Yourself Move), but nevertheless I strongly recommend checking them out.

Which Move

Move is an open-source, platform agnostic programming language for writing smart contracts. It was originally developed as part of the now abandoned Metas Diem project. Its syntax is inspired by c++ and rust. Its oriented to Resources as first-class constructs.

Move was first described in Resources: A Safe Language Abstraction for Money. We recommend reading chapter 2 and the Bank example to have a first glimpse on the Resource model.

The first thing to notice is that Move has evolved in different paths, following the shape of the blockchains that adopt it as their native language, mainly Aptos and Sui. Each version, although building from a common ground, has differences, so its important to know from which version you are learning about. This might seem obvious, but it confused me for a while. For this guide, Ill focus on Aptos Move (but Im not implying this approach is better).

Move original githubs repository, now redirecting either to move-on-aptos or move-sui.

Tooling

  1. Aptos CLI
  2. If you use VS Code, I recommend the extension: aptos-move-analyzer. Please note that there are other extensions with similar names, but this particular one stands out to me as the most valuable. It depends on the Aptos CLI and a language server, so be sure to strictly follow the installation instructions.

My Recommended Path (Of Many Possible!)

I believe that a good place to start is by joining the Aptos Move community on Discord. Theres a lot to explore under dev-resources, and youll be able to browse FAQs, and even post your questions throughout your journey.

While the official Move Book might seem the appropriate way to go next, I didnt find its definitions explanatory enough. Confusingly, theres another completely different but identically named Move Book from Sui (which ranks first in Google), which didnt ease the process either. My impression is that these are more suitable as a reference for intermediate devs rather than as onboarding resources.

So I think that a better place to go right after joining the community is movespiders.com. It is a code game organized into short lessons much like Soliditys CryptoZombies, and it covers from beginner to intermediate. It is still a work in progress by May 24 (I spotted and reported some minor errors here and there) but overall it is a solid and gentle way to start.

Next, you might want to check out the Aptos Tutorials, especially the first three. These tutorials allow you to play from the client side, experimenting with the Aptos client, the Move compiler, and the Aptos SDK.

At this point, I strongly recommend:

  • Installing the Aptos official wallet, Petra, and experimenting with deployed modules on testnet to have a glimpse of how end users will interact with your contracts. I was pleasantly surprised by two things: the speed of transaction finality in Aptos (the time that takes for a transaction to impact on the blockchain ledger) and that Petra has a built-in `Faucet` button in the GUI to instantly receive testCoins for testnet/devnet chains.
  • Interacting with the Aptos Explorer. Notice that for a given account, it offers tabs to review Transactions, Coins, Tokens, Resources and Modules. Remarkably, it has a built-in GUI to interact with the blockchain!

Up next, I found it illuminating to go through this series from the IMCODING site by Wayne Culbreth. These pieces not only offer a hands-on step-by-step comprehensive tour through Aptos Move core concepts but are introduced alongside the authors thoughts and ideas, which I found quite insightful.

At this point, it might be time to give a chance to the official Aptos Move Tutorial.

Finally, exploring the code examples of the move-examples folder in the aptos-core repository can provide a general idea of what can be built with Move. It is actively maintained and constantly being augmented with more examples contributed by the community.

Bonus stage

  • Since this guide is oriented towards Aptos Move, you might be interested in Aptos-specific topics. I found this article interesting: Understanding Aptos: A Comprehensive Overview.
  • For Solana developers, I recommend reading this excellent piece: Smart Contract Development Move vs. Rust
  • Aptos Learn is constantly adding new tutorials, so it might be worth checking it once in a while. It has an official (and shorter) Move/Rust comparison series that might be interesting to read too.

Outro

I hope this -very opinionated- list can help others ease their own onboarding experiences. Please let me know in the comments if you think that there are valuable resources that should be included here. Stay tuned!

The Entry Onboarding Move: A Curated Guide was published first on CoinFabrik.

Read more: https://www.coinfabrik.com/blog/onboarding-move-a-curated-guide/

Text source: CoinFabrik Blog

Disclaimer: Financial information and news are not financial advice, read the disclaimer.
Buy & sell Crypto in minutes

Join BINANCE!

The world's largest crypto exchange

You're just steps away from receiving your reward.

The most complete Crypto News Center.

Search Stories:

Latest top stories