exonum-time
is a time oracle service for Exonum blockchain framework.
This service allows to determine time,
import it from the external world to the blockchain
and keep its current value in the blockchain.
Include exonum-time
as a dependency in your Cargo.toml
:
[dependencies]
exonum = "1.0.0"
exonum-cli = "1.0.0"
exonum-time = "1.0.0"
Examples of the node with exonum-time
service, and service using
exonum-time
service to obtain current time can be found in
the examples folder:
Consult the service description in Exonum docs for a more high-level perspective, in particular, the design rationale and the proof of correctness.
exonum-time
is licensed under the Apache License (Version 2.0).
See LICENSE for details.