starknet-io/starknet.js
JavaScript library for Starknet observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 17.5
- age_days: 1780
- days_rel: 125
- days_push: 7
- n_releases_24m: 13
Adoption not part of the score
1256 stars · 827 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Starknet.js is the official JavaScript/TypeScript library for interacting with the Starknet L2 network, a ZK-rollup scaling solution for Ethereum. It provides Provider, Account, Contract, and Signer APIs for reading blockchain state, signing transactions, and calling smart contracts written in Cairo.
Use cases
- connect a dapp frontend to the starknet network
- call and invoke starknet smart contracts from javascript
- sign transactions and messages with a starknet account
- deploy new contracts and accounts on starknet
- read blockchain state like blocks and contract storage
- convert cairo types like uint256 to javascript big numbers
- build a wallet or trading interface on starknet
- monitor starknet events over websockets
When to choose
- you are building a web or node.js application on starknet
- you need the official, well-documented client library with full TypeScript support
- you want to interact with Cairo contracts from JavaScript with automatic type transformations
- you need both HTTP and WebSocket RPC channels to starknet nodes
When to avoid
- you are developing contracts in Cairo rather than interacting with them from JS
- you target a different blockchain like Ethereum L1 directly (use ethers.js or viem)
- you need a non-JavaScript language binding for starknet
Facets
library · maturity active
sdk http-client websocket cryptography middleware blockchain web-development developer-tools apis browser cross-platform starknet starkware zk-rollup zk-starks ethereum l2 cairo smart-contracts dapp-development web3 blockchain-client transaction-signing cryptocurrency nodejs javascript typescript
9 sources
- readme: https://github.com/starknet-io/starknet.js · fetched 2026-08-28 · 18a304f082e0
- homepage: https://starknet-js.com · fetched 2026-08-29 · afe84ada1fab
- site_page: https://starknet-js.com/docs/guides/migrate · fetched 2026-08-29 · 367fb5ead562
- site_page: https://starknet-js.com/docs/API · fetched 2026-08-29 · 62a5e5c6d3b8
- site_page: https://starknet-js.com/docs/guides/intro · fetched 2026-08-29 · d45e572cc983
- site_page: https://starknet-js.com/docs/next/guides/why_starknetjs · fetched 2026-08-29 · ddb443824cb1
- site_page: https://starknet-js.com/docs/8.6.0/API · fetched 2026-08-29 · 000ecc093a43
- site_page: https://starknet-js.com/docs/7.6.4/API · fetched 2026-08-29 · cdfedbb9ccfe
- site_page: https://starknet-js.com/docs/6.24.1/API · fetched 2026-08-29 · 8352dd9f0b50
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| starknet-io/starknet.js | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="starknet-io/starknet.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem