17 releases (9 breaking)

0.10.0 Mar 27, 2024
0.8.1 Dec 26, 2023
0.7.2 Nov 4, 2023
0.5.1 Jul 15, 2023
0.1.0 Jan 6, 2022

#38 in #starknet

Download history 2188/week @ 2024-02-15 1974/week @ 2024-02-22 2040/week @ 2024-02-29 2457/week @ 2024-03-07 2459/week @ 2024-03-14 3111/week @ 2024-03-21 3097/week @ 2024-03-28 3322/week @ 2024-04-04 3336/week @ 2024-04-11 2932/week @ 2024-04-18 2833/week @ 2024-04-25 2833/week @ 2024-05-02 2084/week @ 2024-05-09 2644/week @ 2024-05-16 3250/week @ 2024-05-23 2343/week @ 2024-05-30

10,633 downloads per month
Used in 25 crates (12 directly)

MIT/Apache

495KB
12K SLoC

Starknet data types

// TODO: add starknet-core documentation

Benchmark

These results were generated on the author's machine with AMD Ryzen 9 5950X 16-Core Processor running Ubuntu 22.04.1 LTS.

For instructions on running the benchmarks yourself, check out this page.

Native

class_hash              time:   [21.680 ms 21.684 ms 21.688 ms]

WebAssembly

(With its excellent wasm performance, results are only provided for Node.js here. Check out the benchmark page for running the benchmark on other runtimes).

Runtime version:

$ node --version
v18.16.0

Node.js results:

class_hash              time:   [124.48 ms 124.58 ms 124.69 ms]

Dependencies

~9.5MB
~171K SLoC