From fc7f95b8fa45802b93ed8ceb9bc86088a8d12380 Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Mon, 29 Apr 2024 12:29:30 +0100 Subject: [PATCH] add support for infura key --- src/status_im/node/core.cljs | 3 +++ src/status_im/utils/config.cljs | 1 + status-go-version.json | 6 +++--- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/status_im/node/core.cljs b/src/status_im/node/core.cljs index 632a0c3d0a..27aa1b5578 100644 --- a/src/status_im/node/core.cljs +++ b/src/status_im/node/core.cljs @@ -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))}) diff --git a/src/status_im/utils/config.cljs b/src/status_im/utils/config.cljs index c64f8e01ad..3c602839b5 100644 --- a/src/status_im/utils/config.cljs +++ b/src/status_im/utils/config.cljs @@ -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)) diff --git a/status-go-version.json b/status-go-version.json index 105754800f..65b768ec77 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "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" }