@left-curve/types
TypeScript type definitions for the Dango ecosystem.
Installation
npm install @left-curve/types
Usage
import type { Coin, Chain, Address } from "@left-curve/types";
What's included
Core type definitions for:
- Chain - chain configuration, status, and block explorer
- Coins - coin amounts, denominations, and balances
- Transactions - messages, signatures, and transaction types
- Clients - public and signer client interfaces
- Accounts - account types, credentials, and sessions
- Queries - query request/response types for app, wasm, and chain state
- DEX - pools, pairs, orders, and trade types
- Perps - perpetual positions, markets, and funding
- Encoding - binary, hex, JSON, and base64 type definitions
- Transport - transport schemas and GraphQL types
- Indexer - indexed data query types
- Oracle - price feed types
- Hyperlane - cross-chain bridge types
- WebAuthn - passkey credential types
License
TBD