tippero/tipbot/coinspecs.py
moneromooo 6b6a1a67e7 Structural overhaul
Split the tipbot in modules:
- main modules to contain base functions by theme
- coin specs, to define a coin's specifics
- optional modules, defining commands/behaviors
2014-12-29 17:39:17 +00:00

41 lines
1.3 KiB
Python

#!/bin/python
#
# Cryptonote tipbot - coins specifications
# Copyright 2014 moneromooo
#
# The Cryptonote tipbot is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
coinspecs = {
"monero": {
"name": "Monero",
"atomic_units": 1e12,
"denominations": [[1000000, 1, "piconero"], [1000000000, 1e6, "micronero"], [1000000000000, 1e9, "millinero"]],
"address_length": [95, 95], # min/max size of addresses
"address_prefix": ['4', '9'], # allowed prefixes of addresses
"min_withdrawal_fee": 10000000000,
"web_wallet_url": "https://mymonero.com/", # None is there's none
},
"ducknote": {
"name": "Darknote",
"atomic_units": 1e8,
"denominations": [],
"address_length": [95, 98], # min/max size of addresses
"address_prefix": ['dd'], # allowed prefixes of addresses
"min_withdrawal_fee": 1000000,
"web_wallet_url": None,
},
"dashcoin": {
"name": "Dashcoin",
"atomic_units": 1e8,
"denominations": [],
"address_length": [96], # min/max size of addresses
"address_prefix": ['D'], # allowed prefixes of addresses
"min_withdrawal_fee": 1000000,
"web_wallet_url": None,
}
}