LovYou.EventGraph
0.5.0
dotnet add package LovYou.EventGraph --version 0.5.0
NuGet\Install-Package LovYou.EventGraph -Version 0.5.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LovYou.EventGraph" Version="0.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LovYou.EventGraph" Version="0.5.0" />
<PackageReference Include="LovYou.EventGraph" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LovYou.EventGraph --version 0.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LovYou.EventGraph, 0.5.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LovYou.EventGraph@0.5.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LovYou.EventGraph&version=0.5.0
#tool nuget:?package=LovYou.EventGraph&version=0.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LovYou.EventGraph
A hash-chained, append-only, causal event graph. The foundation for building systems where every action is signed, auditable, and causally linked.
Install
dotnet add package LovYou.EventGraph
Quick Start
using EventGraph;
// Create store and bootstrap
var store = new InMemoryStore();
var signer = new NoopSigner();
var source = new ActorId("actor_alice");
var boot = EventFactory.CreateBootstrap(source, signer);
store.Append(boot);
// Record an event — hash-chained and causally linked
var ev = EventFactory.CreateEvent(
new EventType("trust.updated"),
source,
new Dictionary<string, object?> { ["score"] = 0.85, ["domain"] = "code_review" },
new List<EventId> { boot.Id },
new ConversationId("conv_1"),
boot.Hash,
signer);
store.Append(ev);
// Verify chain integrity
var result = store.VerifyChain();
Console.WriteLine(result.Valid); // True
What's Included
- Types — Always-valid domain models: Score [0,1], Weight [-1,1], Activation [0,1], Layer [0,13], Cadence [1,+inf), typed IDs (EventId, ActorId, Hash, etc.)
- Event — Immutable events with canonical form, SHA-256 hash chain, and causal links
- Store — IStore interface and InMemoryStore with chain integrity enforcement
- Bus — Pub/sub event bus with pattern-based subscriptions
- Primitive — IPrimitive interface, lifecycle state machine, and registry
- Tick Engine — Ripple-wave processor with cadence control and quiescence detection
Conformance
This package produces identical SHA-256 hashes to the Go reference implementation for the same canonical form inputs. 94 tests including conformance hash vectors.
Links
License
BSL 1.1 converting to Apache 2.0 on 26 February 2030.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- NSec.Cryptography (>= 25.4.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on LovYou.EventGraph:
| Package | Downloads |
|---|---|
|
LovYou.EventGraph.Sqlite
SQLite store for EventGraph |
|
|
LovYou.EventGraph.SqlServer
SQL Server store for EventGraph |
|
|
LovYou.EventGraph.Postgres
PostgreSQL store for EventGraph |
GitHub repositories
This package is not used by any popular GitHub repositories.