mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-01 00:59:15 +01:00
Add Tests Add Index, XPub to payment data Add Note on local ETH node Fix Sync Summary and Race Condition
20 lines
442 B
C#
20 lines
442 B
C#
#if ALTCOINS
|
|
namespace BTCPayServer
|
|
{
|
|
public class EthereumBTCPayNetwork : BTCPayNetworkBase
|
|
{
|
|
public int ChainId { get; set; }
|
|
public int CoinType { get; set; }
|
|
|
|
public string GetDefaultKeyPath()
|
|
{
|
|
return $"m/44'/{CoinType}'/0'/0/x";
|
|
}
|
|
}
|
|
|
|
public class ERC20BTCPayNetwork : EthereumBTCPayNetwork
|
|
{
|
|
public string SmartContractAddress { get; set; }
|
|
}
|
|
}
|
|
#endif
|