Tutus blockchain - sovereign government blockchain
Go to file
Tutus Development 1d96eb7a6e Add Scire native contract for universal education
Implement the Scire (Latin for "to know/learn") contract providing
universal education infrastructure for citizens:

Core Features:
- Education accounts: One per Vita holder (soul-bound learning account)
- Learning credits: Annual allocation and spending system
- Certifications: Skill verification with expiry/renewal support
- Enrollments: Program enrollment with credit allocation

Contract Methods:
- Account management: createAccount, getAccount, allocateCredits, getCredits
- Enrollment: enroll, completeEnrollment, withdrawEnrollment, getActiveEnrollment
- Certification: issueCertification, revokeCertification, renewCertification
- Query: verifyCertification, hasCertification, getConfig

Cross-Contract Integration:
- Vita: Account tied to Vita token (one person = one account)
- Lex: Checks RightEducation via HasRightInternal (enforcement logging)
- RoleRegistry: RoleEducator (ID 20) for institutional authorization
- NEO: Committee authority for credit allocation

State Types (pkg/core/state/scire.go):
- EducationAccount, Certification, Enrollment, ScireConfig
- Status enums for each entity type

Technical Details:
- Contract ID: -18
- Storage prefixes: 0x01-0x02 (accounts), 0x10-0x13 (certs), 0x20-0x23 (enrolls)
- Fix: Use (uint64, bool) return for getVitaIDByOwner to properly handle
  TokenID 0 (first registered Vita) instead of using 0 as sentinel value

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 07:25:08 +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 Fix build: update branding and local interop module 2025-12-19 14:58:36 +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 Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
internal Add IsVitaFeeExempt method to FakeChain 2025-12-20 06:53:29 +00:00
pkg Add Scire native contract for universal education 2025-12-20 07:25:08 +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