Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PhilippeR26/types-js

 
 

Repository files navigation

Support starknet.js on drips.network

🐺 Starknet TypeScript types 🚀 definitions for Starknet projects

Installation

RPC 0.10.3 - beta (stable not yet released)

npm version Spec
npm i @starknet-io/[email protected] rc3 - latest beta
npm i @starknet-io/[email protected] rc2
npm i @starknet-io/[email protected] rc1
npm i @starknet-io/[email protected] rc0

RPC 0.10.2 - latest (Starknet 0.14.2)

npm i @starknet-io/[email protected]

RPC 0.10.0 - (Starknet 0.14.1)

npm i @starknet-io/[email protected]

RPC 0.9 - (Starknet 0.14)

npm i @starknet-io/[email protected]

RPC 0.8 - old (Starknet 0.13)

npm i @starknet-io/[email protected]

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';
// type import
import type { TypedData } from '@starknet-io/types-js';
// namespace import
import { PAYMASTER_API } from '@starknet-io/types-js';

Versioning

MAJOR and MINOR version of this package follows starknet-spec semantic versioning. The PATCH version can diverge based on the bug fixes.

Ex. Starknet types-js v0.10 == Starknet Spec v0.10

To prevent auto update of the minor, meaning significant RPC JSON specification change use fixed or patch range ex. ~0.9.0

Devs Build

npm run build

Devs Testing

npm run lint

License

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

About

Fork of starknet.io/types-js

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%