What is @chipi-stack/core?
@chipi-stack/core provides opt-in transaction primitives for developers who need fine-grained control over StarkNet operations. It complements the existing hooks-based SDKs (Next.js, React, Expo) with lower-level building blocks.
When to use core vs hooks
Installation
Quick Example
Package Architecture
core depends only on @chipi-stack/types. It does not modify or depend on @chipi-stack/shared, keeping the two packages independent.
What’s Inside
Amount
Immutable token amount class with BigInt arithmetic, parsing, and formatting.
TxBuilder
Fluent builder for batching StarkNet multicalls into atomic transactions.
Erc20
Typed ERC20 contract wrapper that returns Amount objects.
TokenRegistry
Token metadata lookup by symbol or address, with network presets.
SignerAdapter
Unified signing interface for passkeys, direct keys, and external providers.
