Sprout is a round-up micro-investing app on the Sui blockchain. It automatically deposits spare change from purchases into an on-chain SUI savings vault.
/contracts: Sui Move modules for vault management and milestones./backend: Node.js/Express server for API routes and event indexing./frontend: Next.js application for Sui wallet vault management./scripts: Deployment and demo seeding scripts.
cd contracts
sui move build
# Deploy using the script
../scripts/deploy.sh testnetcd backend
npm install
# Copy .env.example and fill in the IDs from deployment
cp .env.example .env
# Start the server
npm run dev
# In a separate terminal, start the indexer
npm run indexercd frontend
npm install
# Copy .env.local.example and fill in the IDs
cp .env.local.example .env.local
# Start the app
npm run dev- Sui Blockchain: Core on-chain logic.
- PostgreSQL: Event indexing and pending round-up tracking.
- Connect: Connect a Sui wallet.
- Setup: Open a SUI vault from the connected wallet.
- Spend: Simulate purchases using
scripts/seed_demo.sh. - Invest: Deposit pending round-ups into your vault from the dashboard.
- Grow: Watch your plant grow as your balance increases!