add support for infura key

This commit is contained in:
Andrea Maria Piana 2024-04-29 12:29:30 +01:00
parent 5426463b04
commit fc7f95b8fa
3 changed files with 7 additions and 3 deletions

View File

@ -62,6 +62,9 @@
(def login-node-config
{:WalletConfig (cond-> {:Enabled true}
(not= config/infura-key "")
(assoc :InfuraKey config/infura-key)
(not= config/opensea-api-key "")
(assoc :OpenseaAPIKey config/opensea-api-key))})

View File

@ -22,6 +22,7 @@
(goog-define INFURA_TOKEN "800c641949d64d768a5070a1b0511938")
(goog-define OPENSEA_API_KEY "")
(def infura-key INFURA_TOKEN)
(def mainnet-rpc-url (str "https://mainnet.infura.io/v3/" INFURA_TOKEN))
(def testnet-rpc-url (str "https://ropsten.infura.io/v3/" INFURA_TOKEN))
(def goerli-rpc-url (str "https://goerli.infura.io/v3/" INFURA_TOKEN))

View File

@ -3,7 +3,7 @@
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
"owner": "status-im",
"repo": "status-go",
"version": "v0.108.3+hotfix.4",
"commit-sha1": "59c1864cf97ed4012f0be37ea607ef2179743032",
"src-sha256": "1v64iqylcvqv0ix7d2zc84kw5mjy0lj5bzr8wjpznfc3s0z0dzsp"
"version": "v0.108.3+hotfix.5.test",
"commit-sha1": "13dec7cdf5ea4ce110a417c72514d2f131c78405",
"src-sha256": "0j8cp80ki1sy1b5qry12dhz2d6cgf48zr2wpi93yws1q750lsv1m"
}