A Financial Stewardship Platform on Blockchain
Built on Base Sepolia testnet with DeFi backing integration.
Steward helps users practice faithful financial stewardship through:
- Automated Tithing: Set it once, tithe automatically
- Mission Protection: Insurance for international mission trips
- Church Verification: Blockchain-based accountability with staking
Powered by Trig Protocol - an omnichain parametric condition execution engine.
trig-hackathon/
βββ contracts/ # Smart contracts
β βββ core/ # TrigImmutableCore protocol
β βββ steward/ # Steward applications
β βββ defi/ # DeFi backing integration
β βββ mocks/ # Test contracts
β βββ interfaces/ # Contract interfaces
βββ test/ # Smart contract tests
β βββ unit/ # Unit tests
β βββ integration/ # Integration tests
βββ scripts/ # Deployment scripts
βββ frontend/ # Next.js frontend
βββ docs/ # Documentation
- Node.js v18+
- npm or yarn
- MetaMask wallet
- Base Sepolia testnet ETH
# Install dependencies
npm install
# Set up environment
cp .env.example .env
# Add your private key and RPC URLs to .env
# Compile contracts
npx hardhat compile
# Run tests
npx hardhat test
# Deploy to Base Sepolia
npx hardhat run scripts/deploy-core.ts --network baseSepoliacd frontend
npm install
npm run devVisit http://localhost:3000 to see the application.
- Architecture - Complete technical architecture
- Task Tracker - 95-task implementation guide
- Team Briefing - User stories and coordination
- β Time-based conditions
- β Token balance conditions
- β Multisig conditions
- β Cross-chain ready (LayerZero OApp)
- β Automated Tithe System
- β Mission Trip Protection
- β Steward Oracle Registry
- β Staking-based verification
- β Backing pool with real deposits
- β Simplified yield distribution
- β Mock Morpho adapter
# Run all tests
npx hardhat test
# Run with coverage
npx hardhat coverage
# Run specific test
npx hardhat test test/unit/TrigImmutableCore.t.sol# Deploy core protocol
npx hardhat run scripts/deploy-core.ts --network baseSepolia
# Deploy Steward contracts
npx hardhat run scripts/deploy-steward.js --network baseSepolia
# Verify contracts
npx hardhat verify --network baseSepolia <CONTRACT_ADDRESS>Deployed contract addresses are saved in deployments/base-sepolia.json.
Visit: StewardChain Demo (to be deployed)
Watch: 5-Minute Demo (to be recorded)
- Automated Tithe: Create commitment and execute payment
- Mission Protection: Purchase policy and file claim
- Church Verification: Register church and verify leaders
- DeFi Backing: Add backing capital and view yield
- Developer 1: Smart contracts, testing, deployment
- Developer 2: Frontend, integration, UI/UX
- Product Manager: User stories, demo, presentation
- Solidity 0.8.22
- Hardhat
- OpenZeppelin Contracts
- LayerZero OApp
- Next.js 14
- TypeScript
- Tailwind CSS
- shadcn/ui
- wagmi + viem
- RainbowKit
- Base Sepolia testnet
- IPFS for metadata
- The Graph for indexing
- β Working demo on testnet
- β 2+ use cases operational
- β DeFi backing integrated
- β Polished frontend UI
- β 5-minute demo video
- Multi-chain deployment
- Real DeFi protocol integration
- Production security audit
- Mobile application
- $50B+ market opportunity
This is a hackathon project. DO NOT USE IN PRODUCTION without:
- Professional security audit
- Comprehensive testing
- Legal compliance review
- Economic security analysis
MIT License - See LICENSE for details
Built for [Hackathon Name] 2025
Special thanks to:
- Base for testnet infrastructure
- LayerZero for cross-chain messaging
- OpenZeppelin for security patterns
- Morpho for DeFi inspiration
- Twitter: @TrigProtocol
- Discord: Join our community
- Email: team@trigprotocol.com
Built with β€οΈ for faithful stewardship