Automatically send Nimiq to kucoin to be swapped for stablecoin.
- User buy something on your store via a Nimiq transaction.
- A serverless script then check if the transaction is validated.
- If validated, the whole Nimiq amount is then send to kucoin to be traded.
- A script will then perform a trade with the choosen pair. For example NIM/BUSD.
- That's it, your transaction is now safe from volatility!
- Platform agnostic
- Terraform ?
- Serverless Framework ?
- Better if serverless
- Need to be customizable
- Choose pairs
- It might be simpler to directly use the Kucoin Nimiq address as recipient for the first transaction. Then check if the transaction is made and valid, and perform a kucoin trade.
- If the address subject to changes, then use the kucoin API to get the address before each store transactions.