2014-12-23 10:47:56 +00:00
|
|
|
This is a Cryptonote IRC tipbot. Released under GPLv2+.
|
2014-12-22 13:32:56 +00:00
|
|
|
|
|
|
|
Installation requirements:
|
2014-12-22 22:06:44 +00:00
|
|
|
- the daemon/simplewallet for the Cryptonote coin to use
|
2014-12-22 13:32:56 +00:00
|
|
|
- python
|
|
|
|
- redis
|
|
|
|
- python-redis
|
|
|
|
|
2014-12-22 22:06:44 +00:00
|
|
|
The daemon needs a running redis, daemon and simplewallet. Set the connection parameters
|
2014-12-22 13:32:56 +00:00
|
|
|
for these in tipbot.py.
|
|
|
|
|
2014-12-29 17:08:13 +00:00
|
|
|
Before starting, read the configuration parameters in tipbot/config.py and change
|
2014-12-22 13:40:33 +00:00
|
|
|
as appropriate.
|
|
|
|
|
2014-12-29 17:08:13 +00:00
|
|
|
Start the bot with the coin name as parameter to -c (eg, python tipbot.py -c monero).
|
|
|
|
Coin specs are defined in a file called tipbot/coinspecs.py. If you want to add a coin
|
|
|
|
that the tipbot does not support yet, simply copy and adapt an existing spec.
|
|
|
|
|
|
|
|
Modules are loaded with -m (eg, python tipbot.py -m payment). Available modules are
|
|
|
|
in the tipbot/modules directory.
|
2014-12-28 10:23:17 +00:00
|
|
|
|
2014-12-22 16:08:27 +00:00
|
|
|
The tipbot will need a wallet. Any wallet can do, but it is recommended to use a separate
|
|
|
|
wallet. This wallet should be loaded in the simplewallet the tipbot connects to.
|
|
|
|
|
2014-12-22 16:44:32 +00:00
|
|
|
A file called tipbot-password.txt shall be created where the tpibot runs, containing the
|
|
|
|
Freenode account password for the tipbot. This is so the tipbot can identify, to avoid
|
|
|
|
others passing off for the tipbot.
|
|
|
|
|
2014-12-29 17:08:13 +00:00
|
|
|
Tipbot commands are prefix with "!". Try !commands to get a list of available commands.
|
2014-12-22 13:32:56 +00:00
|
|
|
|
2014-12-22 22:06:44 +00:00
|
|
|
The withdrawal fee is currently set to the default network fee. For coins with per kB fees,
|
|
|
|
if a withdraw transaction happens to be larger than 1 kB, more will be charged by
|
|
|
|
simplewallet. The withdrawal fee can be set higher to guard against this.
|
2014-12-22 13:32:56 +00:00
|
|
|
|
|
|
|
If a withdrawal error happens, withdrawals are disabled until enabled again by the operator,
|
|
|
|
to avoid possible exploits.
|
2014-12-22 22:06:44 +00:00
|
|
|
|
|
|
|
Coins that have a modified RPC command set from the base Cryptonote code may need to
|
|
|
|
modify the tipbot.
|