fix(wallet): use default wallet config for login to avoid duplication
This commit is contained in:
parent
95eb5fe71d
commit
9faa5a5a3a
|
@ -241,6 +241,7 @@ var NODE_CONFIG* = %* {
|
||||||
"EnableFilterFullNode": true,
|
"EnableFilterFullNode": true,
|
||||||
"UseShardAsDefaultTopic": true,
|
"UseShardAsDefaultTopic": true,
|
||||||
},
|
},
|
||||||
|
# Don't add properties to the login node config that can be changed from within the app
|
||||||
"WalletConfig": {
|
"WalletConfig": {
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"OpenseaAPIKey": OPENSEA_API_KEY_RESOLVED,
|
"OpenseaAPIKey": OPENSEA_API_KEY_RESOLVED,
|
||||||
|
|
|
@ -379,25 +379,7 @@ QtObject:
|
||||||
"UDPPort": WAKU_V2_PORT
|
"UDPPort": WAKU_V2_PORT
|
||||||
}
|
}
|
||||||
|
|
||||||
result["WalletConfig"] = %* {
|
result["WalletConfig"] = NODE_CONFIG["WalletConfig"]
|
||||||
"LoadAllTransfers": true,
|
|
||||||
"OpenseaAPIKey": OPENSEA_API_KEY_RESOLVED,
|
|
||||||
"RaribleMainnetAPIKey": RARIBLE_MAINNET_API_KEY_RESOLVED,
|
|
||||||
"RaribleTestnetAPIKey": RARIBLE_TESTNET_API_KEY_RESOLVED,
|
|
||||||
"InfuraAPIKey": INFURA_TOKEN_RESOLVED,
|
|
||||||
"InfuraAPIKeySecret": INFURA_TOKEN_SECRET_RESOLVED,
|
|
||||||
"AlchemyAPIKeys": %* {
|
|
||||||
"1": ALCHEMY_ETHEREUM_MAINNET_TOKEN_RESOLVED,
|
|
||||||
"5": ALCHEMY_ETHEREUM_GOERLI_TOKEN_RESOLVED,
|
|
||||||
"11155111": ALCHEMY_ETHEREUM_SEPOLIA_TOKEN_RESOLVED,
|
|
||||||
"42161": ALCHEMY_ARBITRUM_MAINNET_TOKEN_RESOLVED,
|
|
||||||
"421613": ALCHEMY_ARBITRUM_GOERLI_TOKEN_RESOLVED,
|
|
||||||
"421614": ALCHEMY_ARBITRUM_SEPOLIA_TOKEN_RESOLVED,
|
|
||||||
"10": ALCHEMY_OPTIMISM_MAINNET_TOKEN_RESOLVED,
|
|
||||||
"420": ALCHEMY_OPTIMISM_GOERLI_TOKEN_RESOLVED,
|
|
||||||
"11155420": ALCHEMY_OPTIMISM_SEPOLIA_TOKEN_RESOLVED
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
result["TorrentConfig"] = %* {
|
result["TorrentConfig"] = %* {
|
||||||
"Port": TORRENT_CONFIG_PORT,
|
"Port": TORRENT_CONFIG_PORT,
|
||||||
|
|
Loading…
Reference in New Issue