Starknet.js

JSON →
library 10.0.2 ·javascript
verified Jun 4, 2026

JavaScript/TypeScript library for interacting with Starknet, a ZK-rollup Layer 2 on Ethereum. This library provides a complete interface for account management, contract interaction, and transaction signing. Current stable version 10.0.2 (released November 2024) with monthly releases. It requires Node.js >=22 (breaking from previous 18 support) and is ESM-only from v6. Key differentiators: official SDK from Starkware, supports both RPC and sequencer APIs.