A TypeScript toolkit for Starknet development.
npm install starkweb
// 1. Import modules
import { createPublicClient, http } from "starkweb";
import { mainnet } from "starkweb/chains";
// 2. Set up your client
const client = createPublicClient({
chain: mainnet,
transport: http(),
});
// 3. Consume an action!
const blockNumber = await client.getBlockNumber();
- Abstractions over JSON-RPC API
- First-class Smart Contract APIs
- Aligned with official Starknet terminology
- Multiple wallet integration options (Browser Extension, WalletConnect, Private Key)
- Native BigInt support
- ABI utilities (encoding/decoding/inspection)
- TypeScript support for ABIs and EIP-712 Typed Data
- Testing suite with network forking
- Integration with popular tools (Anvil, Hardhat, Ganache)
- Follow @NethermindStark for updates
- Join Telegram discussions
MIT