Skip to content

Commit

Permalink
feat: sui-intent testnet deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Itshyphen committed Nov 5, 2024
1 parent 8db8728 commit 19b6783
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 34 deletions.
10 changes: 5 additions & 5 deletions contracts/sui/intent_v1/Move.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[move]
version = 2
manifest_digest = "6305771898C8BDB218E218C41F747AAA626C65587647B3F4A7184BF915238509"
manifest_digest = "13C0A2D9F68404945B7EC5C1856E141E59DC0EE7AF7A4A8D4D8E44D3F8A9CAE3"
deps_digest = "3C4103934B1E040BB6B23F1D610B4EF9F2F1166A50A104EADCF77467C004C600"
dependencies = [
{ name = "Sui" },
Expand All @@ -23,21 +23,21 @@ dependencies = [

[[move.package]]
name = "sui_rlp"
source = { git = "https://github.com/icon-project/xcall-multi.git", rev = "main", subdir = "contracts/sui/libs/sui_rlp" }
source = { git = "https://github.com/icon-project/xcall-multi.git", rev = "sui-xcall-testnet-deploy", subdir = "contracts/sui/libs/sui_rlp" }

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

[move.toolchain-version]
compiler-version = "1.33.2"
compiler-version = "1.30.1"
edition = "2024.beta"
flavor = "sui"

[env]

[env.testnet]
chain-id = "4c78adac"
original-published-id = "0x468fb4326302ec28df8812a41e400f3a6be4a94d9fcedf51e5935c9ac2a44226"
latest-published-id = "0x468fb4326302ec28df8812a41e400f3a6be4a94d9fcedf51e5935c9ac2a44226"
original-published-id = "0xcc8fb2868f09006b4c8b0699a2648fc7ecc820a8b1195f1086f7d6a78a526d17"
latest-published-id = "0xcc8fb2868f09006b4c8b0699a2648fc7ecc820a8b1195f1086f7d6a78a526d17"
published-version = "1"
46 changes: 17 additions & 29 deletions contracts/sui/intent_v1/Move.toml
Original file line number Diff line number Diff line change
@@ -1,37 +1,25 @@
[package]
name = "intents_v1"
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]

[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }
sui_rlp={git = "https://github.com/icon-project/xcall-multi.git", subdir = "contracts/sui/libs/sui_rlp", rev = "sui-xcall-testnet-deploy"}
# For remote import, use the `{ git = "...", subdir = "...", rev = "..." }`.
# Revision can be a branch, a tag, and a commit hash.
# MyRemotePackage = { git = "https://some.remote/host.git", subdir = "remote/path", rev = "main" }
[addresses]
intent_v1 = "0xcc8fb2868f09006b4c8b0699a2648fc7ecc820a8b1195f1086f7d6a78a526d17"
intents_v1 = "0x0"

# For local dependencies use `local = path`. Path is relative to the package root
# Local = { local = "../path/to" }
[dependencies]

# To resolve a version conflict and force a specific version for dependency
# override use `override = true`
# Override = { local = "../conflicting/version", override = true }
[dependencies.Sui]
git = "https://github.com/MystenLabs/sui.git"
rev = "framework/testnet"
subdir = "crates/sui-framework/packages/sui-framework"

[addresses]
intents_v1 = "0x0"
[dependencies.sui_rlp]
git = "https://github.com/icon-project/xcall-multi.git"
rev = "sui-xcall-testnet-deploy"
subdir = "contracts/sui/libs/sui_rlp"

# Named addresses will be accessible in Move as `@name`. They're also exported:
# for example, `std = "0x1"` is exported by the Standard Library.
# alice = "0xA11CE"
[dev-addresses]

[dev-dependencies]
# The dev-dependencies section allows overriding dependencies for `--test` and
# `--dev` modes. You can introduce test-only dependencies here.
# Local = { local = "../path/to/dev-build" }

[dev-addresses]
# The dev-addresses section allows overwriting named addresses for the `--test`
# and `--dev` modes.
# alice = "0xB0B"

[package]
edition = "2024.beta"
name = "intents_v1"
published-at = "0xcc8fb2868f09006b4c8b0699a2648fc7ecc820a8b1195f1086f7d6a78a526d17"

0 comments on commit 19b6783

Please sign in to comment.