btcpayserver/BTCPayServer/Services/Altcoins/Ethereum/Configuration/EthereumLikeConfiguration.cs
XPayServer de755ac0bb Add Ethereum & ERC20 Support
Add Tests
Add Index, XPub to payment data
Add Note on local ETH node
Fix Sync Summary and Race Condition
2020-09-09 08:19:10 +02:00

31 lines
1 KiB
C#

#if ALTCOINS
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Services.Altcoins.Ethereum.Configuration
{
public class EthereumLikeConfiguration
{
public static string SettingsKey(int chainId)
{
return $"{nameof(EthereumLikeConfiguration)}_{chainId}";
}
public int ChainId { get; set; }
[Display(Name = "Web3 provider url")]
public string Web3ProviderUrl { get; set; }
[Display(Name = "Web3 provider username (can be left blank)")]
public string Web3ProviderUsername { get; set; }
[Display(Name = "Web3 provider password (can be left blank)")]
public string Web3ProviderPassword { get; set; }
public string InvoiceId { get; set; }
public override string ToString()
{
return "";
}
}
}
#endif