https://github.com/joticajulian/wkoin-seller
WKOIN is a wrapped token for KOIN (see https://koinos.io) created and controlled on Hive-Engine by . See the introduction post for more details.
Hive-Engine gives the possibility to place buy/sell orders in the market. However, it is not possible to set a price that dinamically changes based on the price in external exchanges, like Uniswap.
This bot checks the price of Hive and Koin periodically (each 10 minutes) on coinmarketcap and uniswap respectively. And it updates the sell order on Hive Engine taking into account the new prices. The bot also uses a factor price to define how much above the current price it wants to sell in order to get a profit.
The bot uses coinmarketcap to get the current price of Hive and an API KEY is required to use this service. Go to https://coinmarketcap.com/api/ to request a free api key.
Create a .env file taking a copy of .env.example and set the corresponding variables.
Install dependencies
$ npm run install
Start the bot
$ npm run start
https://hive-engine.com/?p=market&t=WKOIN
I already sent some wkoin to the market to create some liquidity.
Thanks to the fee-less transactions on Hive it is possible to make trading without using the high fees of Ethereum.