spnr_lib/lib.rs
1//! Rust library for building smart contracts on the [Internet Computer].
2//! More specifically it is used by [Spinner.Cash], a decentralized layer-2 protocol enabling private transactions for ICP and BTC.
3//!
4//! * [x] [Stable storage](storage::StableStorage).
5//! * [x] [Append-only log](log::Log) using stable storage.
6//! * [x] [Flat merkle tree](flat_tree::FlatTree) that is well suited for stable storage.
7//! * [ ] Even queue.
8//!
9//! All source code are original and released under GPLv3.
10//! Please make sure you understand the requirement and risk before using them in your own projects.
11//!
12//! [Internet Computer]: https://wiki.internetcomputer.org
13//! [Spinner.Cash]: https://github.com/spinner-cash
14
15pub mod event_queue;
16pub mod flat_tree;
17pub mod log;
18pub mod storage;