Back to Browse

0x Swap API + AWS Lambda: Automating Limit Orders in TypeScript

157 views
Jan 15, 2025
5:47

This video walks you through creating a TypeScript service for limit orders on the Polygon network using the 0x Swap API. We’ll also show you how to deploy the service to AWS Lambda with Terraform, relying on RadzionKit to simplify operations like storing orders, managing environment variables, and integrating strong type safety. We’ll cover token approvals, using Permit2 for streamlined signatures, fetching prices with CoinGecko, and sending notifications via Telegram. We keep your secrets secure in AWS Secrets Manager, while a CloudWatch event triggers the service every ten minutes for regular execution. GitHub Repo (Full Code): https://github.com/radzionc/crypto Blog Post (With Code Snippets): https://radzion.com/blog/limit-order By following this setup, you’ll have an automated and robust workflow for limit orders, complete with error tracking in Sentry and straightforward management of all your AWS resources through Terraform.

Download

0 formats

No download links available.

0x Swap API + AWS Lambda: Automating Limit Orders in TypeScript | NatokHD