Skip to content

Commit

Permalink
Merge pull request #66 from osrm/main
Browse files Browse the repository at this point in the history
chore: polish sentences, fix typos and invalid link
  • Loading branch information
andygolay authored Aug 7, 2024
2 parents 3d15c16 + e6e9f12 commit 006f9b9
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 22 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
6 changes: 3 additions & 3 deletions book/src/ch01-02-dispersion-of-move.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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.
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.
6 changes: 3 additions & 3 deletions book/src/ch01-03-enter-movement.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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!
If you haven't joined the [Discord](https://discord.gg/movementlabsxyz) yet, do it now to stay in sync with all the next moves!
4 changes: 2 additions & 2 deletions book/src/ch02-01-advantages-of-move.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down
2 changes: 1 addition & 1 deletion book/src/ch02-03-hello-move.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion book/src/ch03-00-domain-modeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 3 additions & 3 deletions book/src/ch03-01-domain-modeling-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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!
Let's Move!
2 changes: 1 addition & 1 deletion book/src/ch04-01-primitive-types.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion book/src/ch04-03-expressions-and-scope.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 2 additions & 2 deletions book/src/ch04-05-modules-and-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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:

Expand Down

0 comments on commit 006f9b9

Please sign in to comment.