irccex

- fantasy cryptocurrency exchange for irc
git clone git://git.acid.vegas/irccex.git
Log | Files | Refs | Archive | README | LICENSE

config.py (1057B)

      1 #!/usr/bin/env python
      2 # IRC Cryptocurrency Exchange (IRCCEX) - Developed by acidvegas in Python (https://git.acid.vegas/irccex)
      3 # config.py
      4 
      5 class connection:
      6 	server     = 'irc.server.com'
      7 	port       = 6697
      8 	ipv6       = False
      9 	ssl        = True
     10 	ssl_verify = False
     11 	vhost      = None
     12 	channel    = '#exchange'
     13 	key        = None
     14 	modes      = None
     15 
     16 class cert:
     17 	key      = None
     18 	password = None
     19 	file     = None
     20 
     21 class ident:
     22 	nickname = 'IRCCEX'
     23 	username = 'exchange'
     24 	realname = 'git.acid.vegas/irccex'
     25 
     26 class login:
     27 	network  = None
     28 	nickserv = None
     29 	operator = None
     30 
     31 class throttle:
     32 	cmd       = 3
     33 	msg       = 0.5
     34 	reconnect = 10
     35 	rejoin    = 3
     36 
     37 class limits:
     38 	assets  = 10   # Maximum number of assets held
     39 	cashout = 5000 # Minimum USD required to !cashout
     40 	init    = 1000 # Initial USD for people who !register
     41 	send    = 2500 # Minimum balance required for !send
     42 	trade   = 5    # Minimum USD amount for !trade
     43 
     44 class fees:
     45 	cashout = 0.02  # 2%
     46 	send    = 0.01  # 1%
     47 	trade   = 0.001 # 0.1%
     48 
     49 CMC_API_KEY = None # https://coinmarketcap.com/api/