mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-03 04:14:02 +00:00
Update status-go to 0.10.3
Signed-off-by: Adam Babik <a.babik@designfortress.com>
This commit is contained in:
parent
3a982e5d6b
commit
0a313ef525
@ -16,7 +16,7 @@ dependencies {
|
|||||||
implementation 'com.instabug.library:instabug:3+'
|
implementation 'com.instabug.library:instabug:3+'
|
||||||
implementation 'status-im:function:0.0.1'
|
implementation 'status-im:function:0.0.1'
|
||||||
|
|
||||||
String statusGoVersion = 'develop-g03bf6e37'
|
String statusGoVersion = 'develop-ga6d69eba'
|
||||||
final String statusGoGroup = 'status-im', statusGoName = 'status-go'
|
final String statusGoGroup = 'status-im', statusGoName = 'status-go'
|
||||||
|
|
||||||
// Check if the local status-go jar exists, and compile against that if it does
|
// Check if the local status-go jar exists, and compile against that if it does
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>status-im</groupId>
|
<groupId>status-im</groupId>
|
||||||
<artifactId>status-go-ios-simulator</artifactId>
|
<artifactId>status-go-ios-simulator</artifactId>
|
||||||
<version>develop-g03bf6e37</version>
|
<version>develop-ga6d69eba</version>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<overWrite>true</overWrite>
|
<overWrite>true</overWrite>
|
||||||
<outputDirectory>./</outputDirectory>
|
<outputDirectory>./</outputDirectory>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
(re-frame/reg-cofx
|
(re-frame/reg-cofx
|
||||||
::get-web3
|
::get-web3
|
||||||
(fn [coeffects _]
|
(fn [coeffects _]
|
||||||
(let [web3 (web3-provider/make-web3)
|
(let [web3 (web3-provider/make-internal-web3)
|
||||||
address (get-in coeffects [:db :account/account :address])]
|
address (get-in coeffects [:db :account/account :address])]
|
||||||
(set! (.-defaultAccount (.-eth web3))
|
(set! (.-defaultAccount (.-eth web3))
|
||||||
(ethereum/normalized-address address))
|
(ethereum/normalized-address address))
|
||||||
|
@ -3,10 +3,13 @@
|
|||||||
[status-im.native-module.core :as status]
|
[status-im.native-module.core :as status]
|
||||||
[status-im.js-dependencies :as dependencies]))
|
[status-im.js-dependencies :as dependencies]))
|
||||||
|
|
||||||
(defn make-web3 []
|
;; This Web3 object will allow access to private RPC calls
|
||||||
|
;; It should be only used for internal application needs and never provided to any
|
||||||
|
;; 3rd parties (DApps, etc)
|
||||||
|
(defn make-internal-web3 []
|
||||||
(dependencies/Web3.
|
(dependencies/Web3.
|
||||||
#js {:sendAsync (fn [payload callback]
|
#js {:sendAsync (fn [payload callback]
|
||||||
(status/call-web3
|
(status/call-web3-private
|
||||||
(.stringify js/JSON payload)
|
(.stringify js/JSON payload)
|
||||||
(fn [response]
|
(fn [response]
|
||||||
(if (= "" response)
|
(if (= "" response)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user