
Info: The following instructions are based on official guides here
Install Dependency
Check the official doc here to install the necessary dependencies. Please note that the dependencies vary for different operation systems.
Install Sui binary
Run `cargo install`
cargo install --locked --git https://github.com/MystenLabs/sui.git --tag sui-v1.0.0 sui
and it will be saved at `$HOME/.cargo/bin/sui`
Build after the codebase is downloaded
# binary will be generated under sui/target/release,
git clone https://github.com/MystenLabs/sui.git
cd sui/
git checkout sui-v1.0.0-release
cargo build --release
Verify install
sui -V
Once you see the version information, you are all done!
Congrats!
https://marketplace.visualstudio.com/items?itemName=move.move-analyzer
You can read the complete documentation here
Create new address
sui client new-address secp256k1
The command returns a new address and the 24-word recovery phrase for it.
Check all your address
the following command returns the list of account addresses available on the platform:
The response resembles the following:
0x008e9c621f4fdb210b873aab59a1e5bf32ddb1d33ee85eb069b348c234465106
0x011a285261b9f8d10a0c7ecb4c0dbe6d396825768dba38c3056809472736e521
0x4ab708d1a4160fa0fdbf359691764e16380444ddb48d2b8856a169594a9baa55
0xa3c00467938b392a12355397bdd3d319cea5c9b8f4fc9c51b46b8e15a807f030
0xa56612ad4f5dbc04c651e8d20f56af3316ee6793335707f29857bacabf9127d0 <=
The <= indicates the active address.
You can switch to a different address.
Manage Networks
Add devnet
sui client new-env --alias devnet --rpc https://fullnode.devnet.sui.io:443
Add testnet
sui client new-env --alias testnet --rpc https://fullnode.testnet.sui.io:443
Get devnet token
curl --location --request POST 'https://faucet.devnet.sui.io/gas' --header 'Content-Type: application/json' --data-raw '{"FixedAmountRequest":{"recipient":"<WALLET ADDRESS>"}}'
Switch to devnet env
sui client switch --env devnet
Check gas balance
sui client gas <wallet-address>
In this lecture, you learned how to install Sui and use basic Sui client commands. Stay tuned for our next tutorial!

Info: The following instructions are based on official guides here
Install Dependency
Check the official doc here to install the necessary dependencies. Please note that the dependencies vary for different operation systems.
Install Sui binary
Run `cargo install`
cargo install --locked --git https://github.com/MystenLabs/sui.git --tag sui-v1.0.0 sui
and it will be saved at `$HOME/.cargo/bin/sui`
Build after the codebase is downloaded
# binary will be generated under sui/target/release,
git clone https://github.com/MystenLabs/sui.git
cd sui/
git checkout sui-v1.0.0-release
cargo build --release
Verify install
sui -V
Once you see the version information, you are all done!
Congrats!
https://marketplace.visualstudio.com/items?itemName=move.move-analyzer
You can read the complete documentation here
Create new address
sui client new-address secp256k1
The command returns a new address and the 24-word recovery phrase for it.
Check all your address
the following command returns the list of account addresses available on the platform:
The response resembles the following:
0x008e9c621f4fdb210b873aab59a1e5bf32ddb1d33ee85eb069b348c234465106
0x011a285261b9f8d10a0c7ecb4c0dbe6d396825768dba38c3056809472736e521
0x4ab708d1a4160fa0fdbf359691764e16380444ddb48d2b8856a169594a9baa55
0xa3c00467938b392a12355397bdd3d319cea5c9b8f4fc9c51b46b8e15a807f030
0xa56612ad4f5dbc04c651e8d20f56af3316ee6793335707f29857bacabf9127d0 <=
The <= indicates the active address.
You can switch to a different address.
Manage Networks
Add devnet
sui client new-env --alias devnet --rpc https://fullnode.devnet.sui.io:443
Add testnet
sui client new-env --alias testnet --rpc https://fullnode.testnet.sui.io:443
Get devnet token
curl --location --request POST 'https://faucet.devnet.sui.io/gas' --header 'Content-Type: application/json' --data-raw '{"FixedAmountRequest":{"recipient":"<WALLET ADDRESS>"}}'
Switch to devnet env
sui client switch --env devnet
Check gas balance
sui client gas <wallet-address>
In this lecture, you learned how to install Sui and use basic Sui client commands. Stay tuned for our next tutorial!

Sui Move Lecture #4 Functions and strings
In this lecture, we will talk about functions and strings in Sui Move. You can see the public functions of any packages with explorer.public functionsFunction VisibilitySui Move functions have three types of visibility:private: the default visibility of a function; it can only be accessed by functions inside the same modulepublic: the function is accessible by functions inside the same module, and by functions defined in another modulepublic(friend): the function is accessible by functions in...

Meet the Web3 Projects Building Smart Contracts on Bitcoin
For quite some time, the cryptocurrency ecosystem can be quickly summarized this way: you use Bitcoin to spend and store value, but you build apps that can increase this value on the Ethereum blockchain. But this year, several developers working on Bitcoin have launched breakthrough after breakthrough that would allow Bitcoin to also be the blockchain that you can use to build apps. While new features such as Ordinals and BRC-20 have gotten most of the spotlight, the Web3 movement that is wor...

Move Lecture #6 Unit Test
Hello, everyone! In today’s lecture, we will discuss the Sui Move unit test. Following our previous lectures, you should have a general idea about how to code with Sui Move. If you didn’t read the previous lectures, check out here.Why do we need unit test?Unit tests are necessary for smart contracts because they:Ensure correctness: By writing unit tests, developers can verify that their smart contracts perform as intended and handle various scenarios correctly.Identify bugs and vulnerabilitie...

Sui Move Lecture #4 Functions and strings
In this lecture, we will talk about functions and strings in Sui Move. You can see the public functions of any packages with explorer.public functionsFunction VisibilitySui Move functions have three types of visibility:private: the default visibility of a function; it can only be accessed by functions inside the same modulepublic: the function is accessible by functions inside the same module, and by functions defined in another modulepublic(friend): the function is accessible by functions in...

Meet the Web3 Projects Building Smart Contracts on Bitcoin
For quite some time, the cryptocurrency ecosystem can be quickly summarized this way: you use Bitcoin to spend and store value, but you build apps that can increase this value on the Ethereum blockchain. But this year, several developers working on Bitcoin have launched breakthrough after breakthrough that would allow Bitcoin to also be the blockchain that you can use to build apps. While new features such as Ordinals and BRC-20 have gotten most of the spotlight, the Web3 movement that is wor...

Move Lecture #6 Unit Test
Hello, everyone! In today’s lecture, we will discuss the Sui Move unit test. Following our previous lectures, you should have a general idea about how to code with Sui Move. If you didn’t read the previous lectures, check out here.Why do we need unit test?Unit tests are necessary for smart contracts because they:Ensure correctness: By writing unit tests, developers can verify that their smart contracts perform as intended and handle various scenarios correctly.Identify bugs and vulnerabilitie...
Hello world! Follow us for tips and insights on branding, marketing, and entrepreneurship. Join us in creating the future of Web3.
Hello world! Follow us for tips and insights on branding, marketing, and entrepreneurship. Join us in creating the future of Web3.
Share Dialog
Share Dialog

Subscribe to Artech.Club

Subscribe to Artech.Club
<100 subscribers
<100 subscribers
No activity yet