Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.82 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.82 KB

Starknet types JS/TS

🐺 Starknet TypeScript types 🚀

GitHub Workflow Status Project license Pull Requests welcome

Shared TypeScript type definitions for Starknet projects

Installation

npm i @starknet-io/types-js

Types

// type import
import type { SomeApiType } from '@starknet-io/types-js';
// or entire namespace import
import { API } from '@starknet-io/types-js';
// 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

Version

(MAJOR.MINOR) Version of this package follows starknet-spec semantic versioning. PATCH version can diverge based on bug-fixes Starknet types v0.7.x <-> Starknet Spec v0.7.x

Devs Build

npm run build

Devs Testing

npm run lint

License

This repository is licensed under the MIT License, see LICENSE for more information.