Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

First Move Module Update 1#826

Merged
tippi-fifestarr merged 12 commits intoaptos-labs:mainfrom
tippi-fifestarr:move-draft
Feb 26, 2025
Merged

First Move Module Update 1#826
tippi-fifestarr merged 12 commits intoaptos-labs:mainfrom
tippi-fifestarr:move-draft

Conversation

@tippi-fifestarr
Copy link
Collaborator

Description

Updating this guide, added screenshots, steps, and example code. Designed for Web2 or Solidity developers to get a quick start in writing and publishing Move Modules

Checklist

  • If any existing pages were renamed or removed:
    • Were redirects added to next.config.mjs?
    • Did you update any relative links that pointed to the renamed / removed pages?
  • Do all Lints pass?
    • Have you ran pnpm fmt?
    • Have you ran pnpm lint?

@vercel
Copy link

vercel bot commented Feb 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-docs-nextra ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 5:19pm

# Your First Move Module

This tutorial details how to compile, test, publish and interact with Move modules on the Aptos blockchain. The steps in summary are:
The Aptos blockchain allows developers to write Turing complete smart contracts (called "modules") with the secure-by-design Move language. This means you can do all the blockchain things like sending money, but also write arbitrary code, even games. It all starts with the Move module. Once compiled and deployed with Aptos CLI, you can connect to a published move Module on Aptos like a public API via one of our [many Official SDKs](../sdks/).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The Aptos blockchain allows developers to write Turing complete smart contracts (called "modules") with the secure-by-design Move language. This means you can do all the blockchain things like sending money, but also write arbitrary code, even games. It all starts with the Move module. Once compiled and deployed with Aptos CLI, you can connect to a published move Module on Aptos like a public API via one of our [many Official SDKs](../sdks/).
The Aptos blockchain allows developers to write Turing complete smart contracts (called "modules") with the secure-by-design Move language. Smart contracts enable users to send money with the blockchain, but also write arbitrary code, even games!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the longer version helps explain the context the Move module is in. Just writing a contract without using the SDK to interact with it is incomplete, so I like mentioning it up front (even though it's beyond the scope of the tutorial).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll find a middle ground for the next iteration

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmintuitive I respectfully disagree here, many folks write contracts without using the SDK to interact with it... and I don't see the SDK being used at all here in this tutorial so what's the relevence?

Also to be frank I think the writing here could be stronger — This means you can do all the blockchain things is vague and informal. I'd like the prose to be more concise and professional

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We moved the SDK reference down and used the newer version with more professional concision

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

used the newer version with more professional concision

"The Aptos blockchain allows developers to write Turing complete smart contracts (called "modules") with the secure-by-design Move language. This means you can do all the blockchain things like sending money, but also write arbitrary code, even games. It all starts with the Move module. Once compiled and deployed with Aptos CLI, you can connect to a published move Module on Aptos like a public API via one of our many Official SDKs."

This still looks the same?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be in the newest commit de70beb

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmm i don't think its in the commit de70beb... Unless I'm doing something wrong, it also looks the same in file view...

Screenshot 2025-02-25 at 3 59 07 PM

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your eagle eye and staying with this Andrew, it should now be good to go!

tippi-fifestarr and others added 2 commits February 24, 2025 16:37
Co-authored-by: Andrew Hariri <hariria@usc.edu>
Co-authored-by: Andrew Hariri <hariria@usc.edu>
@tippi-fifestarr
Copy link
Collaborator Author

@hariria Thank you for the feedback, I checked that removing .mdx works, did not know that, thanks! For the intro, we'd like to merge this as is and then work on the intro for the next draft

@hariria
Copy link
Collaborator

hariria commented Feb 24, 2025

For the intro, we'd like to merge this as is and then work on the intro for the next draft

Out of curiosity, why not just change it in this PR?

@tippi-fifestarr
Copy link
Collaborator Author

@hariria just part of our internal workflow and backlog

@hariria
Copy link
Collaborator

hariria commented Feb 24, 2025

??? 🤣 . These are getting merged to main immediately, idky we would postpone this change?

@jmintuitive jmintuitive requested a review from hariria February 25, 2025 15:06
@jmintuitive
Copy link
Collaborator

??? 🤣 . These are getting merged to main immediately, idky we would postpone this change?

Imo the longer intro works well, and we're trying to get an updated version of this merged since it's been blocked for a while, and we want it as a link for in-person events (like Eth Denver this week).

The next version @tippi-fifestarr is talking about is based on user feedback (we did some user reviews of the guide) so that will impact the whole guide somewhat when we get to that revision (likely next week / the week after).

Copy link
Collaborator

@hariria hariria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the general flow of the guide and some of the sections you added (i.e., defining move modules for the audience make a lot of sense), but I don't agree with some of the points raised, hopefully my comments provide some more color on my reasoning.

If we want to work on this over several passes that take place over multiple PRs I would suggest we make the appropriate fixes here before merging into main, since main is the production branch and everyone will see your changes immediately.

Another approach is to create branches on top of this branch, and merge into it. Then you can merge this base branch once everything on top of it has merged into this one.

# Your First Move Module

This tutorial details how to compile, test, publish and interact with Move modules on the Aptos blockchain. The steps in summary are:
The Aptos blockchain allows developers to write Turing complete smart contracts (called "modules") with the secure-by-design Move language. This means you can do all the blockchain things like sending money, but also write arbitrary code, even games. It all starts with the Move module. Once compiled and deployed with Aptos CLI, you can connect to a published move Module on Aptos like a public API via one of our [many Official SDKs](../sdks/).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmintuitive I respectfully disagree here, many folks write contracts without using the SDK to interact with it... and I don't see the SDK being used at all here in this tutorial so what's the relevence?

Also to be frank I think the writing here could be stronger — This means you can do all the blockchain things is vague and informal. I'd like the prose to be more concise and professional

- Updated the opening paragraph for clarity and professionalism.
- Moved SDK mention to the bottom of the tutorial.
- Condensed the Setup section intro for readability.
- Removed unnecessary dashes from headers and formatting.
- Removed reference to Developer’s Journey blog.
- Updated `aptos --version` to be copyable, while seperately showing the expected output.
@tippi-fifestarr
Copy link
Collaborator Author

Thank you again, Andrew!

@tippi-fifestarr tippi-fifestarr merged commit 7fa89e2 into aptos-labs:main Feb 26, 2025
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants