sui-sdks

Route Sui SDK selection and migration to version-matched TypeScript and Rust APIs.

10|5|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/MystenLabs/skills --skill sui-sdks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sui-sdks
Source: https://github.com/MystenLabs/skills/tree/main/sui-sdks
Command: npx skills add https://github.com/MystenLabs/skills --skill sui-sdks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents incorrect or outdated guidance when users ask which Sui SDK to use, how to migrate between SDK generations, or how to interpret Sui SDK APIs safely without mixing patterns.

Core Features & Use Cases

  • Correct SDK selection across languages: Recommends the two official Mysten Labs SDK surfaces (TypeScript @mysten/sui and Rust sui-rust-sdk) while clearly flagging that Python/Go/Dart/Kotlin/Swift/Vue are community-maintained.
  • Migration accuracy (v1 to v2): Avoids cross-wiring @mysten/sui.js (v1) and @mysten/sui (v2) by enforcing generation-specific client, transaction, and result-status patterns.
  • Version-matched API referencing: Instructs the agent to consult bundled, installed-package LLM docs (e.g., node_modules/@mysten/sui/docs/llms-index.md) instead of guessing or relying on potentially mismatched web docs.
  • Cross-SDK portability: Provides side-by-side operation mapping so porting core PTB concepts between TypeScript and Rust is done with the correct API semantics.

Quick Start

Use the sui-sdks skill to determine whether to use the official TypeScript or Rust SDK (or a specific community SDK) and to get a precise migration path if the user is currently on @mysten/sui.js or older TS patterns.

Frequently Asked Questions about sui-sdks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Which Sui SDK should I use for a new TypeScript or Rust project?

For Sui SDK selection, choose the official Mysten Labs surfaces: TypeScript `@mysten/sui` or Rust `sui-rust-sdk`. Python, Go, Dart, Kotlin, Swift, and Vue SDKs are community-maintained and carry different support and risk profiles.

How do I migrate from Sui SDK v1 to v2 in TypeScript?

Sui SDK migration from v1 to v2 requires enforcing generation-specific client, transaction, and result-status patterns. Avoid cross-wiring `@mysten/sui.js` with `@mysten/sui` to prevent mixing incompatible API patterns during the transition.

How do I port programmable transaction block workflows between TypeScript and Rust?

Porting PTB workflows between TypeScript and Rust requires explicit cross-SDK operation mapping to ensure correct API semantics. Use side-by-side operation references to translate core programmable transaction concepts accurately across languages.

Where can I find version-matched Sui SDK API documentation for TypeScript?

For version-matched Sui SDK TypeScript API answers, consult bundled node_modules LLM docs like `node_modules/@mysten/sui/docs/llms-index.md`. This prevents guessing or relying on potentially mismatched web documentation for installed package versions.

Are Python or Go SDKs officially supported for Sui blockchain development?

Python and Go Sui SDKs are community-maintained, not official Mysten Labs surfaces. Official support is limited to the TypeScript `@mysten/sui` and Rust `sui-rust-sdk` packages, meaning community SDKs carry additional maintenance and accuracy risks.