@iota/iota-sdk) is designed for interacting with the IOTA Rebased protocol. It provides utility classes and functions for applications to sign transactions and interact with the IOTA network.
Package Manager Installation
Install the SDK using your preferred package manager:Version Requirements
The SDK requires:- Node.js: version 24 or higher
- Package Manager: pnpm version 9.6.0 to 9.15.9 (for monorepo development)
Release Cycle
The SDK is published to npm registry with a bi-weekly release cycle that syncs with:- Devnet validators
- RPC Server updates
Working with Different Networks
Devnet (Stable)
For production-ready development against Devnet:Localnet (Experimental)
For local development with the latest changes frommain branch:
The
experimental tag contains the latest changes and may be out of sync with the stable release. Use this when developing against a local network.Verifying Installation
After installation, verify the SDK is working:Available Exports
The SDK provides modular exports for different functionality:@iota/iota-sdk/client- IOTA client and network utilities@iota/iota-sdk/transactions- Transaction building@iota/iota-sdk/keypairs/ed25519- Ed25519 keypairs@iota/iota-sdk/keypairs/secp256k1- Secp256k1 keypairs@iota/iota-sdk/keypairs/secp256r1- Secp256r1 keypairs@iota/iota-sdk/multisig- Multisig functionality@iota/iota-sdk/faucet- Faucet integration@iota/iota-sdk/graphql- GraphQL transport@iota/iota-sdk/bcs- Binary Canonical Serialization@iota/iota-sdk/utils- Utility functions@iota/iota-sdk/verify- Signature verification
Building from Source
To build the SDK locally:Next Steps
Quick Start
Get started with a working example
Client Setup
Configure the IotaClient for different networks