Skip to content

Commit e0e747e

Browse files
author
楽色
authored
fisrt task
1 parent 4940e6a commit e0e747e

File tree

9 files changed

+164
-0
lines changed

9 files changed

+164
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# @generated by Move, please check-in and do not edit manually.
2+
3+
[move]
4+
version = 2
5+
manifest_digest = "8B7DC3EDF1D81F9E2D46D8251E70F4B8D7097878F02438454C30AEF9F05D81D0"
6+
deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082"
7+
dependencies = [
8+
{ name = "Sui" },
9+
]
10+
11+
[[move.package]]
12+
name = "MoveStdlib"
13+
source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/testnet", subdir = "crates/sui-framework/packages/move-stdlib" }
14+
15+
[[move.package]]
16+
name = "Sui"
17+
source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/testnet", subdir = "crates/sui-framework/packages/sui-framework" }
18+
19+
dependencies = [
20+
{ name = "MoveStdlib" },
21+
]
22+
23+
[move.toolchain-version]
24+
compiler-version = "1.31.1"
25+
edition = "2024.beta"
26+
flavor = "sui"
27+
28+
[env]
29+
30+
[env.testnet]
31+
chain-id = "4c78adac"
32+
original-published-id = "0x8113a0ddffa2c900afb3bdbccef1912c8bfa19e7a43d94532b3470c7533c7902"
33+
latest-published-id = "0x8113a0ddffa2c900afb3bdbccef1912c8bfa19e7a43d94532b3470c7533c7902"
34+
published-version = "1"
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[package]
2+
name = "hello_move"
3+
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
4+
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
5+
# authors = ["..."] # e.g., ["Joe Smith (joesmith@noemail.com)", "John Snow (johnsnow@noemail.com)"]
6+
7+
[dependencies]
8+
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }
9+
10+
# For remote import, use the `{ git = "...", subdir = "...", rev = "..." }`.
11+
# Revision can be a branch, a tag, and a commit hash.
12+
# MyRemotePackage = { git = "https://some.remote/host.git", subdir = "remote/path", rev = "main" }
13+
14+
# For local dependencies use `local = path`. Path is relative to the package root
15+
# Local = { local = "../path/to" }
16+
17+
# To resolve a version conflict and force a specific version for dependency
18+
# override use `override = true`
19+
# Override = { local = "../conflicting/version", override = true }
20+
21+
[addresses]
22+
hello_move = "0x0"
23+
24+
# Named addresses will be accessible in Move as `@name`. They're also exported:
25+
# for example, `std = "0x1"` is exported by the Standard Library.
26+
# alice = "0xA11CE"
27+
28+
[dev-dependencies]
29+
# The dev-dependencies section allows overriding dependencies for `--test` and
30+
# `--dev` modes. You can introduce test-only dependencies here.
31+
# Local = { local = "../path/to/dev-build" }
32+
33+
[dev-addresses]
34+
# The dev-addresses section allows overwriting named addresses for the `--test`
35+
# and `--dev` modes.
36+
# alice = "0xB0B"
37+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module hello_move::hello_move {
2+
use std::ascii::{String, string};
3+
use sui::object::{Self, UID};
4+
use sui::transfer::transfer;
5+
use sui::tx_context::{TxContext, sender};
6+
7+
public struct Hello has key {
8+
id: UID,
9+
say: String
10+
}
11+
12+
fun init(ctx: &mut TxContext) {
13+
let hello_move = Hello {
14+
id:object::new(ctx),
15+
say: string(b"LinkTimes"),
16+
};
17+
transfer(hello_move, sender(ctx));
18+
}
19+
}
20+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
#[test_only]
3+
module hello_move::hello_move_tests {
4+
// uncomment this line to import the module
5+
// use hello_move::hello_move;
6+
7+
const ENotImplemented: u64 = 0;
8+
9+
#[test]
10+
fun test_hello_move() {
11+
// pass
12+
}
13+
14+
#[test, expected_failure(abort_code = ::hello_move::hello_move_tests::ENotImplemented)]
15+
fun test_hello_move_fail() {
16+
abort ENotImplemented
17+
}
18+
}
19+
*/

mover/Linktimes/code/readme.md

Whitespace-only changes.
293 KB
Loading
471 KB
Loading

mover/Linktimes/notes/readme.md

Whitespace-only changes.

mover/Linktimes/readme.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
## 基本信息
2+
- Sui钱包地址: `0x73214a320bf2b2e37c6267f6f920257601e6e2ef92a1e18648953eb7dbfeceb1`
3+
> 首次参与需要完成第一个任务注册好钱包地址才被合并,并且后续学习奖励会打入这个地址
4+
- github: `LinkTimes`
5+
6+
## 个人简介
7+
- 工作经验: 0年
8+
- 技术栈: `Java`
9+
> 重要提示 请认真写自己的简介
10+
- 丰富Java EE开发经验,对Move特别感兴趣,想通过Move入门区块链
11+
- 联系方式: tg: `linkTimie`
12+
13+
## 任务
14+
15+
## 01 hello move
16+
- [x] Sui cli version: sui-client 1.31.1-1bf77fe12ab9
17+
- [x] Sui钱包截图: ![Sui钱包截图](./images/wallet-scan.png)
18+
- [x] package id: 0x8113a0ddffa2c900afb3bdbccef1912c8bfa19e7a43d94532b3470c7533c7902
19+
- [x] package id 在 scan上的查看截图:![Scan截图](./images/hello-package.png)
20+
21+
## 02 move coin
22+
- [] My Coin package id :
23+
- [] Faucet package id :
24+
- [] 转账 `My Coin` hash:
25+
- [] `Faucet Coin` address1 mint hash:
26+
- [] `Faucet Coin` address2 mint hash:
27+
28+
## 03 move NFT
29+
- [] nft package id :
30+
- [] nft object id :
31+
- [] 转账 nft hash:
32+
- [] scan上的NFT截图:![Scan截图](./images/你的图片地址)
33+
34+
## 04 Move Game
35+
- [] game package id :
36+
- [] deposit Coin hash:
37+
- [] withdraw `Coin` hash:
38+
- [] play game hash:
39+
40+
## 05 Move Swap
41+
- [] swap package id :
42+
- [] call swap CoinA-> CoinB hash :
43+
- [] call swap CoinB-> CoinA hash :
44+
45+
## 06 Dapp-kit SDK PTB
46+
- [] save hash :
47+
48+
## 07 Move CTF Check In
49+
- [] CLI call 截图 : ![截图](./images/你的图片地址)
50+
- [] flag hash :
51+
52+
## 08 Move CTF Lets Move
53+
- [] proof :
54+
- [] flag hash :

0 commit comments

Comments
 (0)