1. Scope of Work of the Functional MVP
Protótipo -
http://bit.ly/4giVc4F
Frontend (
Next.js + Tailwind) - The point of contact for users, where they interact with the platform. It needs to be intuitive, easy to use, and responsive.
- User authentication (basic login).
- Dashboard with:
- Balance in brl, usdt.
- Deposit via Pix (Bitso).
- brl→ usdt → fireblocks wallet → supply to aave (via smart contract)
- transaction history.
- Real-time display of the APY provided by Aave
- Notifications and alerts (basic).
Backend (
Node.js or Python/FastAPI + PostgreSQL)
- Authentication & authorization (JWT-based).
- User and profile management.
- Swap (Bitso API) + custody operations (Fireblocks API).
- Supply directly from Aave (Lending
Pool.supply).
- Transaction history management.
- API Gateway.
- Integration with autonomous agents (e.g.,
Fetch.ai or similar)
- Basic orchestration (starting simple, with room for scaling to Kafka/Temporal later).
Business Logic Integration Layer
- Bitso API for Pix deposits & brl → usdt swaps.
- Fireblocks API for custody and asset management.
- Aave smart contracts (Ethereum/Polygon):
- Supply of USDT in the pool.
- Receipt of Ausdt.
apy query via api (thegraph/aave api).
Integration with Aave (Supply APY)
- Aave provides smart contracts on Ethereum/Polygon.
- The Yield Agent would call the
LendingPool.supply() contract function, passing USDT.
- In return, the user receives aUSDT, the token that represents the position in Aave.
Security - Basic security with jwt, api rate limiting, https.
2. Deliverables
- Frontend web dashboard with deposit, balance, yield simulation, and transaction history.
- Fully functional backend with Bitso + Fireblocks integrations.
- PostgreSQL database for persistence.
- Deployment in cloud environment (aws/gcp).
- Documentation (technical + user).
3. Timeline
- Period X: Architecture & setup (infra, db, api contracts).
- Period X: Backend integrations (Bitso, Fireblocks, yield simulation).
- Period X: Frontend (auth, dashboard, balances, transactions).
- Period X: Integration + QA (end-to-end testing, bug fixes).
- Period X: Final deployment + handover.
Delivery term: Not specified