Description
IntentsService.create() in src/intents/intents.service.ts only writes to a local Map. Wire intent creation through to a settlement-contract call so intents exist on-chain, not just in process memory.
Requirements and context
Suggested execution
- Fork the repo and create a branch
git checkout -b feature/onchain-intent-create
- Implement changes
Relevant files:
src/intents/intents.service.ts
src/intents/intents.controller.ts
-
Test and commit
- Run
npm run lint && npm run typecheck && npm test && npm run test:e2e
- Include test output / screenshots or logs demonstrating the fix in the PR
Example commit message:
feat: register intents on-chain via settlement contract
Guidelines
- Assignment required before starting — comment to claim this issue
- PR description must include:
Closes #[this issue's number]
- Timeframe: 96 hours from assignment
- Complexity: High (200 points)
Part of the Drips Wave for vortex-backend.
Description
IntentsService.create()insrc/intents/intents.service.tsonly writes to a localMap. Wire intent creation through to a settlement-contract call so intents exist on-chain, not just in process memory.Requirements and context
IntentsController.create()response shape sovortex-frontenddoesn't breakSuggested execution
Relevant files:
src/intents/intents.service.tssrc/intents/intents.controller.tsTest and commit
npm run lint && npm run typecheck && npm test && npm run test:e2eExample commit message:
Guidelines
Closes #[this issue's number]Part of the Drips Wave for vortex-backend.