14 releases (5 stable)

2.0.1 May 13, 2024
2.0.0 Jul 27, 2023
1.1.0 May 3, 2023
1.0.2 Nov 16, 2022
0.1.0 Jul 29, 2020

#6 in #stronghold

Download history 2626/week @ 2024-12-09 1812/week @ 2024-12-16 534/week @ 2024-12-23 1282/week @ 2024-12-30 3453/week @ 2025-01-06 2233/week @ 2025-01-13 1918/week @ 2025-01-20 3822/week @ 2025-01-27 2650/week @ 2025-02-03 3206/week @ 2025-02-10 4547/week @ 2025-02-17 3396/week @ 2025-02-24 3325/week @ 2025-03-03 3549/week @ 2025-03-10 3160/week @ 2025-03-17 2552/week @ 2025-03-24

12,669 downloads per month
Used in 9 crates (via iota_stronghold)

Apache-2.0

255KB
6K SLoC

Engine

Engine is the collection of low-level module with which application architects can build higher-level implementations of Strongholds for a variety of purposes. It is platform agnostic, in that it should run anywhere a Rust Compiler will work.

It is composed of 4 primary module:

  • snapshot
  • vault
  • store
  • runtime

Snapshot

The snapshot protocol follows a fairly simple transparent pattern. Each Snapshot file follows a simple structure:

Header
Magic Bytes
Version Bytes
Body
Ephemeral Key
xchacha20 tag
Cipher Text

Dependencies

~9–33MB
~478K SLoC