Configuration
Environment Variables
Section intitulée « Environment Variables »SESHAT is configured via environment variables. Create a .env file in your project root or pass them directly to the MCP server.
Blockchain (Optionnel)
Section intitulée « Blockchain (Optionnel) »ETH_PRIVATE_KEY string Private key of your Ethereum wallet (with 0x prefix). Used for signing attestations on Base L2.
ETH_PRIVATE_KEY=0x0123456789abcdef...EAS_SCHEMA_UID string Your registered schema UID on EAS (Ethereum Attestation Service).
EAS_SCHEMA_UID=0xabcdef1234567890...See EAS Schema Registration below.
Git Host (Requis pour seal PR/release)
Section intitulée « Git Host (Requis pour seal PR/release) »GIT_HOST_API_URL string API endpoint of your git hosting platform.
# GitHubGIT_HOST_API_URL=https://api.github.com
# GitLabGIT_HOST_API_URL=https://gitlab.com/api/v4
# Forgejo/GiteaGIT_HOST_API_URL=https://your-instance.com/api/v1GIT_HOST_TOKEN string API token with read:repo scope for your git host.
GIT_HOST_TOKEN=ghp_xxxxxxxxxxxxObsidian (Requis pour certify_research)
Section intitulée « Obsidian (Requis pour certify_research) »OBSIDIAN_ROOT string Absolute path to your Obsidian vault root directory.
OBSIDIAN_ROOT=/Users/you/Documents/VaultNotion (Alternative ou complement a Obsidian)
Section intitulée « Notion (Alternative ou complement a Obsidian) »NOTION_TOKEN string Token d’integration interne Notion. Commence par ntn_ ou secret_.
NOTION_TOKEN=ntn_xxxxxxxxxxxxxxxxxxxxOptional Variables
Section intitulée « Optional Variables »DB_PATH string Path to the SQLite database file. Default: ./data/seshat.db
DB_PATH=/var/lib/seshat/ledger.dbLOG_LEVEL string Logging verbosity. Options: debug, info, warn, error. Default: info
LOG_LEVEL=debugSecurity Features (Optional)
Section intitulée « Security Features (Optional) »ENABLE_TSA boolean Enable RFC 3161 timestamps via FreeTSA. Default: false
ENABLE_TSA=trueTSA_URL=https://freetsa.org/tsrENABLE_IPFS boolean Enable encrypted IPFS storage via nft.storage. Default: false
ENABLE_IPFS=trueNFT_STORAGE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...ENABLE_PQC boolean Enable ANSSI-compliant post-quantum signatures. Default: false
ENABLE_PQC=truePQC_LEVEL=87 # 44, 65, or 87| Level | Algorithm | NIST Level | Security |
|---|---|---|---|
| 44 | ML-DSA-44 | 2 | 128-bit |
| 65 | ML-DSA-65 | 3 | 192-bit |
| 87 | ML-DSA-87 | 5 | 256-bit |
EAS Schema Registration
Section intitulée « EAS Schema Registration »Before using SESHAT, you must register an attestation schema on EAS.
Schema Definition
Section intitulée « Schema Definition »bytes32 projectId,string category,bytes32 fingerprint,bytes32 treeHash,string ref,uint256 effortHoursRegistration Steps
Section intitulée « Registration Steps »-
Go to EAS Explorer
-
Connect Wallet
Connect the same wallet you’ll use for SESHAT
-
Enter Schema
Paste the schema definition above
-
Set Resolver
Leave resolver as
0x0000...0000(no resolver) -
Register
Submit the transaction (~EUR0.01 on Base)
-
Copy UID
Copy the resulting Schema UID and add to your
.env
Complete Example
Section intitulée « Complete Example »# ===========================================# SESHAT Configuration# ===========================================
# Blockchain (Required)ETH_PRIVATE_KEY=0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefEAS_SCHEMA_UID=0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890
# Git Host (Required)GIT_HOST_API_URL=https://api.github.comGIT_HOST_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Obsidian (Required)OBSIDIAN_ROOT=/Users/julien/Documents/Research
# DatabaseDB_PATH=./data/seshat.db
# LoggingLOG_LEVEL=info
# ===========================================# Optional: Reinforced Proof Chain# ===========================================
# RFC 3161 TimestampsENABLE_TSA=trueTSA_URL=https://freetsa.org/tsr
# IPFS Storage (encrypted)ENABLE_IPFS=trueNFT_STORAGE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
# Post-Quantum SignaturesENABLE_PQC=truePQC_LEVEL=87Configuration via MCP
Section intitulée « Configuration via MCP »Une fois installe, configurez SESHAT directement via votre agent IA :
Configure SESHAT avec mon GitHub et mon vault ObsidianL’agent utilisera l’outil configure pour vous guider dans la configuration.