diff --git a/README.md b/README.md index 865f108..a243e8c 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ -# movemnt-hack +# movement-hack Guide material for Movement Hackathons and generally for beginners looking to start projects. ## Using this repository This repository can be used as a guide for learning `movement` or as a template for creating a `movement` project. ### As a guide -To use this repository as a guide, visit [hack.movementlabs.xyz](hack.movement.xyz) or server the `mdBook` located in the `/book` directory. +To use this repository as a guide, visit [hack.movementlabs.xyz](hack.movement.xyz) or serve the `mdBook` located in the `/book` directory. ### As a template -To use this repository as a template for setting up a `movement` project, run `cargo generate -a movemntdev/movement-hack`. +To use this repository as a template for setting up a `movement` project, run `cargo generate -a movementdev/movement-hack`. -When using the containerization features, you may either simply attach to the `movement-dev` devcontainer from VS CODE or run the below to reproduce similar behavior: +When using the containerization features, you may either simply attach to the `movement-dev` devcontainer from VS Code or run the below to reproduce similar behavior: ``` docker image pull mvlbs/m1 @@ -19,4 +19,4 @@ docker run -it -v "$(pwd):/workspace" mvlbs/m1 /bin/bash ## Working on this repository - The easiest way to work on this repository, whether for contributions or your own fork, is to leverage the `devcontainer` [extension](https://code.visualstudio.com/docs/devcontainers/containers) in VsCode and use the `maintainer` container. -- Within the `maintainer` container, to serve the `mdBook` use call `mdbook serve` from the `book` directory. +- Within the `maintainer` container, to serve the `mdBook` use call `mdBook serve` from the `book` directory. diff --git a/book/src/ch01-02-dispersion-of-move.md b/book/src/ch01-02-dispersion-of-move.md index 6ef6ad0..9741f7a 100644 --- a/book/src/ch01-02-dispersion-of-move.md +++ b/book/src/ch01-02-dispersion-of-move.md @@ -1,6 +1,6 @@ # The Dispersion of Move -This lesson will walk you through on the history and expansion of Move, a key smart contract language developed originally for the Diem project by Facebook, but now used across various blockchains. +This lesson will walk you through the history and expansion of Move, a key smart contract language developed originally for the Diem project by Facebook, but now used across various blockchains. ## The Origin: Facebook's Dream @@ -24,8 +24,8 @@ Now **Movement** is working on interoperability of Move-EVM, among other innovat ## The Legacy: The Growing Ecosystem of Move -Present times sees Move not just as a programming language, but as an integral part of a growing ecosystem that extends across various blockchains. By addressing the sophisticated needs of digital asset management, Move has set a new standard in blockchain development, emphasizing safety, flexibility, and scalability. +Currently, Move is seen not just as a programming language, but as an integral part of a growing ecosystem that extends across various blockchains. By addressing the sophisticated needs of digital asset management, Move has set a new standard in blockchain development, emphasizing safety, flexibility, and scalability. ## Conclusion -The spread of Move from Diem to platforms like Aptos and Sui highlights the robust design of the language and the innovation drive of the blockchain community. The journey of Move, from a Facebook initiative to a cornerstone of blockchain technology, showcases how good ideas can surpass their origins and adapt to wider applications. \ No newline at end of file +The spread of Move from Diem to platforms like Aptos and Sui highlights the robust design of the language and the innovation drive of the blockchain community. The journey of Move, from a Facebook initiative to a cornerstone of blockchain technology, showcases how good ideas can surpass their origins and adapt to wider applications. diff --git a/book/src/ch01-03-enter-movement.md b/book/src/ch01-03-enter-movement.md index fdd1a4e..afe019e 100644 --- a/book/src/ch01-03-enter-movement.md +++ b/book/src/ch01-03-enter-movement.md @@ -4,11 +4,11 @@ In this guide, you'll learn about the innovative network of modular Move-based b ## What is Movement Labs? -Movement was born from a simple idea: What If you could take advantage of the Move programming language within any distributed environment? +Movement was born from a simple idea: What if you could take advantage of the Move programming language within any distributed environment? At Movement Labs, we've come together to share our passion for Move with the industry and make our favorite programming language available to as many people around the world as possible. By creating seamless standardization across infrastructures, we can unlock innovation for all. -This is about creating a world where crypto is not just a currency or a technology, it's about creating a movement that brings us all closer together. +This is about creating a world where crypto is not just a currency or a technology, it's about creating a Movement that brings us all closer together. ## Core Principles of Movement @@ -30,4 +30,4 @@ At Movement Labs, we're more than a technology provider. We're pioneers leading ## Join the Movement -If you haven't joined the [Discord](https://discord.gg/movementlabsxyz) yet, do it now to stay in sync with all the next moves! \ No newline at end of file +If you haven't joined the [Discord](https://discord.gg/movementlabsxyz) yet, do it now to stay in sync with all the next moves! diff --git a/book/src/ch02-01-advantages-of-move.md b/book/src/ch02-01-advantages-of-move.md index 628cb50..100b9a7 100644 --- a/book/src/ch02-01-advantages-of-move.md +++ b/book/src/ch02-01-advantages-of-move.md @@ -45,13 +45,13 @@ Resource-oriented programming languages like Move implement access restrictions ## Type Linearity and Ownership -*Linear type:* a type with an enforced the restriction that variables or values of the type can be used exactly once. In other words, each linear value has a unique owner or consumer, and it must be used or consumed linearly without duplication or uncontrolled consumption. +*Linear type:* a type with an enforces the restriction that variables or values of the type can be used exactly once. In other words, each linear value has a unique owner or consumer, and it must be used or consumed linearly without duplication or uncontrolled consumption. ```javascript f(a) -> g(a) -> h(a) ``` -*Non-linear type:* a type without an enforced the restriction that variables or values of the type can be used exactly once. Variables or values of non-linear types can be used or accessed multiple times without restrictions. +*Non-linear type:* a type without an enforces the restriction that variables or values of the type can be used exactly once. Variables or values of non-linear types can be used or accessed multiple times without restrictions. ```javascript f(a) -> diff --git a/book/src/ch02-03-hello-move.md b/book/src/ch02-03-hello-move.md index afd3eb9..a078f18 100644 --- a/book/src/ch02-03-hello-move.md +++ b/book/src/ch02-03-hello-move.md @@ -6,7 +6,7 @@ If not, please [return to the previous lesson](ch02-02-install-movement-cli.md) Now that you have Movement CLI installed, it's time to deploy something to Movement. Ideally and end-to-end (E2E) dApp. -If you'd prefer to build up your confidence first, it's fine to deploy a simple module. Just [follow this guide](https://docs.movementlabs.xyz/developers/tutorials/deploy/aptos-module). It doesn't require any coding experience. +If you'd prefer to build up your confidence first, it's fine to deploy a simple module. Just [follow this guide](https://docs.movementnetwork.xyz/devs/tutorials/Deploy/aptosmodule). It doesn't require any coding experience. An E2E dApp is just an on-chain module or modules paired with a front end like a Next.js or Vite app. So it's not too much more complicated than deploying a module. diff --git a/book/src/ch03-00-domain-modeling.md b/book/src/ch03-00-domain-modeling.md index 08e3464..40cc157 100644 --- a/book/src/ch03-00-domain-modeling.md +++ b/book/src/ch03-00-domain-modeling.md @@ -6,4 +6,4 @@ This chapter will guide you to plan your capstone project in the following ways: - [Understanding principles of domain modeling](ch03-01-domain-modeling-intro.md) - [Writing the user journey for your project](ch03-02-user-journey.md) -- [Creating an archictual diagram to model your project's domain](ch03-03-architectural-diagram.md) +- [Creating an architectural diagram to model your project's domain](ch03-03-architectural-diagram.md) diff --git a/book/src/ch03-01-domain-modeling-intro.md b/book/src/ch03-01-domain-modeling-intro.md index f9208c4..e799449 100644 --- a/book/src/ch03-01-domain-modeling-intro.md +++ b/book/src/ch03-01-domain-modeling-intro.md @@ -2,11 +2,11 @@ To plan your dApp, you'll write a user journey and then model your dApp's domain. -A domain model is a visual representation of the concepts and objects related to your dApp. There's no "right" or "wrong" format for domain modeling. As long as the model accurately represents all the components of your dApp's domain in a way that helps you buidl, you're good! +A domain model is a visual representation of the concepts and objects related to your dApp. There's no "right" or "wrong" format for domain modeling. As long as the model accurately represents all the components of your dApp's domain in a way that helps you build, you're good! ## Example: The Domain Model for Move -Using the architecture diagram for Move, we can understand how a picture is worth a thousand - or at least a few dozes - words: +Using the architecture diagram for Move, we can understand how a picture is worth a thousand - or at least a few dozen - words: ![Move architecture diagram](./img/move_architecture.png "Move architecture diagram") @@ -38,4 +38,4 @@ You'll even label your diagram with Move code, so when it's time to write your c This will save you tons of time and heavy lifting as you build your dream dApp. -Let's Move! \ No newline at end of file +Let's Move! diff --git a/book/src/ch04-01-primitive-types.md b/book/src/ch04-01-primitive-types.md index 42d42ff..a5edbc2 100644 --- a/book/src/ch04-01-primitive-types.md +++ b/book/src/ch04-01-primitive-types.md @@ -1,6 +1,6 @@ # Primitive types -After completing this lession, you'll be able to define and assign values to primitive types (integer types, as operator, boolean, address). +After completing this lesson, you'll be able to define and assign values to primitive types (integer types, as operator, boolean, address). ## Understanding Primitive Types in Move with Everyday Examples diff --git a/book/src/ch04-03-expressions-and-scope.md b/book/src/ch04-03-expressions-and-scope.md index d683675..c78fb16 100644 --- a/book/src/ch04-03-expressions-and-scope.md +++ b/book/src/ch04-03-expressions-and-scope.md @@ -1,6 +1,6 @@ # Expressions and scope -By the end of this lesson, you'll demonstrate mastery of expressions and scope, including being able to evaluate when variables are accessible and what the values of experssions will be after execution. +By the end of this lesson, you'll demonstrate mastery of expressions and scope, including being able to evaluate when variables are accessible and what the values of expressions will be after execution. In Move, expressions and scope are fundamental concepts that dictate how data is manipulated and accessed within your programs. Let's delve deeper into these concepts with more examples to illustrate their practical use in blockchain development. diff --git a/book/src/ch04-05-modules-and-imports.md b/book/src/ch04-05-modules-and-imports.md index b2cc01c..570c939 100644 --- a/book/src/ch04-05-modules-and-imports.md +++ b/book/src/ch04-05-modules-and-imports.md @@ -28,7 +28,7 @@ module 0x1::SimpleMath { This SimpleMath module provides two functions, add and subtract, which can be used by other parts of your Move application. -## Importing from Modules +## Importing Modules To use the functionality defined in a module, you must import it. This can be done in scripts or other modules. @@ -104,7 +104,7 @@ module user_manager_addr::UserManager { } ``` -Here we're using a named address. +Here we use a named address. For Aptos, in your `Move.toml` file, under `[addresses]` you would add: