Starknet.js - JavaScript library for StarkNet

This is a topic for issues, requests and news on Starknet.js

Repo is here: GitHub - 0xs34n/starknet.js: JavaScript library for StarkNet

74 Likes

Current development update:
Main issue:
Adapt tests for Cairo v0.9.0 · Issue #204 · 0xs34n/starknet.js
Most important PR pending:
Adding RPC provider to the library by MilGard91 · Pull Request #193 · 0xs34n/starknet.js

37 Likes

New release:
Release v3.13.0 · 0xs34n/starknet.js
And patch release:
Release v3.13.1 · 0xs34n/starknet.js

32 Likes

allls hellow glad to be here

27 Likes

Any contribution here is appreciated!

27 Likes

v4 released with RPC support!

Release v4.0.0

23 Likes

Starknet.js workshop updated to new starknet.js version and issues fixed:

0xs34n/starknet.js-workshop

21 Likes

With this 4.6.0 release starknet.js should be fully RPC 1.0 compliant.

Next step is covering RPC 2.0

Note: Please also keep in mind that due to network congestions it is possible to experience timeouts during rpc calls, like: Error: 25: Invalid transaction hash

20 Likes

Hi all, Starknet.js 4.7.0 pre-release contains support for the 0.10 starknet, but v1 transactions exclusively!

So this is very important: 4.6 is the last Starknet.js supporting v0 transactions!

On top of this, additional work was done regarding RPC specs, and of course bugfixes.

22 Likes

Release v4.8.0

16 Likes

NEW-VERSION of starknet.js (v4.9.0) can be fetched (npm install starknet@next):

  • support for Starknet 0.10.1
  • Declare Transaction v1
  • various fixes
19 Likes

New version with support for UDC is released:

15 Likes

New version of starknet.js released, with support of RPC 0.2.1:

19 Likes

You are maybe aware that soon StarkNet will not allow free deployments of Accounts.
That is why we modified and updated our workshop repo, which you can check out on how to adapt your flow: GitHub - 0xs34n/starknet.js-workshop
It uses the newest Account and ERC20 OpenZeppelin contacts.
For an example that uses the Argent Account contract check out: GitHub - 0xs34n/starknet.js-account
For the theory check out this guide: Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.
NOTE: starknet.js guides are not yet up to date with these changes, but they will be very soon

18 Likes

:wave: all!
We opened a twitter account for starknet.js, so if you want to follow news regarding the lib, drop a follow :slight_smile:
https://twitter.com/starknetjs

3 Likes

Hi all!
Starknet.js v5 is officially released!
i.e. you can get it via npm install starknet instead of npm install starknet@next
more info: