From c046c72f7a8094567ae1297dd4bb8940396bbbd6 Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Thu, 28 Nov 2024 12:59:46 +0000 Subject: [PATCH] doge: chainparams --- basicswap/chainparams.py | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/basicswap/chainparams.py b/basicswap/chainparams.py index c1ce0ef..f174b86 100644 --- a/basicswap/chainparams.py +++ b/basicswap/chainparams.py @@ -31,6 +31,7 @@ class Coins(IntEnum): LTC_MWEB = 15 # ZANO = 16 BCH = 17 + DOGE = 18 chainparams = { @@ -153,6 +154,44 @@ chainparams = { "max_amount": 10000000 * COIN, }, }, + Coins.DOGE: { + "name": "dogecoin", + "ticker": "DOGE", + "message_magic": "Dogecoin Signed Message:\n", + "blocks_target": 60 * 1, + "decimal_places": 8, + "mainnet": { + "rpcport": 22555, + "pubkey_address": 30, + "script_address": 22, + "key_prefix": 158, + "hrp": "doge", + "bip44": 3, + "min_amount": 100000, # TODO increase above fee + "max_amount": 10000000 * COIN, + }, + "testnet": { + "rpcport": 44555, + "pubkey_address": 113, + "script_address": 196, + "key_prefix": 239, + "hrp": "tdge", + "bip44": 3, + "min_amount": 100000, + "max_amount": 10000000 * COIN, + "name": "testnet4", + }, + "regtest": { + "rpcport": 18332, + "pubkey_address": 113, + "script_address": 196, + "key_prefix": 239, + "hrp": "rdge", + "bip44": 3, + "min_amount": 100000, + "max_amount": 10000000 * COIN, + }, + }, Coins.DCR: { "name": "decred", "ticker": "DCR",