-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Auto-Swap Service for STRK Transfers #24
base: main
Are you sure you want to change the base?
feat: Auto-Swap Service for STRK Transfers #24
Conversation
Instead of directly listening for STRK contract events, I’ve added the /auto_swap endpoint. This endpoint receives the required details (from, to, value) via payload, processes the subscription information from the database, and performs the token swap using the EKUBO contract. Is this approach in line with what you were expecting @Abeeujah? |
Yeah, it's an endpoint that receives the payload, just as you mentioned, you were not supposed to listen to events, the issue description mentioned we have an indexer that listens to events... so, you're in line, keep going. 👍 |
Hi @Abeeujah , I've almost completed it, but a few things are still pending:
|
I've done with code changes, after testing I will open it for review. |
closes #1