-
Notifications
You must be signed in to change notification settings - Fork 888
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1262 from cabbage-go/main
task1作业
- Loading branch information
Showing
5 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module task1::hello { | ||
|
||
use std::string; | ||
use sui::object::{Self, UID}; | ||
use sui::transfer; | ||
use sui::tx_context::{Self, TxContext}; | ||
|
||
public struct Hello has key, store { | ||
id: UID, | ||
text: string::String | ||
} | ||
|
||
public entry fun mint(ctx: &mut TxContext) { | ||
let object = Hello { | ||
id: object::new(ctx), | ||
text: string::utf8(b"cabbage-go") | ||
}; | ||
transfer::transfer(object, tx_context::sender(ctx)); | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
## 基本信息 | ||
- Sui钱包地址: `0x63187c46a1969a901569b35b7184768b5fe0c8d611d8a820e76d215a3f34b58e ` | ||
> 首次参与需要完成第一个任务注册好钱包地址才被合并,并且后续学习奖励会打入这个地址 | ||
- github: cabbage-go | ||
|
||
## 个人简介 | ||
- 工作经验: 2年 | ||
- 技术栈: `Rust` `Python` | ||
> 重要提示 请认真写自己的简介 | ||
- 多年web2开发经验,对Move特别感兴趣,想通过Move入门区块链 | ||
- 联系方式: qq: `9932899995` | ||
|
||
## 任务 | ||
|
||
## 01 hello move | ||
- [] Sui cli version:sui 1.29.2-09db80adf1af | ||
- [] Sui钱包截图: ![Sui钱包截图](./images/QQ_1721797409896.png) | ||
- [] package id: 0x152988cd21ca4d84eb963cbdadfcd7096dd3e2666c711a639e260f5013a58ce1 | ||
- [] package id 在 scan上的查看截图:![Scan截图](./images/image-20240724134059046.png) | ||
|
||
## 02 move coin | ||
- [] My Coin package id : | ||
- [] Faucet package id : | ||
- [] 转账 `My Coin` hash: | ||
- [] `Faucet Coin` address1 mint hash: | ||
- [] `Faucet Coin` address2 mint hash: | ||
|
||
## 03 move NFT | ||
- [] nft package id : | ||
- [] nft object id : | ||
- [] 转账 nft hash: | ||
- [] scan上的NFT截图:![Scan截图](./images/你的图片地址) | ||
|
||
## 04 Move Game | ||
- [] game package id : | ||
- [] deposit Coin hash: | ||
- [] withdraw `Coin` hash: | ||
- [] play game hash: | ||
|
||
## 05 Move Swap | ||
- [] swap package id : | ||
- [] call swap CoinA-> CoinB hash : | ||
- [] call swap CoinB-> CoinA hash : | ||
|
||
## 06 Dapp-kit SDK PTB | ||
- [] save hash : | ||
|
||
## 07 Move CTF Check In | ||
- [] CLI call 截图 : ![截图](./images/你的图片地址) | ||
- [] flag hash : | ||
|
||
## 08 Move CTF Lets Move | ||
- [] proof : | ||
- [] flag hash : |