BlockheaderWeb3-Community / autoswappr-backend

Autoswappr backend
0 stars 1 forks source link

Implement Transaction Logging Service #5

Open Abeeujah opened 4 hours ago

Abeeujah commented 4 hours ago

Overview

This service logs all swap transactions for record-keeping and analytics purposes.

Payload

The service should handle incoming payloads with the following structure:

Functionality

Acceptance Criteria

Examples

Input Payload:

{
  "wallet_address": "0xUserAddress",
  "from_token": "STRK",
  "to_token": "USDT",
  "percentage": 50,
  "amount_from": 500,
  "amount_to": 480
}

Database Insert:

Dependencies

0xdevcollins commented 4 hours ago

Can I attempt this issue?

GideonBature commented 4 hours ago

I'd like to handle this task.

my name is Gideon Bature, a Software Engineer with experience working on Rust projects. If assigned this task, will send my first PR within 48 hours.

Thank you!

Birdmannn commented 4 hours ago

Could I be assigned to this?

CEOliam commented 4 hours ago

May I handle this issue?

Michaelkingsdev commented 4 hours ago

May I take care of this?

MrRoudyk commented 4 hours ago

Mind if I take this issue?

vestor-dev commented 4 hours ago

Would love to tackle this! @Abeeujah kindly assign :)

Benjtalkshow commented 4 hours ago

Would love to tackle this!

Ekene001 commented 2 hours ago

Hi, Can i handle this task? This is my first time contributing to this repository, and I’m excited about the opportunity to collaborate and bring my skills to the table.

here's how i'll handle tackle this issue: I will create a backend service to log swap transactions accurately. The service will validate payloads containing details like wallet_address, from_token, to_token, percentage, amount_from, and amount_to before recording them in the transactions_log table. I’ll ensure proper data validation, error handling, and seamless integration with the database and swap event triggers.

Jagadeeshftw commented 2 hours ago

Can I start working on this?