Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish MVR Verified Package

on:
# Trigger on manual button click
workflow_dispatch:

permissions:
contents: write
id-token: write
actions: read

jobs:
publish:
# Sui MVR Provenance action (fork from https://github.com/zktx-io/sui-mvr-provenance)
uses: DeeptradeProtocol/sui-mvr-provenance/.github/workflows/deploy_with_slsa3.yml@37b7f20283ad2a9a039d012722be5ebe4b4bbac2
with:
# Path to the folder containing your Move.toml
working-directory: packages/deeptrade-core
# Sui version to use for the build
sui-version: "1.62.1"
secrets:
# Pass your deployer key into the action's expected secret name
ED25519_PRIVATE_KEY: ${{ secrets.DEPLOYER_KEY }}
16 changes: 6 additions & 10 deletions packages/deeptrade-core/Move.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[move]
version = 3
manifest_digest = "EC7C6207D6B902886ACC53FAE5243A118AAC1FC3BCF2B34B26A921E54A97E69B"
manifest_digest = "69931A1480BE3DF484F425E055C6C764F7512F1B0D6FF5EBFE31A5313B1021A4"
deps_digest = "CAFAD8A7CF51067FB4358215BECB86BD100DD64E57C2AC8A7AE7D74B688F5965"
dependencies = [
{ id = "Bridge", name = "Bridge" },
Expand All @@ -16,7 +16,7 @@ dependencies = [

[[move.package]]
id = "Bridge"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "664b05b3b047c5bb03979d093660176176ea6175", subdir = "crates/sui-framework/packages/bridge" }
source = { git = "https://github.com/MystenLabs/sui.git", rev = "4e8b6eda7d6411d80c62f39ac8a4f028e8d174c4", subdir = "crates/sui-framework/packages/bridge" }

dependencies = [
{ id = "MoveStdlib", name = "MoveStdlib" },
Expand All @@ -26,7 +26,7 @@ dependencies = [

[[move.package]]
id = "MoveStdlib"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "664b05b3b047c5bb03979d093660176176ea6175", subdir = "crates/sui-framework/packages/move-stdlib" }
source = { git = "https://github.com/MystenLabs/sui.git", rev = "4e8b6eda7d6411d80c62f39ac8a4f028e8d174c4", subdir = "crates/sui-framework/packages/move-stdlib" }

[[move.package]]
id = "Pyth"
Expand All @@ -39,15 +39,15 @@ dependencies = [

[[move.package]]
id = "Sui"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "664b05b3b047c5bb03979d093660176176ea6175", subdir = "crates/sui-framework/packages/sui-framework" }
source = { git = "https://github.com/MystenLabs/sui.git", rev = "4e8b6eda7d6411d80c62f39ac8a4f028e8d174c4", subdir = "crates/sui-framework/packages/sui-framework" }

dependencies = [
{ id = "MoveStdlib", name = "MoveStdlib" },
]

[[move.package]]
id = "SuiSystem"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "664b05b3b047c5bb03979d093660176176ea6175", subdir = "crates/sui-framework/packages/sui-system" }
source = { git = "https://github.com/MystenLabs/sui.git", rev = "4e8b6eda7d6411d80c62f39ac8a4f028e8d174c4", subdir = "crates/sui-framework/packages/sui-system" }

dependencies = [
{ id = "MoveStdlib", name = "MoveStdlib" },
Expand Down Expand Up @@ -91,14 +91,10 @@ dependencies = [
]

[move.toolchain-version]
compiler-version = "1.56.2"
compiler-version = "1.62.1"
edition = "2024.beta"
flavor = "sui"

[env]

[env.mainnet]
chain-id = "35834a8a"
original-published-id = "0x232b6dccf004919ce5deb1a7ee3d0e9f1c71170c9402ec1918aa212754baadb3"
latest-published-id = "0x232b6dccf004919ce5deb1a7ee3d0e9f1c71170c9402ec1918aa212754baadb3"
published-version = "1"
2 changes: 1 addition & 1 deletion packages/deeptrade-core/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ multisig = { git = "https://github.com/DeeptradeProtocol/multisig-move.git", sub
[addresses]
# Workaround for Sui compiler bug (#22194) causing namespace conflicts with dependencies.
# This address must be set to `0x0` for deployment or upgrades. See `docs/dev-notes.md`.
deeptrade_core = "0x232b6dccf004919ce5deb1a7ee3d0e9f1c71170c9402ec1918aa212754baadb3"
deeptrade_core = "0x0"
13 changes: 13 additions & 0 deletions packages/deeptrade-core/mvr.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"network": "mainnet",
"owner": "0x8763507d111c8dde6a68a8103e08dcf32a5206307b2c65607d6facbb3d5afb3a",
"app_name": "@testapp/test-app-03-04-2026",
"app_desc": "My Test App Description",
"upgrade_cap": null,
"app_cap": null,
"pkg_info": null,
"icon_url": "https://www.w3.org/StyleSheets/TR/2021/logos/W3C",
"homepage_url": "https://myapp.site",
"documentation_url": "https://docs.myapp.site",
"contact": "team@myapp.site"
}