JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q59912F

Package Exports

  • starkweb
  • starkweb/accounts
  • starkweb/actions
  • starkweb/chains
  • starkweb/chains/utils
  • starkweb/cli
  • starkweb/connectors
  • starkweb/core
  • starkweb/query
  • starkweb/react
  • starkweb/siws
  • starkweb/starknetId
  • starkweb/utils
  • starkweb/window

Readme

StarkWeb Logo

Starkweb · all-in-one Starknet Toolkit

npm version License

A TypeScript toolkit for Starknet development.

Installation

npm install starkweb

Quick Start

// 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();

Features

  • 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)

Community

License

MIT