You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
728 B
Markdown

4 years ago
# hodlhodl-bot
Simple golang command to call HODLHODL [API](https://hodlhodl.com/api/docs) endpoints.
The command usage is as following:
./hodlhodl-bot [-t] watchs-notifs
-t: sleep time in seconds between each call to api when running in daemon watch mode (default: 120)
watch: the watch command keeps running and polling the notifications endpoint, if new notifications are detected print them stdou. In this mode the program can only be stopped with CTRL+C
## TESTING
for testing purposes, create two accounts on TESTNET version of hodlhodl https://hhtestnet.com/ , create a fake listing with one account, and accept offer with the other account and send messages to generate notifications for the first account.
4 years ago