Skip to content

spacemeshos/post-rs

Repository files navigation

codecov

Rust implementation of PoST protocol

👉 Refer to https://github.com/spacemeshos/protocol/blob/master/post.md for more information on Proof of Space-Time protocol.

Includes:

  • initializing data:
  • generating PoST
  • verifying PoST

Build dependencies

Bindgen

Bindgen is required to generate bindings to C for calling the scrypt-jane C library (indirect dependency from scrypt-jane-rs). It depends on clang. Follow these instructions to install it.

Randomx-rs

RandomX, that randomx-rs depends on, requires cmake. Follow these instructions to install it.

Post Service

Please refer to service README for instructions.