| Crates.io | atlas-entry |
| lib.rs | atlas-entry |
| version | 3.0.0 |
| created_at | 2025-09-03 09:04:01.03755+00 |
| updated_at | 2025-09-03 09:04:01.03755+00 |
| description | Atlas Entry - Fundamental building block of Proof of History |
| homepage | https://atlaschain.io/ |
| repository | https://github.com/atlas-chain/atlas-entry |
| max_upload_size | |
| id | 1822205 |
| size | 207,669 |
A fundamental building block of Proof of History for the Atlas blockchain.
The Atlas Entry module contains a unique ID that is the hash of the Entry before it, plus the hash of the transactions within it. Entries cannot be reordered, and its field num_hashes represents an approximate amount of time since the last Entry was created.
Add this to your Cargo.toml:
[dependencies]
atlas-entry = "3.0.0"
use atlas_entry::entry::Entry;
use atlas_entry::poh::Poh;
// Create a new PoH instance
let mut poh = Poh::new(hash, Some(hashes_per_tick));
// Generate entries with transactions
let entry = Entry::new(&prev_hash, num_hashes, transactions);
Licensed under the Apache License, Version 2.0
Atlas Chain Foundation