Skip to content

Commit

Permalink
move club to new package
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptowen committed Feb 20, 2024
1 parent ce8dc66 commit e442dbb
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ jobs:
version: 8.6.2
- run: pnpm install
- run: pnpm test
- run: cp .env.example .env
- run: REQUEST_SUI=1 task demo
# - run: cp .env.example .env
# - run: REQUEST_SUI=1 task demo
2 changes: 1 addition & 1 deletion Move.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[move]
version = 0
manifest_digest = "CB5C1ED9A551F08BF2B584C1253BA080B7C016384E5B84C2BC87003DBA82AB3F"
manifest_digest = "53778E8270EF9C2EB1DAEC9B858A5BD2645CAB561CA364E7D55A4415F5DCFB32"
deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082"

dependencies = [
Expand Down
3 changes: 2 additions & 1 deletion Move.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "SocialCoin"
version = "1.0.0"
published-at = "0x782716705e81a98a80d3eca78ab2ecf5fe8586b804aefc8ffb7ec0fb3b04df88"

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

[addresses]
socialcoin = "0x0"
socialcoin = "0x782716705e81a98a80d3eca78ab2ecf5fe8586b804aefc8ffb7ec0fb3b04df88"
sui = "0x2"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Social Coin

## Mainnet Contract Addresses

- SocialCoin: [0x782716705e81a98a80d3eca78ab2ecf5fe8586b804aefc8ffb7ec0fb3b04df88](https://suiexplorer.com/object/0x782716705e81a98a80d3eca78ab2ecf5fe8586b804aefc8ffb7ec0fb3b04df88?module=socialcoin)
31 changes: 31 additions & 0 deletions packages/club/Move.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# @generated by Move, please check-in and do not edit manually.

[move]
version = 0
manifest_digest = "2954B8D8F51D861A3E9AC352098CE4900D4A46FE004F07AC3760F614EF4EFA1F"
deps_digest = "3C4103934B1E040BB6B23F1D610B4EF9F2F1166A50A104EADCF77467C004C600"

dependencies = [
{ name = "SocialCoin" },
{ name = "Sui" },
]

[[move.package]]
name = "MoveStdlib"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.13.0", subdir = "crates/sui-framework/packages/move-stdlib" }

[[move.package]]
name = "SocialCoin"
source = { local = "../.." }

dependencies = [
{ name = "Sui" },
]

[[move.package]]
name = "Sui"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.13.0", subdir = "crates/sui-framework/packages/sui-framework" }

dependencies = [
{ name = "MoveStdlib" },
]
12 changes: 12 additions & 0 deletions packages/club/Move.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "club"
version = "1.0.0"

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

[addresses]
club = "0x0"
sui = "0x2"
social_coin = "0x782716705e81a98a80d3eca78ab2ecf5fe8586b804aefc8ffb7ec0fb3b04df88"
2 changes: 1 addition & 1 deletion sources/club.move → packages/club/sources/club.move
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module socialcoin::club {
module club::club {
use std::vector;
use sui::clock::{Clock, timestamp_ms};
use sui::table_vec;
Expand Down

0 comments on commit e442dbb

Please sign in to comment.