parent
5b9e4faa8a
commit
91a411fd36
|
@ -75,6 +75,8 @@
|
|||
"WalletConfig": {
|
||||
"Enabled": true,
|
||||
"OpenseaAPIKey": "",
|
||||
"RaribleMainnetAPIKey": "",
|
||||
"RaribleTestnetAPIKey": "",
|
||||
"AlchemyAPIKeys": {},
|
||||
"InfuraAPIKey": "",
|
||||
"InfuraAPIKeySecret": ""
|
||||
|
|
|
@ -225,6 +225,8 @@ var NODE_CONFIG* = %* {
|
|||
"WalletConfig": {
|
||||
"Enabled": true,
|
||||
"OpenseaAPIKey": OPENSEA_API_KEY_RESOLVED,
|
||||
"RaribleMainnetAPIKey": RARIBLE_MAINNET_API_KEY_RESOLVED,
|
||||
"RaribleTestnetAPIKey": RARIBLE_TESTNET_API_KEY_RESOLVED,
|
||||
"AlchemyAPIKeys": %* {
|
||||
"1": ALCHEMY_ETHEREUM_MAINNET_TOKEN_RESOLVED,
|
||||
"5": ALCHEMY_ETHEREUM_GOERLI_TOKEN_RESOLVED,
|
||||
|
|
|
@ -384,6 +384,8 @@ QtObject:
|
|||
result["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": %* {
|
||||
|
|
|
@ -56,5 +56,7 @@ let
|
|||
ALCHEMY_OPTIMISM_GOERLI_TOKEN_RESOLVED* = desktopConfig.alchemyOptimismGoerliToken
|
||||
ALCHEMY_OPTIMISM_SEPOLIA_TOKEN_RESOLVED* = desktopConfig.alchemyOptimismSepoliaToken
|
||||
OPENSEA_API_KEY_RESOLVED* = desktopConfig.openseaApiKey
|
||||
RARIBLE_MAINNET_API_KEY_RESOLVED* = desktopConfig.raribleMainnetApiKey
|
||||
RARIBLE_TESTNET_API_KEY_RESOLVED* = desktopConfig.raribleTestnetApiKey
|
||||
TENOR_API_KEY_RESOLVED* = desktopConfig.tenorApiKey
|
||||
WALLET_CONNECT_PROJECT_ID* = BUILD_WALLET_CONNECT_PROJECT_ID
|
||||
|
|
|
@ -14,6 +14,8 @@ const BASE_NAME_INFURA_TOKEN = "INFURA_TOKEN"
|
|||
const BASE_NAME_INFURA_TOKEN_SECRET = "INFURA_TOKEN_SECRET"
|
||||
const BASE_NAME_POKT_TOKEN = "POKT_TOKEN"
|
||||
const BASE_NAME_OPENSEA_API_KEY = "OPENSEA_API_KEY"
|
||||
const BASE_NAME_RARIBLE_MAINNET_API_KEY = "RARIBLE_MAINNET_API_KEY"
|
||||
const BASE_NAME_RARIBLE_TESTNET_API_KEY = "RARIBLE_TESTNET_API_KEY"
|
||||
const BASE_NAME_ALCHEMY_ETHEREUM_MAINNET_TOKEN = "ALCHEMY_ETHEREUM_MAINNET_TOKEN"
|
||||
const BASE_NAME_ALCHEMY_ETHEREUM_GOERLI_TOKEN = "ALCHEMY_ETHEREUM_GOERLI_TOKEN"
|
||||
const BASE_NAME_ALCHEMY_ETHEREUM_SEPOLIA_TOKEN = "ALCHEMY_ETHEREUM_SEPOLIA_TOKEN"
|
||||
|
@ -39,6 +41,8 @@ const
|
|||
DEFAULT_POKT_TOKEN = "849214fd2f85acead08f5184"
|
||||
BUILD_POKT_TOKEN = getEnv(BUILD_TIME_PREFIX & BASE_NAME_POKT_TOKEN, DEFAULT_POKT_TOKEN)
|
||||
const BUILD_OPENSEA_API_KEY = getEnv(BUILD_TIME_PREFIX & BASE_NAME_OPENSEA_API_KEY)
|
||||
const BUILD_RARIBLE_MAINNET_API_KEY = getEnv(BUILD_TIME_PREFIX & BASE_NAME_RARIBLE_MAINNET_API_KEY)
|
||||
const BUILD_RARIBLE_TESTNET_API_KEY = getEnv(BUILD_TIME_PREFIX & BASE_NAME_RARIBLE_TESTNET_API_KEY)
|
||||
const BUILD_ALCHEMY_ETHEREUM_MAINNET_TOKEN = getEnv(BUILD_TIME_PREFIX & BASE_NAME_ALCHEMY_ETHEREUM_MAINNET_TOKEN)
|
||||
const BUILD_ALCHEMY_ETHEREUM_GOERLI_TOKEN = getEnv(BUILD_TIME_PREFIX & BASE_NAME_ALCHEMY_ETHEREUM_GOERLI_TOKEN)
|
||||
const BUILD_ALCHEMY_ETHEREUM_SEPOLIA_TOKEN = getEnv(BUILD_TIME_PREFIX & BASE_NAME_ALCHEMY_ETHEREUM_SEPOLIA_TOKEN)
|
||||
|
@ -107,6 +111,16 @@ type StatusDesktopConfig = object
|
|||
desc: "Sets open sea api key"
|
||||
name: $BASE_NAME_OPENSEA_API_KEY
|
||||
abbr: "open-sea-api-key" .}: string
|
||||
raribleMainnetApiKey* {.
|
||||
defaultValue: BUILD_RARIBLE_MAINNET_API_KEY
|
||||
desc: "Sets rarible mainnet api key"
|
||||
name: $BASE_NAME_RARIBLE_MAINNET_API_KEY
|
||||
abbr: "rarible-mainnet-api-key" .}: string
|
||||
raribleTestnetApiKey* {.
|
||||
defaultValue: BUILD_RARIBLE_TESTNET_API_KEY
|
||||
desc: "Sets rarible testnet api key"
|
||||
name: $BASE_NAME_RARIBLE_TESTNET_API_KEY
|
||||
abbr: "rarible-testnet-api-key" .}: string
|
||||
alchemyEthereumMainnetToken* {.
|
||||
defaultValue: BUILD_ALCHEMY_ETHEREUM_MAINNET_TOKEN
|
||||
desc: "Sets alchemy ethereum mainnet token"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 31d0782f6678c275a9009139c819bfda51482e21
|
||||
Subproject commit 8a84c858a87324013a8a6f2fd75bee1cfc0892b6
|
Loading…
Reference in New Issue