mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Removed "walletfile" setting for XMR and WOW, replaced with "wallet_name". Set wallet_name in prepare script with eg: BTC_WALLET_NAME env var.
33 lines
678 B
Python
33 lines
678 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright (c) 2024 The Basicswap developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
from basicswap.chainparams import WOW_COIN, Coins
|
|
from .xmr import XMRInterface
|
|
|
|
|
|
class WOWInterface(XMRInterface):
|
|
|
|
@staticmethod
|
|
def coin_type():
|
|
return Coins.WOW
|
|
|
|
@staticmethod
|
|
def ticker_str() -> int:
|
|
return Coins.WOW.name
|
|
|
|
@staticmethod
|
|
def COIN():
|
|
return WOW_COIN
|
|
|
|
@staticmethod
|
|
def exp() -> int:
|
|
return 11
|
|
|
|
@staticmethod
|
|
def depth_spendable() -> int:
|
|
return 3
|