Tutus blockchain - sovereign government blockchain
Go to file
Tutus Development 5678ae0e46 Complete Collocatio native contract for PIO/EIO/CIO investments
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>
2025-12-21 04:18:23 +00:00
.docker Add Docker support for Tutus 2025-12-19 15:02:00 +00:00
.github Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
cli Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
config Add Instance Beta for bridge testing 2025-12-19 15:29:28 +00:00
docs Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
examples Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
internal Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
pkg Complete Collocatio native contract for PIO/EIO/CIO investments 2025-12-21 04:18:23 +00:00
scripts Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
.dockerignore Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
.gitignore Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
.gitmodules Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
CHANGELOG.md Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
CONTRIBUTING.md Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
Dockerfile Add Docker support for Tutus 2025-12-19 15:02:00 +00:00
Dockerfile.wsc Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
LICENSE.md Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
Makefile Fix build: update branding and local interop module 2025-12-19 14:58:36 +00:00
README.md Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
ROADMAP.md Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
codecov.yml Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
docker-compose.yml Add Instance Beta for bridge testing 2025-12-19 15:29:28 +00:00
go.mod Fix build: update branding and local interop module 2025-12-19 14:58:36 +00:00
go.sum Fix build: update branding and local interop module 2025-12-19 14:58:36 +00:00
tutus.service.template Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00

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