https://github.com/mathix420/nimiq-commerce-trader
Automatically send nimiq to kucoin to be swapped for stablecoin.
https://github.com/mathix420/nimiq-commerce-trader
Last synced: 5 months ago
JSON representation
Automatically send nimiq to kucoin to be swapped for stablecoin.
- Host: GitHub
- URL: https://github.com/mathix420/nimiq-commerce-trader
- Owner: mathix420
- License: apache-2.0
- Created: 2022-05-01T12:52:22.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-01T13:05:48.000Z (about 4 years ago)
- Last Synced: 2025-05-29T16:34:42.769Z (about 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nimiq-commerce-trader
Automatically send Nimiq to kucoin to be swapped for stablecoin.
# WIP
## Steps
1. User buy something on your store via a Nimiq transaction.
2. A serverless script then check if the transaction is validated.
3. If validated, the whole Nimiq amount is then send to kucoin to be traded.
4. A script will then perform a trade with the choosen pair. For example NIM/BUSD.
5. That's it, your transaction is now safe from volatility!
## Specs
- Platform agnostic
- Terraform ?
- Serverless Framework ?
- Better if serverless
- Need to be customizable
- Choose pairs
## Ideas
- 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.