sui-deployer
/sui-deployer
Wdraża i aktualizuje pakiety Move w sieciach devnet, testnet i mainnet, zarządza UpgradeCaps i planuje strategię wdrożenia.
- Autor
- first-mover-tw ↗
- Repozytorium
- sui-dev-agents ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 30.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 30.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/deploy-devnet.sh, scripts/deploy-testnet.sh
Co robi i kiedy
Wdraża i aktualizuje pakiety Move w sieciach devnet, testnet i mainnet, zarządza UpgradeCaps i planuje strategię wdrożenia.
Wyzwalacze z opisu
Oryginalny opis (EN)
Use when deploying or upgrading Move packages to devnet/testnet/mainnet, managing UpgradeCaps, or planning deployment strategy. Triggers on "deploy", "publish", "upgrade package", "sui client publish", "mainnet release", "staged rollout", or any deployment/release task. Also use when the user asks about package versioning or upgrade compatibility.
Jak działa
- Quick Start
- SUI Protocol Deployment Updates (now mainnet v1.80.1 / Protocol 137)
- Deployment Stages
- Upgrade Management
- Post-Deployment Checklist
- Common Mistakes
Podgląd SKILL.md
--- name: sui-deployer description: Use when deploying or upgrading Move packages to devnet/testnet/mainnet, managing UpgradeCaps, or planning deployment strategy. Triggers on "deploy", "publish", "upgrade package", "sui client publish", "mainnet release", "staged rollout", or any deployment/release task. Also use when the user asks about package versioning or upgrade compatibility. --- # SUI Deployer **Staged deployment orchestration for SUI Move packages.** ## Quick Start ```bash # Build and publish to current network sui client publish --gas-budget 100000000 # Dry-run first (recommended) sui client publish --dry-run --gas-budget 100000000 # Publish and preserve all dependencies in bytecode dump sui client publish --dump-bytecode-as-base64 --no-tree-shaking ``` ## SUI Protocol Deployment Updates (now mainnet v1.80.1 / Protocol 137) **RPC Migration (CRITICAL):** - **JSON-RPC is shut off on public fullnodes** — permanent deactivation landed 2026-07-31. Quorum Driver fully disabled. - **gRPC is the primary API** — transaction submission exclusively via Transaction Driver. - `sui client` CLI already uses gRPC internally — no changes needed for CLI workflows. **gRPC Endpoints:** | Network | Endpoint | |---------|----------| | Mainnet | `grpc.mainnet.sui.io:443` | | Testnet | `grpc.testnet.sui.io:443` | | Devnet | `grpc.devnet.sui.io:443` | **Protocol 127 Notes (shipped testnet v1.74.0):** - **Timestamp-based epoch close (P127 mainnet behavior):** Mainnet switches to timestamp-based epoch close at P127 — no operator action required. (Live on both networks since P127/P128; mainnet now v1.80.1 / P137. First shipped testnet v1.74.0.) - **New Move VM (Testnet):** Active on testnet. Account for gas metering differences in cross-network testing. - **Offline Bytecode Dump:** `sui move build --dump --no-tree-shaking` works offline — enables air-gapped deployment pipelines. - **Compatibility verification** enabled by default (was opt-in). **Protocol 135 Notes (mainnet v1.78.1, live since 2026-08-29):** - **`sui::package::original_package_id(cap: &UpgradeCap): ID`** — new framework function (native-backed): returns the original (first-version) package ID that the cap authorizes upgrades for. Aborts `EUpgradeInProgress` while an `UpgradeTicket` is outstanding and `EInvalidPackageVersion` if `cap.version == 0` or the package at `cap.package` is not at `cap.version`. Lets tooling derive the original ID from the cap instead of trusting a hand-entered value — call it (dev-inspect / PTB) when recording or auditing upgrades. Nothing else in the CLI upgrade flow changed (no flags added/removed in v1.78.x; `sui keytool --keystore-path` regression fixed, #27662). **Protocol 136 Notes (CLI v1.79.0+; mainnet is now v1.80.1 / P137):** - **`sui move test --package-size <MB>` (new flag, PR 27826):** raises/lowers the package arena size used by the test VM. The arena limit is now a protocol config (`package_arena_size_in_bytes`, default 10MB — same as the old hardcoded value, so no behavior change at the default). A package that exceeds it fails with `PACKAGE_ARENA_LIMIT_REACHED`; bump `--package-size` only for tests, not as a substitute for splitting an oversized package. - Available from CLI v1.79.0 onward. Do not assume it exists on a `sui` binary pinned to 1.78.x. **CLI Breaking Changes (v1.77.2 / P133, verified against installed `sui` 1.77.2 `--help`; no further CLI flag changes through v1.78.1):** - **`sui client send-funds`:** the `--stateless` flag is **removed**. Use `--from-address-balance` instead — funds a transfer from the sender's address balance; without it, coin objects are used first and the address balance is only tapped if coin objects don't cover the amount. Recipients always receive into their address balance. - **`sui client verify-source`:** reworked. It now takes an optional `[package_path]` positional (defaults to `.`) instead of a package-id argument, and reads on-chain metadata to rebuild with the toolchain used at publish time. `--verify-deps`, `--skip-source`, and `--address-override` are **removed**. New: downloaded toolchains are cached (default 5, tune with `SUI_BINARY_CACHE_LIMIT`), `--toolchain <path>` to verify against a local binary, `--json` for metadata output. ## Deployment Stages ### Stage 1: Devnet ```bash sui client switch --env devnet sui client publish --gas-budget 100000000 ``` Quick iteration, no verification needed. ### Stage 2: Testnet ```bash sui client switch --env testnet sui move test # run all tests first sui client publish --gas-budget 200000000 ``` Public testing, 48+ hours soak time before mainnet. ### Stage 3: Mainnet ```bash sui client switch --env mainnet sui client publish --gas-budget 500000000 ``` Requires: security audit, multisig UpgradeCap transfer, rollback plan. ## Upgrade Management ```bash # Step 1: Build upgrade bytecode sui move build --dump-bytecode-as-base64 # Step 2: Execute upgrade with existing UpgradeCap sui client upgrade --gas-budget 200000000 --upgrade-capability <UPGRADE_CAP_ID> ``` **UpgradeCap best practices:** - Transfer to multisig address immediately after first publish - Store the cap object ID in your deployment records - Use `sui client object <CAP_ID>` to verify cap ownership - Since P135, `sui::package::original_package_id(&cap)` returns the first-version package ID — use it to cross-check your records against the cap ## Post-Deployment Checklist 1. Save published **package ID** and **UpgradeCap ID** 2. Transfer UpgradeCap to multisig/admin address 3. Update frontend `.env` with new package ID 4. Run smoke tests against deployed package 5. Verify on-chain bytecode via explorer (Suivision / Suiscan) ## Common Mistakes ❌ **Forgetting to transfer UpgradeCap** — stuck in deployer address, cannot upgrade with multisig later. Transfer immediately after publish. ❌ **Not saving deployment artifacts** — lost package IDs mean you can't verify on-chain code or reference it. Save package ID + upgrade cap ID + tx digest. ❌ **Not updating frontend package IDs** — frontend calls old package, all transactions fail. Automate package ID updates in `.env` post-deployment. See [reference.md](references/reference.md) for upgrade compatibility rules and [examples.md](references/examples.md) for deployment scripts. If the CLI is missing or you hit `client/server api version mismatch`, see the **sui-install** skill.
Pliki w paczce (5)
- SKILL.md 6 KB
- references/examples.md 1 KB
- references/reference.md 1 KB
- scripts/deploy-devnet.sh 1 KB
- scripts/deploy-testnet.sh 1 KB
Wersje
W bazie nie ma innych skilli o nazwie sui-deployer.
Migawka bazy z 13.11.2026 · wersja paczki 30eb720387aa (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100deploy-to-mainnet
Wdraża pakiet Sui Move na mainnet po sprawdzeniu go na testnecie, przy publikacji na produkcję w Sui. - 100deploy-to-testnet
Wdraża pakiet Sui Move na testnet i zapisuje identyfikator pakietu oraz UpgradeCap. - 90sui-networks-gas
Wyjaśnia sieci Sui (Mainnet, Testnet, Devnet, Localnet) i koszty gazu: obliczenia, budżety i epoki, bez poleceń CLI. - 100sui-publish
Publikuje, aktualizuje i wdraża pakiety Move na Sui w wielu sieciach, uruchamia sieć lokalną i diagnozuje błędy próbnego wdrożenia. - 100solana-network
Pokazuje bieżącą sieć Solana i przełącza między devnet, testnet, localnet i mainnet-beta. - 100deployment
Wdraża kontrakty Clarity na testnet lub mainnet: plany Clarinet, skrypty wydań, inicjalizację i kontrole po wdrożeniu.