Skip to content

Commit

Permalink
Merge pull request #2 from doged/master
Browse files Browse the repository at this point in the history
added dogecoindark
  • Loading branch information
Kefkius committed Oct 6, 2015
2 parents 93fbdb6 + 4da0d49 commit 3458842
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions encompass-mercury.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ coind_user = pkbrpc
coind_password = pkbrpcpassword
coind_host = localhost
coind_port = 59060

[doged]
coind_user = dogedrpcuser
coind_password = rpcpassword
coind_host = localhost
coind_port = 107337
18 changes: 18 additions & 0 deletions src/chains/dogecoindark.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import cryptocur
from cryptocur import chainhook

class Currency(cryptocur.CryptoCur):
p2pkh_version = 30
p2sh_version = 33
genesis_hash = '00000fc63692467faeb20cdb3b53200dc601d75bdfa1001463304cc790d77278'

coin_name = 'DogecoinDark'
code = 'DOGED'

@chainhook
def transaction_parse_fields(self, vds, is_coinbase, fields):
timestamp = ('timestamp', vds.read_int32, True)
fields.insert(1, timestamp)

irc_nick_prefix = 'EL_'
irc_channel = '#electrum-doged'

0 comments on commit 3458842

Please sign in to comment.