add electrum config
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { ConfirmationTier } from './ConfirmationTier';
|
||||
import { ElectrumWalletConfig } from './ElectrumWalletConfig';
|
||||
import { MoneroWalletConfig } from './MoneroWalletConfig';
|
||||
import { NodeEnv } from './NodeEnv';
|
||||
import { PaymentMethod } from '../modules/payment/types/PaymentMethod';
|
||||
@@ -122,5 +123,6 @@ export interface Config {
|
||||
order: OrderConfig;
|
||||
invoice: InvoiceConfig;
|
||||
moneroWallet: MoneroWalletConfig;
|
||||
electrumWallet: ElectrumWalletConfig;
|
||||
simplex: SimplexConfig;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export enum ElectrumNetwork {
|
||||
Mainnet = 'mainnet',
|
||||
Testnet = 'testnet'
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ElectrumNetwork } from './ElectrumNetwork';
|
||||
|
||||
export interface ElectrumWalletConfig {
|
||||
network: ElectrumNetwork;
|
||||
server: string;
|
||||
rpcUrl: string;
|
||||
username: string;
|
||||
password: string;
|
||||
rpcTimeoutMs: number;
|
||||
}
|
||||
Reference in New Issue
Block a user