Sui.

Post

Share your knowledge.

article banner.
D’versacy .
Aug 14, 2025
Article

*Choosing the Right SDKs and Tools for Your Sui Project 🚀*

Are you building a web dApp, backend indexer, or mobile app on Sui? 🤔 With multiple SDKs and tools available, selecting the right ones can be overwhelming. In this article, we'll guide you through the process, providing a quick mapping of SDKs to use cases, project scaffolds, and integration patterns.

SDKs and Use Cases 📚

  1. TypeScript SDK (@mysten/sui, @mysten/sui.js): Perfect for:
    • Web apps and React frontends 🌐
    • Quick proofs of concept 🤔
    • Node backends that don't require heavy native performance 📦
    • dApp wallet integrations and PTB building 💼
  2. Rust SDK & crates (sui-core, sui-sdk crates): Ideal for:
    • Validators and high-performance backend services ⚡️
    • Off-chain services that need speed and low-level control 🔧
    • Integration with native systems 🤖
  3. Mobile (Swift/Kotlin community SDKs): Use community libraries, but verify maintenance and compatibility before production 📱

Project Scaffolds 🏗️

  1. Web dApp (React + TS SDK): npx create-react-app my-sui-dapp --template typescript cd my-sui-dapp npm i @mysten/sui

Use dApp Kit or SDK examples for a head start 🚀

  1. Backend Indexer (Rust):
    • Start from Sui repo examples or sui-sdk crate docs
    • Set up a service that consumes RPC events or scans transactions and writes to a database for fast reads 📊

Development Tooling 🛠️

  1. Testing: sui move test for Move unit tests; test locally to avoid publishing until ready 🔒
  2. Local Devnet: sui scripts to run single-node or multi-node devnets for integration testing 🌐
  3. CI: Include sui move build and sui move test in CI to catch Move-specific compile errors early 🚨

When to Choose Rust vs TypeScript 🤔

  1. TypeScript: Fast iteration, many web libraries, and easy wallet integration 🌟
  2. Rust: Low-latency processing, native bindings, or validator-level tooling 🔩

Get Started Today 🎉

Check out the Sui docs and GitHub repo for more information and resources:

  • TypeScript SDK docs and quickstart 📚
  • Sui repo & Rust tooling 🤖

By following this guide, you'll be well on your way to building a successful Sui project 🚀. Happy building!

  • Sui
0
Share
Comments
.