Skip to content

Replace in-memory intent creation with on-chain registration #22

Description

@james2177

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

  1. Fork the repo and create a branch
    git checkout -b feature/onchain-intent-create
    
  2. Implement changes
    Relevant files:
  • src/intents/intents.service.ts
  • src/intents/intents.controller.ts
  1. 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.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions