Skip to content

Commit

Permalink
fix:修改task-2、task-3为主网
Browse files Browse the repository at this point in the history
  • Loading branch information
yizuo committed Dec 9, 2024
1 parent 2b885b2 commit 54dc2cd
Show file tree
Hide file tree
Showing 12 changed files with 303 additions and 1,165 deletions.
10 changes: 5 additions & 5 deletions mover/yizuo66/code/task-2/yizuo_coin/Move.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ dependencies = [
]

[move.toolchain-version]
compiler-version = "1.38.1"
compiler-version = "1.38.3"
edition = "2024.beta"
flavor = "sui"

[env]

[env.testnet]
chain-id = "4c78adac"
original-published-id = "0xa86b066a51f60c6c86b20f61d3c17b58be469ded3c8068837c4a6d7106f66761"
latest-published-id = "0xa86b066a51f60c6c86b20f61d3c17b58be469ded3c8068837c4a6d7106f66761"
[env.mainnet]
chain-id = "35834a8a"
original-published-id = "0x2076506802cfdf80533f90e9b973fe5d2d258c3c86ce57249f91a017b5d9877c"
latest-published-id = "0x2076506802cfdf80533f90e9b973fe5d2d258c3c86ce57249f91a017b5d9877c"
published-version = "1"
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module yizuo_coin::yizuo_coin;
*/


module yizuo_coin::yizuo ;
use sui::coin::create_currency;
use std::option::{none};
Expand Down
31 changes: 0 additions & 31 deletions mover/yizuo66/code/task-2/yizuo_coin/sources/yizuo_rmb.move

This file was deleted.

524 changes: 0 additions & 524 deletions mover/yizuo66/code/task-2/yizuo_coin/yizuo.log

This file was deleted.

251 changes: 48 additions & 203 deletions mover/yizuo66/code/task-2/yizuo_coin/yizuo_call.log

Large diffs are not rendered by default.

17 changes: 2 additions & 15 deletions mover/yizuo66/code/task-2/yizuo_coin/yizuo_call.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
sui client call --package 0x2 \
--module coin \
--function mint_and_transfer \
--type-args 0xcc61159ac83c2ea47d730268f85a25081a79d86a7dec7aff4e2cd9b076edb608::yizuo::YIZUO \
--args 0xe5757f08cc942536816c83c9a73e863a496719e19b9d8349df9d1f331204277d 1000000000 0xae8da2da7d08b7591709a6e6ff95e1a64067526087749aa4ecf8bb5cb4b8e273
--type-args 0x2076506802cfdf80533f90e9b973fe5d2d258c3c86ce57249f91a017b5d9877c::yizuo::YIZUO \
--args 0xe2f304c059d687020ddc5b2590c811d1b1fd4e9a1e180dca5ddbfbad55adb395 1000000000 0x05df3dd3f3c4836af29c1df7467dff16dadf29b4843373a1726e0b1575afb8a0


sui client call --package 0x2 \
--module coin \
--function mint_and_transfer \
--type-args 0x1484c74770daea990bca0821296b7c740d83e484c4e342dafc4aed68b5e0e6b0::yizuo::YIZUO \
--args 0x3104577ea239b03fc4cfa3bcb7ed167e5f1ac79d4f2b6c9f10a414e6946497d8 1000000000 0xae8da2da7d08b7591709a6e6ff95e1a64067526087749aa4ecf8bb5cb4b8e273


sui client call --package 0x2 \
--module coin \
--function mint_and_transfer \
--type-args 0xa86b066a51f60c6c86b20f61d3c17b58be469ded3c8068837c4a6d7106f66761::yizuo_rmb::YIZUO_RMB \
--args 0xd057f05afd299294f21e9764a97e5b69d866a15c25cb753cc49d7a1969194072 1000000000 0xae8da2da7d08b7591709a6e6ff95e1a64067526087749aa4ecf8bb5cb4b8e273
163 changes: 163 additions & 0 deletions mover/yizuo66/code/task-2/yizuo_coin/yizuo_coin.log

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions mover/yizuo66/code/task-2/yizuo_coin_bak/Move.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "yizuo_coin"
edition = "2024.beta"

