Skip to content

[FEATURE] [Coinswap] Migrate Taker RPC to mill-rpc #56

@hulxv

Description

@hulxv

Description

Migrate the Taker RPC server from current implementation to mill-rpc framework.

Motivation

Start with Taker as it's simpler than Maker, providing a good learning experience.

Migration Steps

  1. Create new Taker RPC using mill-rpc
  2. Port all endpoints
  3. Add middleware (auth, logging)
  4. Port tests
  5. Run side-by-side comparison
  6. Switch over

Tasks

  • Create new TakerRpcServer using mill-rpc
  • Port create_swap endpoint
  • Port get_swap_status endpoint
  • Port list_swaps endpoint
  • Port cancel_swap endpoint
  • Port wallet operations
  • Add authentication middleware
  • Add logging middleware
  • Port unit tests
  • Port integration tests
  • Run performance benchmarks
  • Compare with old implementation
  • Document changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    coinswap-migration-phase-3The 3rd phase in integration of mill-io inside Coinswap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions