Slave/btc integration #4

Merged
nobswebdev merged 47 commits from slave/btc-integration into master 2026-09-07 11:11:10 +00:00
3 changed files with 6 additions and 0 deletions
Showing only changes of commit 8d9054b119 - Show all commits
+1
View File
@@ -218,6 +218,7 @@ export const getElectrumWalletConfig = (): ElectrumWalletConfig => ({
rpcUrl: `http://${env('ELECTRUM_DAEMON_HOST')}:${envInt('ELECTRUM_DAEMON_PORT')}`, rpcUrl: `http://${env('ELECTRUM_DAEMON_HOST')}:${envInt('ELECTRUM_DAEMON_PORT')}`,
username: env('ELECTRUM_DAEMON_RPC_USER'), username: env('ELECTRUM_DAEMON_RPC_USER'),
password: env('ELECTRUM_DAEMON_RPC_PASSWORD'), password: env('ELECTRUM_DAEMON_RPC_PASSWORD'),
walletPassword: env('ELECTRUM_WALLET_PASSWORD'),
rpcTimeoutMs: envInt('ELECTRUM_DAEMON_RPC_TIMEOUT_MS') rpcTimeoutMs: envInt('ELECTRUM_DAEMON_RPC_TIMEOUT_MS')
}); });
+4
View File
@@ -374,6 +374,10 @@ class EnvironmentVariables {
@Min(1000) @Min(1000)
ELECTRUM_DAEMON_RPC_TIMEOUT_MS: number; ELECTRUM_DAEMON_RPC_TIMEOUT_MS: number;
@IsNotEmpty()
@IsString()
ELECTRUM_WALLET_PASSWORD: string;
@IsNotEmpty() @IsNotEmpty()
@IsString() @IsString()
SIMPLEX_WS_URL: string; SIMPLEX_WS_URL: string;
@@ -6,5 +6,6 @@ export interface ElectrumWalletConfig {
rpcUrl: string; rpcUrl: string;
username: string; username: string;
password: string; password: string;
walletPassword: string;
rpcTimeoutMs: number; rpcTimeoutMs: number;
} }