mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-04 09:58:13 +01:00
* GreenField: Generate Store OnChain Wallet * Greenfield: Do not generate wallet if already configured
23 lines
731 B
C#
23 lines
731 B
C#
using BTCPayServer.Client.JsonConverters;
|
|
using NBitcoin;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class OnChainPaymentMethodDataWithSensitiveData : OnChainPaymentMethodData
|
|
{
|
|
public OnChainPaymentMethodDataWithSensitiveData()
|
|
{
|
|
}
|
|
|
|
public OnChainPaymentMethodDataWithSensitiveData(string cryptoCode, string derivationScheme, bool enabled,
|
|
string label, RootedKeyPath accountKeyPath, Mnemonic mnemonic) : base(cryptoCode, derivationScheme, enabled,
|
|
label, accountKeyPath)
|
|
{
|
|
Mnemonic = mnemonic;
|
|
}
|
|
|
|
[JsonConverter(typeof(MnemonicJsonConverter))]
|
|
public Mnemonic Mnemonic { get; set; }
|
|
}
|
|
}
|