Implement comprehensive investment infrastructure with three tiers: - PIO (Public Investment Opportunity): Universal citizen access - EIO (Employee Investment Opportunity): Workplace democracy - CIO (Contractor Investment Opportunity): Gig economy empowerment New Features: Violation System: - recordViolation: Record violations with evidence and penalties - resolveViolation: Resolve violations with committee authority - getViolation: Query violation records - Auto-ban after MaxViolationsBeforeBan threshold Employment Verification (EIO eligibility): - verifyEmployment: Register employee-employer relationships - revokeEmployment: End employment verification - getEmploymentStatus: Query employment records - EIO eligibility requires active employment Contractor Verification (CIO eligibility): - verifyContractor: Register contractor-platform relationships - revokeContractor: End contractor verification - getContractorStatus: Query contractor records - CIO eligibility requires active contractor status Returns Distribution: - distributeReturns: Proportional returns to all investors - cancelOpportunity: Refund investors on cancellation Education Integration: - completeInvestmentEducation: Mark investor education complete - Scire certification tracking for eligibility Query Methods: - getInvestmentsByOpportunity: List investments per opportunity - getInvestmentsByInvestor: List investments per investor - getOpportunitiesByType: Filter by PIO/EIO/CIO - getOpportunitiesByStatus: Filter by lifecycle status Lifecycle Automation (PostPersist): - Auto-close opportunities past investment deadline - Auto-fail opportunities below minimum participants - Runs every 100 blocks for performance State Serialization: - Add ToStackItem/FromStackItem for EmploymentVerification - Add ToStackItem/FromStackItem for ContractorVerification - Add ToStackItem/FromStackItem for InvestmentViolation Tests: - 14 test cases for config, counters, queries, error handling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .docker | ||
| .github | ||
| cli | ||
| config | ||
| docs | ||
| examples | ||
| internal | ||
| pkg | ||
| scripts | ||
| .dockerignore | ||
| .gitignore | ||
| .gitmodules | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| Dockerfile.wsc | ||
| LICENSE.md | ||
| Makefile | ||
| README.md | ||
| ROADMAP.md | ||
| codecov.yml | ||
| docker-compose.yml | ||
| go.mod | ||
| go.sum | ||
| tutus.service.template | ||
README.md
Tutus Chain
Sovereign blockchain platform for government deployments. Forked from NeoGo.
Website: tutus.one License: Apache 2.0
Overview
Tutus is an independent blockchain designed for government-grade deployments with:
- Sovereign instances - Each government runs their own chain
- 1-second blocks - Fast finality with dBFT consensus
- 7 validators - Government-controlled consensus nodes
- Zero gas for citizens - Native contracts subsidize operations
- Inter-government bridge - Optional cross-border interoperability
Building
Requires Go 1.24+ and make:
make build
The resulting binary is bin/tutus.
Running a Node
Start a Tutus node:
./bin/tutus node --config-file ./config/protocol.tutus.yml
For testnet:
./bin/tutus node --config-file ./config/protocol.tutus.testnet.yml
Network Flags
--tutus- Tutus mainnet (government deployment)--tutus-testnet- Tutus testnet
Configuration
Network configurations are in ./config/:
| File | Purpose |
|---|---|
protocol.tutus.yml |
Production government deployment |
protocol.tutus.testnet.yml |
Development testnet |
Docker
docker build -t tutus-chain .
docker run -d --name tutus -p 10333:10333 -p 10332:10332 tutus-chain
Native Contracts (Planned)
The following will be built into the Tutus protocol:
| Contract | Purpose |
|---|---|
| PersonToken | Soul-bound identity |
| Scire | Universal education |
| Salus | Universal healthcare |
| Sese | Life planning |
| Tribute | Anti-hoarding economics |
| VTS | Government stablecoin |
| Eligere | Democratic voting |
Validator Setup
See docs/validator.md for government validator deployment.
Origin
Tutus is forked from NeoGo, the Go implementation of the Neo N3 blockchain. We maintain compatibility with the Neo VM while extending the protocol for government use cases.
License
Apache 2.0 - See LICENSE.md