🐺 Starknet TypeScript types 🚀
Shared TypeScript type definitions for Starknet projects
npm i @starknet-io/types-js
// type import
import type { SomeApiType } from '@starknet-io/types-js'
// or entire namespace import
import { API } from '@starknet-io/types-js'
Wallet API Wallet JSON RPC Specification
// type import
import type { SomeWalletApiType } from '@starknet-io/types-js'
// or entire namespace import
import { WALLET_API } from '@starknet-io/types-js'
- /src/wallet-api/typedData.ts
(MAJOR.MINOR) Version of this package should follow starknet-spec semantic versioning. PATCH version can diverge based on bug-fixes ex. Starknet types v0.7.x <-> Starknet Spec v0.7.x
npm run build
npm run lint
This repository is licensed under the MIT License, see LICENSE for more information.