Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update move.md #1499

Merged
merged 1 commit into from
Apr 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions doc/src/build/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ must satisfy a certain set of properties.
One of the basic operations in Sui is transfer of gas objects between
[addresses](https://github.com/diem/move/blob/main/language/documentation/book/src/address.md)
representing individual users. And one of the
simplest entry functions is defined in the SUI
[module](https://github.com/MystenLabs/sui/tree/main/sui_programmability/framework/sources/SUI.move) to
implement gas object transfer:
simplest entry functions is defined in the
[SUI module](https://github.com/MystenLabs/sui/tree/main/sui_programmability/framework/sources/SUI.move)
to implement gas object transfer:

```rust
public(script) fun transfer(c: Coin::Coin<SUI>, recipient: address, _ctx: &mut TxContext) {
Expand Down Expand Up @@ -283,11 +283,9 @@ wallet in [Calling Move code](wallet.md#calling-move-code).
## Writing a package

In order to build a Move package and run code defined in
this package, first [install Sui binaries](install.md).

Then clone the repository as described in
[Contributing to Sui](../contribute/index.md#download-and-learn-sui)
as this tutorial assumes you have a clone of Sui's repository in your current directory.
this package, first [install Sui binaries](install.md#binaries) and
[clone the repository](install.md#source-code) as this tutorial assumes
you have the Sui repository source code in your current directory.

Refer to the code example developed for this tutorial in the
[M1.move](https://github.com/MystenLabs/sui/tree/main/sui_programmability/tutorial/sources/M1.move) file.
Expand Down