mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-04 18:06:08 +01:00
21 lines
442 B
C#
21 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
|