starkweb
TypeScript icon, indicating that this package has built-in type declarations

0.0.21 • Public • Published
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

Readme

Keywords

none

Package Sidebar

Install

npm i starkweb

Weekly Downloads

61

Version

0.0.21

License

none

Unpacked Size

7.94 MB

Total Files

3950

Last publish

Collaborators

  • wisemrmusa