Pure sign + log + anchor library for agent proof
Project description
Nexus Ledger — Signed proof that your agents did the work
Built by Mercury & Vickson of Vickson Enterprises ☿️
Nexus Ledger is a pure sign + log + anchor library.
from nexus_ledger import Agent
agent = Agent("Mercury")
agent.log("delivered_research", {"topic": "market analysis"})
tx = agent.anchor({"task": "research", "result": "complete"})
Core model
- keypair = identity
- signature = proof
- Solana memo anchor = permanent record
No server needed. No registration. No financial features.
Install
python -m venv .venv
source .venv/bin/activate
pip install -e .
Optional Solana anchoring dependencies:
pip install -e '.[solana]'
Full example
from nexus_ledger import Agent
agent_a = Agent("Mercury")
agent_b = Agent("Iris")
agent_a.log("delivered_research", {"topic": "market analysis"}, counterparty=agent_b)
tx = agent_a.anchor({"task": "research", "result": "complete"})
assert agent_a.verify({"task": "research", "result": "complete"}, tx["hash"])
print(agent_a.history())
Demo
python demo.py
python demo.py --mainnet
- default mode is mock anchoring
--mainnetsends real SPL Memo anchors to Solana mainnet-beta
License
Business Source License 1.1 (BSL 1.1). See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nexus_ledger-2.0.0.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexus_ledger-2.0.0.tar.gz.
File metadata
- Download URL: nexus_ledger-2.0.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b13700824229fd556ba6bc52ed0e51e13380fad2523c620c86da02e0262ccfbb
|
|
| MD5 |
40d9be444ce79a8c8523de9ae8753d30
|
|
| BLAKE2b-256 |
13f723d3a6a82ddd22e4ce75c06b211c4d179c092de37a66ab251ed3524ade40
|
File details
Details for the file nexus_ledger-2.0.0-py3-none-any.whl.
File metadata
- Download URL: nexus_ledger-2.0.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
662bd488626548e761acb34ceafd5bebf8b331e287c9819a9e216a156f47b09a
|
|
| MD5 |
88632f3f10b58bb7feacfc861beb109e
|
|
| BLAKE2b-256 |
e28a57c830e3c837edfec257cfbd5c0b3e124dc4045e61c2afd1acbba8831dc5
|