{"id":26991658,"url":"https://github.com/yugensource/poh-yugen","last_synced_at":"2025-06-27T23:04:29.892Z","repository":{"id":284040578,"uuid":"953634320","full_name":"YugenSource/PoH-yugen","owner":"YugenSource","description":"A proof-of-history (PoH) implementation using Digests trait (allowing for multiple hash functions) while maintaining easy to use API and advanced features.","archived":false,"fork":false,"pushed_at":"2025-04-12T18:41:19.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T17:07:43.142Z","etag":null,"topics":["blockchain","clock","consensus","consensus-algorithm","digest","hash","hashing","poh","proof-of-history","rust","rust-lang","solana","time","timestamping","vdf","yugensource"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YugenSource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-23T19:54:22.000Z","updated_at":"2025-04-12T18:41:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f779282-080d-4c4f-add4-4b63d14264c2","html_url":"https://github.com/YugenSource/PoH-yugen","commit_stats":null,"previous_names":["yugensource/poh-yugen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YugenSource/PoH-yugen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugenSource%2FPoH-yugen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugenSource%2FPoH-yugen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugenSource%2FPoH-yugen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugenSource%2FPoH-yugen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YugenSource","download_url":"https://codeload.github.com/YugenSource/PoH-yugen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugenSource%2FPoH-yugen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262347476,"owners_count":23296894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","clock","consensus","consensus-algorithm","digest","hash","hashing","poh","proof-of-history","rust","rust-lang","solana","time","timestamping","vdf","yugensource"],"created_at":"2025-04-03T22:16:27.835Z","updated_at":"2025-06-27T23:04:29.869Z","avatar_url":"https://github.com/YugenSource.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PoH-yugen (Proof-of-History Implementation)\n\n**Author:** @silene0259\n\n**Date:** 2024-03-23\n\n## Description\n\n**Proof-of-History** offers a realistic way of measuring time using **hash functions** and **ticks** (time intervals). `PoH-yugen` features advanced features like custom configuration including:\n\n* Interval Choosing (Ticks)\n* Max Entries (Number of Ticks Per Slot)\n* Generic Hash Functions (any that use the `digest` trait)\n* Appending Data Per Tick\n* Seeding\n* Other Advanced Features\n\n## Usage\n\n```rust\nuse poh_yugen::{PoHConfig,PoHUsage,InitialSeed,TickEntryType};\nuse sha2::Sha256;\n\nfn main() {\n    let config = PoHConfig::new(Sha256::new(), 32, 100, Some(1000), true, true, TickEntryType::Data);\n    let seed = InitialSeed([0; 64]);\n    let mut poh = PoHUsage::new(config, seed, Some(vec![1, 2, 3]), vec![]);\n    println!(\"{:?}\", poh.state);\n    println!(\"Initializing PoH...\");\n    // Initialize the PoH process\n    poh.init();\n}\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugensource%2Fpoh-yugen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyugensource%2Fpoh-yugen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugensource%2Fpoh-yugen/lists"}