Building the organizational tools that unlock human cooperation: Where communities coordinate abundant resources, make wise collective decisions, and share the value they create together
β LIVE DEPLOYMENT: Complete ecosystem successfully deployed and verified on Base Sepolia with operational community.
- All 22 Contracts Deployed: Full system operational on Base Sepolia
- Community ID 1 Active: Complete governance and verification infrastructure
- Ultra-Low Cost: ~$0.19 per community deployment vs $9,600 on Ethereum
- Automated Address Management: deployments/{network}.json system with auto-loading
- Base Mainnet Ready: Gas optimized (0.05 gwei) for ~$10 production deployment
- Complete Documentation: 21 contracts fully documented with technical architecture
Shift DeSoc is meta-governance technology - flexible infrastructure that enables communities to model any organizational structure they choose. Rather than imposing a specific governance model, Shift provides building blocks that communities configure to implement their unique decision-making processes, value definitions, and coordination patterns.
Core Flow: Community Discussion β Collaborative Drafts β Multi-Choice Governance β Timelock Execution
- Node.js >=22 (Vercel Node 24 compatible)
- pnpm >=8
- Frontend apps use Next.js 16
- Read the development guide:
.github/copilot-instructions.md - Check architecture:
docs/EN/Architecture.md - Deploy to testnet:
.github/deployment/BASE_SEPOLIA_DEPLOYMENT_GUIDE.md
- Understand the vision:
docs/EN/Whitepaper.md - See real examples:
.github/project-management/PROJECT_STATUS.md - Plan implementation:
docs/EN/Architecture.md
βββ π .github/ # Development coordination & deployment
β βββ copilot-instructions.md # β Primary development guide
β βββ project-management/ # β Status reports & architecture analysis
β βββ deployment/ # β Network deployment guides
βββ π contracts/ # β Smart contract implementations
β βββ core/ # β Governance (ShiftGovernor, CountingMultiChoice)
β βββ modules/ # β Community coordination & work verification
β βββ tokens/ # β MembershipToken & CommunityToken
βββ π docs/ # β Business & technical documentation
β βββ EN/ # β English documentation
β βββ ES/ # β Spanish documentation
βββ π scripts/ # β Deployment & testing automation
- RequestHub: On-chain discussion forum with moderation
- DraftsManager: Collaborative proposal development with versioning
- CommunityRegistry: Community metadata and parameter management
- ShiftGovernor: Multi-choice voting beyond binary decisions
- CountingMultiChoice: Weighted voting across multiple options
- MembershipToken: Merit-based governance tokens (work β voting power)
- ValuableActionRegistry: Community-defined work value system
- Engagements: M-of-N peer verification with democratic oversight
- VerifierPowerToken1155 (VPT): Community-elected verifiers with governance accountability
- ValuableActionSBT: Soulbound reputation tokens with portable credentials
Governance-Elected Verification - Communities democratically elect their own verifiers through transparent processes, replacing economic barriers with community trust.
Key Benefits:
- π³οΈ Democratic Selection: Communities elect verifiers based on merit, not wealth
- π Term Limits: Regular elections ensure accountability and fresh perspectives
- π Performance Monitoring: Transparent tracking of verifier accuracy and behavior
- π‘οΈ Fraud Prevention: Community oversight and reporting mechanisms
- π« No Economic Barriers: Removes financial requirements that exclude qualified participants
- βοΈ Community Justice: Local accountability through elected representatives
- CommunityToken: 1:1 USDC-backed community currency
- RevenueRouter: ROI-based distribution favoring long-term contributors
- TreasuryAdapter: Governance-controlled community treasury management
# Setup and test
pnpm install
pnpm build # Compile both toolchains
pnpm forge:test # Run Foundry tests
pnpm cov:gate # Check coverage
# Deploy staged canonical pipeline (fresh deployment)
npm run deploy:base-sepolia # Deploy to Base Sepolia testnet
npm run deploy:base # Deploy to Base mainnet
npm run deploy:ethereum # Deploy to Ethereum mainnet
# π Deployment automatically saves contract addresses to:
# deployments/{network}.json
# deployments/latest.json
# Management scripts auto-load addresses from these files!
# Format code
pnpm fmtfmt- Code formatting with Prettierlint- Solidity linting with solhintlint:fix- Auto-fix linting issuesquality- Run all quality checks (lint + test + coverage)sanity- Complete quality validation pipelinebuild- Compile contracts (Foundry + Hardhat)test- Run Foundry tests
deploy:base-sepolia- Run full staged deployment pipeline on Base Sepoliadeploy:base- Run full staged deployment pipeline on Basedeploy:ethereum-sepolia- Run full staged deployment pipeline on Ethereum Sepoliadeploy:ethereum- Run full staged deployment pipeline on Ethereum
deploy:shared-infra- Deploy/reuse shared infra (AccessManager/ParamController/CommunityRegistry)deploy:community-stack- Deploy per-community contracts and register modulesdeploy:wire-community- Apply selector-level least-privilege role wiringdeploy:verify-community- Verify deployment invariants and critical role paths
check:balance- D-1 backing ratio monitorcheck:engagements- D-2 engagement anomaly monitorverify:base-sepolia- Base Sepolia integration/accessibility verification
admin/admin:create/admin:grant-role/admin:set-params/admin:timelock- community admin CLI commandsmanage:cohorts- cohort lifecycle and revenue cohort operationsdev:generate-wallets- local wallet generation helper
forge:build- Foundry build + ABI sync to indexer/webhh:compile- Hardhat compileforge:cov+cov:gate- coverage and gate enforcement
- Historical, one-off, and broken/outdated scripts are archived under
scripts/legacy/. - They are reference-only and intentionally not exposed as package commands.
- See
scripts/README.mdfor the maintained active script surface.
- Single canonical deployment path for deterministic and auditable setup
- Focused monitoring scripts for backing ratio and engagement anomalies
- Reduced operator ambiguity by archiving outdated workflows
- Admin CLI for community creation, role assignment, and parameter updates
- Cohort tooling for economic-layer operations
- Deployment JSON-based wiring to keep scripts network-aware
- Coverage gates and dual-toolchain validation
- ABI sync tooling for web/indexer consistency
- Clear script governance (active vs archived)
Result: Lean, maintainable toolkit for current deployment and operations.
Shift DeSoc automatically saves and loads contract addresses - no manual configuration needed!
When you deploy, addresses are automatically saved to:
deployments/{network}.json- Network-specific addresses (e.g.,base_sepolia.json)deployments/latest.json- Most recent deployment across all networks
Active operational scripts load addresses from deployment files:
# No manual configuration needed - addresses auto-loaded where supported
pnpm check:balance --network base_sepolia
pnpm check:engagements --network base_sepolia
pnpm verify:base-sepolia{
"network": "base_sepolia",
"timestamp": "2025-12-08T00:00:00Z",
"deployer": "0x73af48d53f75827dB195189e6FeBaB726dF7D0e2",
"communityId": 1,
"addresses": {
"communityRegistry": "0x...",
"governor": "0x...",
"marketplace": "0x...",
// ... all 22 contract addresses
},
"configuration": {
"communityName": "Shift DeSoc Community",
"votingDelay": 7200,
"votingPeriod": 86400,
"revenueSplit": [60, 30, 10]
}
}π See deployments/README.md for complete documentation
For the complete and current script inventory, see scripts/README.md.
- β Base Sepolia (testnet) - Live deployment with Community ID 1 operational (22 contracts)
- π― Base Mainnet (production) - Ready for mainnet deployment (~$10 per community)
β οΈ Ethereum (mainnet/testnet) - Supported but higher gas costs (~$9,600 per community)
Shift DeSoc enables meta-governance for any organizational structure:
- Blockchain Protocols: Enhance DAO governance beyond simple token voting
- Open Source Projects: Transparent contributor coordination and merit recognition
- Local Cooperatives: Democratic decision-making for resource-sharing communities
- Enterprise Organizations: Transition to more democratic and transparent management
Phase 1-6 COMPLETED - All core systems production-ready:
- β Community coordination infrastructure (RequestHub, DraftsManager, CommunityRegistry, ParamController)
- β Multi-choice governance engine (ShiftGovernor, CountingMultiChoice, Timelock, MembershipToken)
- β Work verification & merit system (ValuableActionRegistry, Engagements, VPT system, ValuableActionSBT)
- β Economic distribution & treasury management (CommunityToken, RevenueRouter, CohortRegistry, TreasuryAdapter)
- β Community modules (Marketplace, ProjectFactory, HousingManager, CommerceDisputes)
- β Deployment infrastructure (API-based deployment, automated address management, Base mainnet optimization)
Current Focus: Base mainnet deployment and first pilot communities.
- ποΈ Development:
.github/copilot-instructions.md- Complete development guide - π Project Management:
.github/project-management/- Status & planning docs - π Deployment:
.github/deployment/- Network deployment guides - πΌ Business:
docs/EN/Whitepaper.md- Investment & community overview - βοΈ Technical:
docs/EN/Architecture.md- System architecture & contracts
Building the future of collaborative abundance through meta-governance technology π