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

#40 in #starknet

Download history 1181/week @ 2023-12-23 1046/week @ 2023-12-30 1600/week @ 2024-01-06 1799/week @ 2024-01-13 1330/week @ 2024-01-20 1238/week @ 2024-01-27 1577/week @ 2024-02-03 1875/week @ 2024-02-10 1943/week @ 2024-02-17 2031/week @ 2024-02-24 2404/week @ 2024-03-02 2406/week @ 2024-03-09 2439/week @ 2024-03-16 3562/week @ 2024-03-23 2720/week @ 2024-03-30 3018/week @ 2024-04-06

12,216 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

~9MB
~169K SLoC