diff --git a/mover/dongfang223/code/task1/hello_dongfang223/sources/hello_move.move b/mover/dongfang223/code/task1/hello_dongfang223/sources/hello_move.move new file mode 100644 index 000000000..981271687 --- /dev/null +++ b/mover/dongfang223/code/task1/hello_dongfang223/sources/hello_move.move @@ -0,0 +1,25 @@ +/* +/// Module: hello_move +module hello_move::hello_move { + +} +*/ +module hello_move::hello { + use std::ascii::{String, string}; + use sui::object::{Self,UID}; + use sui::transfer::transfer; + use sui::tx_context::{TxContext, sender}; + + public struct Hello has key{ + id:UID, + say: String + } + + fun init(ctx: &mut TxContext) { + let hello_move = Hello { + id:object::new(ctx), + say: string(b"move"), + }; + transfer(hello_move, sender(ctx)); + } +} \ No newline at end of file diff --git a/mover/dongfang223/code/task1/hello_dongfang223/tests/hello_move_tests.move b/mover/dongfang223/code/task1/hello_dongfang223/tests/hello_move_tests.move new file mode 100644 index 000000000..20e518b34 --- /dev/null +++ b/mover/dongfang223/code/task1/hello_dongfang223/tests/hello_move_tests.move @@ -0,0 +1,19 @@ +/* +#[test_only] +module hello_move::hello_move_tests { + // uncomment this line to import the module + // use hello_move::hello_move; + + const ENotImplemented: u64 = 0; + + #[test] + fun test_hello_move() { + // pass + } + + #[test, expected_failure(abort_code = ::hello_move::hello_move_tests::ENotImplemented)] + fun test_hello_move_fail() { + abort ENotImplemented + } +} +*/ diff --git a/mover/dongfang223/code/task1/readme.md b/mover/dongfang223/code/task1/readme.md new file mode 100644 index 000000000..e69de29bb diff --git a/mover/dongfang223/images/1.png b/mover/dongfang223/images/1.png new file mode 100644 index 000000000..38cadbfd9 Binary files /dev/null and b/mover/dongfang223/images/1.png differ diff --git a/mover/dongfang223/images/2.png b/mover/dongfang223/images/2.png new file mode 100644 index 000000000..f7b48df80 Binary files /dev/null and b/mover/dongfang223/images/2.png differ diff --git a/mover/dongfang223/notes/readme.md b/mover/dongfang223/notes/readme.md new file mode 100644 index 000000000..e69de29bb diff --git a/mover/dongfang223/readme.md b/mover/dongfang223/readme.md new file mode 100644 index 000000000..fd9323d52 --- /dev/null +++ b/mover/dongfang223/readme.md @@ -0,0 +1,54 @@ +## 基本信息 +- Sui钱包地址: `0xd28096207c68280dbfac23f534f6ea5e34dbec93995da3f803316444e1680b59` +> 首次参与需要完成第一个任务注册好钱包地址才被合并,并且后续学习奖励会打入这个地址 +- github: `dongfang223` + +## 个人简介 +- 工作经验: 5年 +- 技术栈: `Rust` `C++` `C#` +> 重要提示 请认真写自己的简介 +- 多年web2开发经验,对Move特别感兴趣,想通过Move入门区块链 +- 联系方式: tg: `[xxx](https://t.me/dongfang223)` + +## 任务 + +## 01 hello move +- [] Sui cli version: 1.29.2-09db80adf1af +- [] Sui钱包截图: ![Sui钱包截图](./images/1.png) +- [] package id: 0x18070381a954ad29e199b8a9293cbad22767111cf9f9cb10893f1c159734f562 +- [] package id 在 scan上的查看截图:![Scan截图](./images/2.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 :