32 releases (15 breaking)

0.16.0 Aug 29, 2025
0.16.0-rc.2 Jul 23, 2025
0.13.0 Mar 25, 2025
0.12.0 Sep 18, 2024
0.1.0 Jan 6, 2022

#238 in #web3

Download history 9465/week @ 2025-09-21 11115/week @ 2025-09-28 11232/week @ 2025-10-05 9433/week @ 2025-10-12 13716/week @ 2025-10-19 17386/week @ 2025-10-26 14154/week @ 2025-11-02 14912/week @ 2025-11-09 13408/week @ 2025-11-16 20131/week @ 2025-11-23 18711/week @ 2025-11-30 20331/week @ 2025-12-07 23082/week @ 2025-12-14 17726/week @ 2025-12-21 17352/week @ 2025-12-28 14932/week @ 2026-01-04

74,022 downloads per month
Used in 65 crates (19 directly)

MIT/Apache

1MB
19K SLoC

Starknet data types

// TODO: add starknet-core documentation

Benchmark

These results were generated on the author's machine with Apple M3 Max running macOS 14.5.

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

Native

cairo0_class_hash       time:   [9.1665 ms 9.1690 ms 9.1718 ms]
sierra_class_hash       time:   [6.6931 ms 6.6944 ms 6.6958 ms]

WebAssembly

(Results are only provided for wasmtime here. Check out the benchmark page for running the benchmark on other runtimes).

Runtime version:

$ wasmtime --version
wasmtime-cli 21.0.1 (cedf9aa0f 2024-05-22)

wasmtime results:

cairo0_class_hash       time:   [36.515 ms 36.526 ms 36.538 ms]
sierra_class_hash       time:   [22.550 ms 22.557 ms 22.567 ms]

Dependencies

~13MB
~242K SLoC