mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
30 lines
997 B
C#
30 lines
997 B
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 override string ToString()
|
|||
|
{
|
|||
|
return "";
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
#endif
|
|||
|
|