chore(backlog): add tasks 111-117 — rMortgage, yield, Braid, payment-infra open items
- TASK-111: rMortgage sub-tab (Done) - TASK-112: Auto-yield Aave V3 + Morpho Blue (Done) - TASK-113: Braid transport + SimpletonClient (Done) - TASK-114: Get Transak API credentials (To Do, signup required) - TASK-115: Get Basescan API key (To Do, signup required) - TASK-116: Test CRDT escrow on Base Sepolia (To Do, signup required) - TASK-117: Deploy escrow to Base mainnet (To Do, blocked by 114-116) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8da42095c6
commit
374f4adccb
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
id: TASK-111
|
||||
title: rMortgage sub-tab in rFlows — trust-based lending tracker
|
||||
status: Done
|
||||
assignee: []
|
||||
created_date: '2026-03-15 19:14'
|
||||
labels:
|
||||
- rflows
|
||||
- mortgage
|
||||
- defi
|
||||
dependencies: []
|
||||
references:
|
||||
- modules/rflows/mod.ts
|
||||
- modules/rflows/components/folk-flows-app.ts
|
||||
- modules/rflows/lib/types.ts
|
||||
- modules/rflows/schemas.ts
|
||||
priority: medium
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||
Added /mortgage sub-tab to rFlows with social trust-based mortgage lending visualization. Includes: pool summary cards (clickable for aggregate view), active mortgages table with trust scores, borrower options panel (5/10/15yr terms constrained to monthly budget, lenders fill in trust-score order), lender detail vessel SVGs (outstanding/repaid/reinvested), earnings comparison bars showing reinvestment advantage, projection calculator, and live Aave V3 rate fetching on Base. Demo seed data with 4 mortgage positions + 2 reinvestment positions.
|
||||
<!-- SECTION:DESCRIPTION:END -->
|
||||
|
||||
## Final Summary
|
||||
|
||||
<!-- SECTION:FINAL_SUMMARY:BEGIN -->
|
||||
Implemented full rMortgage sub-tab: route at /:space/rflows/mortgage, API endpoints (GET/POST positions, GET rates from Aave V3 on Base), FlowsDoc schema v3 with mortgagePositions/reinvestmentPositions, vessel SVG visualizations, borrower options with lender fill bars, aggregate pool stats, earnings comparison showing reinvestment profitability. Deployed to demo.rspace.online.
|
||||
<!-- SECTION:FINAL_SUMMARY:END -->
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
id: TASK-112
|
||||
title: Auto-yield for idle treasury — Aave V3 + Morpho Blue integration
|
||||
status: Done
|
||||
assignee: []
|
||||
created_date: '2026-03-15 19:14'
|
||||
labels:
|
||||
- rwallet
|
||||
- defi
|
||||
- yield
|
||||
dependencies: []
|
||||
references:
|
||||
- modules/rwallet/mod.ts
|
||||
- modules/rwallet/lib/yield-rates.ts
|
||||
- modules/rwallet/lib/yield-strategy.ts
|
||||
- modules/rwallet/lib/yield-positions.ts
|
||||
- modules/rwallet/lib/yield-protocols.ts
|
||||
- modules/rwallet/lib/yield-tx-builder.ts
|
||||
priority: medium
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||
Added yield management to rWallet: live Aave V3 and Morpho Blue supply rates for USDC/USDT on Base/Ethereum, auto-yield strategy engine (threshold-based allocation), yield position tracking, transaction builder for deposit/withdraw, and /yield sub-page in rWallet showing rates, positions, and projected earnings.
|
||||
<!-- SECTION:DESCRIPTION:END -->
|
||||
|
||||
## Final Summary
|
||||
|
||||
<!-- SECTION:FINAL_SUMMARY:BEGIN -->
|
||||
Created 5 yield library files + routes + UI. Live rates from Aave V3 Pool contract on Base (getReserveData RPC). Morpho Blue rates via public API. Auto-yield strategy allocates idle treasury above threshold. Yield page at /:space/rwallet/yield with rate cards, position table, and projection calculator.
|
||||
<!-- SECTION:FINAL_SUMMARY:END -->
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
id: TASK-113
|
||||
title: Braid transport toggle + SimpletonClient integration (payment-infra)
|
||||
status: Done
|
||||
assignee: []
|
||||
created_date: '2026-03-15 19:14'
|
||||
labels:
|
||||
- payment-infra
|
||||
- braid
|
||||
- consensus
|
||||
dependencies: []
|
||||
references:
|
||||
- payment-infra/docker-compose.yml
|
||||
- payment-infra/services/wallet-service/src/services/braid-state-client.ts
|
||||
- payment-infra/services/onramp-service/src/braid-state-client.ts
|
||||
- payment-infra/services/consensus-service/docs/NODE_OPERATOR_GUIDE.md
|
||||
priority: medium
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||
Added TRANSPORT env var to payment-infra docker-compose.yml for all consensus nodes (default: websocket, set to 'braid' for single-port HTTP sync). Created BraidStateClient (Simpleton pattern) for wallet-service and onramp-service — zero-CRDT light client via Braid-HTTP subscription. Wallet-service balance reads use local cache when Braid connected. Onramp-service escrow-watcher monitors deposit confirmations via Braid. Updated NODE_OPERATOR_GUIDE.md with transport modes docs.
|
||||
<!-- SECTION:DESCRIPTION:END -->
|
||||
|
||||
## Final Summary
|
||||
|
||||
<!-- SECTION:FINAL_SUMMARY:BEGIN -->
|
||||
Completed payment-infra tasks 19, 20, 21. TRANSPORT env var on all 4 consensus nodes + wallet-service + onramp-service. Traefik /braid path routing. BraidStateClient in both consumer services with auto-reconnect. Merged to main.
|
||||
<!-- SECTION:FINAL_SUMMARY:END -->
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: TASK-114
|
||||
title: Get Transak API credentials and configure webhook
|
||||
status: To Do
|
||||
assignee: []
|
||||
created_date: '2026-03-15 19:14'
|
||||
labels:
|
||||
- payment-infra
|
||||
- transak
|
||||
- signup-required
|
||||
dependencies: []
|
||||
priority: high
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||
Register at dashboard.transak.com, obtain API key and webhook secret, configure webhook URL pointing to payment-infra onramp-service (/api/onramp/transak/webhook). Configure Transak for USDC on Base network. Store credentials in Infisical. Requires manual signup.
|
||||
<!-- SECTION:DESCRIPTION:END -->
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: TASK-115
|
||||
title: Get Basescan API key and verify deployed contracts
|
||||
status: To Do
|
||||
assignee: []
|
||||
created_date: '2026-03-15 19:14'
|
||||
labels:
|
||||
- payment-infra
|
||||
- basescan
|
||||
- signup-required
|
||||
dependencies: []
|
||||
priority: medium
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||
Register at basescan.org/apis for an API key. Use it to verify CRDTToken and USDCEscrow contracts on Base Sepolia so source code is publicly readable. Store API key in Infisical. Requires manual signup.
|
||||
<!-- SECTION:DESCRIPTION:END -->
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
id: TASK-116
|
||||
title: Test CRDT escrow deposit flow on Base Sepolia
|
||||
status: To Do
|
||||
assignee: []
|
||||
created_date: '2026-03-15 19:15'
|
||||
labels:
|
||||
- payment-infra
|
||||
- testing
|
||||
- signup-required
|
||||
dependencies:
|
||||
- TASK-114
|
||||
priority: high
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||
Get testnet USDC from Circle faucet (faucet.circle.com), test the full deposit flow: approve USDC → deposit to USDCEscrow → escrow-watcher detects event → bridges to consensus layer → balance reflected in CRDT ledger. Also test withdrawal path. Depends on Transak credentials (TASK-114) for webhook path testing. Requires manual blockchain transactions.
|
||||
<!-- SECTION:DESCRIPTION:END -->
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
id: TASK-117
|
||||
title: Deploy CRDT escrow contracts to Base mainnet
|
||||
status: To Do
|
||||
assignee: []
|
||||
created_date: '2026-03-15 19:15'
|
||||
labels:
|
||||
- payment-infra
|
||||
- deployment
|
||||
- signup-required
|
||||
dependencies:
|
||||
- TASK-114
|
||||
- TASK-115
|
||||
- TASK-116
|
||||
priority: medium
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
<!-- SECTION:DESCRIPTION:BEGIN -->
|
||||
Deploy CRDTToken and USDCEscrow contracts to Base mainnet. Requires ETH for gas, Basescan API key for verification (TASK-115), Transak production mode (TASK-114), and successful testnet testing (TASK-116). Transfer ownership to multisig/Safe after deployment.
|
||||
<!-- SECTION:DESCRIPTION:END -->
|
||||
Loading…
Reference in New Issue