[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }

[addresses]
yizuo_coin = "0x0"

10 changes: 5 additions & 5 deletions mover/yizuo66/code/task-3/yizuo_nft/Move.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ dependencies = [
]

[move.toolchain-version]
compiler-version = "1.38.1"
compiler-version = "1.38.3"
edition = "2024.beta"
flavor = "sui"

[env]

[env.testnet]
chain-id = "4c78adac"
original-published-id = "0x4f46f827a7994ea523175dcb7e6ee67d817e0719daeead1734ce7998871c62ab"
latest-published-id = "0x4f46f827a7994ea523175dcb7e6ee67d817e0719daeead1734ce7998871c62ab"
[env.mainnet]
chain-id = "35834a8a"
original-published-id = "0xef9e556799a43706f830525df3383b1b14a2538cb84b5fa0ee867e494db462ce"
latest-published-id = "0xef9e556799a43706f830525df3383b1b14a2538cb84b5fa0ee867e494db462ce"
published-version = "1"
435 changes: 61 additions & 374 deletions mover/yizuo66/code/task-3/yizuo_nft/yizuo_nft.logs

Large diffs are not rendered by default.

Binary file modified mover/yizuo66/images/task-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions mover/yizuo66/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
- [X] package id 在 scan上的查看截图:![Scan截图](./images/02.jpg)

## 02 move coin
- [X] My Coin package id : 0xa86b066a51f60c6c86b20f61d3c17b58be469ded3c8068837c4a6d7106f66761
- [X] Faucet package id : 0xa86b066a51f60c6c86b20f61d3c17b58be469ded3c8068837c4a6d7106f66761
- [X] 转账 `My Coin` hash: 4U1k1E5WoTHtsehWRtsXHMqJbmvTGfUeWczohgnMankS
- [X] `Faucet Coin` address1 mint hash: DnzjD5us383qHyoerjzBdUsW63ybCNnn6pUL6gqCRQ2Z
- [X] `Faucet Coin` address2 mint hash: 4U1k1E5WoTHtsehWRtsXHMqJbmvTGfUeWczohgnMankS
- [X] My Coin package id : 0x2076506802cfdf80533f90e9b973fe5d2d258c3c86ce57249f91a017b5d9877c
- [X] Faucet package id : 0x2076506802cfdf80533f90e9b973fe5d2d258c3c86ce57249f91a017b5d9877c
- [X] 转账 `My Coin` hash: GzcdSrkjVcs6WLafCYdtjQ8W3fNadFttp3zcGBxedMQM
- [X] `Faucet Coin` address1 mint hash: 0x05df3dd3f3c4836af29c1df7467dff16dadf29b4843373a1726e0b1575afb8a0
- [X] `Faucet Coin` address2 mint hash: 0xae8da2da7d08b7591709a6e6ff95e1a64067526087749aa4ecf8bb5cb4b8e273

## 03 move NFT
- [X] nft package id : 0x4f46f827a7994ea523175dcb7e6ee67d817e0719daeead1734ce7998871c62ab
- [X] nft object id : 0x0233b5402c9060ee3c8fc983f7ca3c9fd2deb8eb81c4faf58fa6d58a63550b09
- [X] 转账 nft hash: FbcDBqtxeoi1xX4Yh1WPnj6eGRYiZ1FiAtDLjzXwjyjU
- [X] nft package id : 0xef9e556799a43706f830525df3383b1b14a2538cb84b5fa0ee867e494db462ce
- [X] nft object id : 0xef96a32c4468c1bcdf79399f0baa475475eb4874d08811d579a1abe075acb225
- [X] 转账 nft hash: GmWJzpwrtBpfrrmBSu4sKKstQ44ToTC3V3KpKJahuPgu
- [X] scan上的NFT截图:![Scan截图](./images/task-3.jpg)

## 04 Move Game
Expand Down

0 comments on commit 54dc2cd

Please sign in to comment.