Skip to main content

Structure: Engine

github github


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


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

Magic Bytes
Version Bytes
Ephemeral Key
xchacha20 tag
Cipher Text