Skip to content

Commit

Permalink
Support RIF Relay v2 (#742)
Browse files Browse the repository at this point in the history
* point app to the v2 relay server.

* TEMP - add console logs

* Add package, lock and console.log

* Add console logs to attempt to fix issue.

* bump package version.

* Bump package version.

* Update resolution

* Cleanup console.logs.

* Bump version.

* Bump version.

* Cleanup.
  • Loading branch information
jessgusclark authored Sep 28, 2023
1 parent 48d9f9f commit 8966026
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"QR_READER_BITCOIN_DEFAULT_NETWORK_MAINNET": "BITCOIN",
"QR_READER_BITCOIN_DEFAULT_NETWORK_TESTNET": "BITCOIN_TESTNET",
"RIF_RELAY_SERVER_MAINNET": "https://relay.rif-wallet-services.mainnet.rifcomputing.net",
"RIF_RELAY_SERVER_TESTNET": "https://relay.rif-wallet-services.testnet.rifcomputing.net",
"RIF_RELAY_SERVER_TESTNET": "https://v2.relay.rif-wallet-services.testnet.rifcomputing.net",
"SMART_WALLET_FACTORY_ADDRESS_MAINNET": "0x9eebec6c5157bee13b451b1dfe1ee2cb40846323",
"SMART_WALLET_FACTORY_ADDRESS_TESTNET": "0xBaDb31cAf5B95edd785446B76219b60fB1f07233",
"RELAY_VERIFIER_ADDRESS_MAINNET": "0x5C9c7d96E6C59E55dA4dCf7F791AE58dAF8DBc86",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@react-navigation/stack": "^6.0.9",
"@reduxjs/toolkit": "^1.9.0",
"@rsksmart/rif-id-mnemonic": "^0.1.1",
"@rsksmart/rif-relay-light-sdk": "^1.0.11",
"@rsksmart/rif-relay-light-sdk": "^1.0.12",
"@rsksmart/rif-wallet-abi-enhancer": "^1.0.5",
"@rsksmart/rif-wallet-adapters": "^1.0.0",
"@rsksmart/rif-wallet-bitcoin": "^1.2.0",
Expand Down Expand Up @@ -142,7 +142,7 @@
},
"resolutions": {
"@types/react": "^17",
"@rsksmart/rif-relay-light-sdk": "1.0.11"
"@rsksmart/rif-relay-light-sdk": "1.0.12"
},
"jest": {
"preset": "react-native",
Expand Down
1 change: 1 addition & 0 deletions src/screens/settings/RelayDeployScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export const RelayDeployScreen = ({
}),
)
} else {
console.log('Deploy Error,', receipt)
updateErrorState(t('wallet_deploy_error'))
}
dispatch(
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2023,10 +2023,10 @@
lodash "^4.17.15"
randombytes "^2.1.0"

"@rsksmart/rif-relay-light-sdk@*", "@rsksmart/[email protected].11", "@rsksmart/rif-relay-light-sdk@^1.0.11":
version "1.0.11"
resolved "https://npm.pkg.github.com/download/@rsksmart/rif-relay-light-sdk/1.0.11/4b1f889bd9c32eb77932a1ddf357a1b46415094f#4b1f889bd9c32eb77932a1ddf357a1b46415094f"
integrity sha512-GXIlGzKhaV/aIbxPihyXj38nlQow9Q/9kDgXW/yl8gNUAd5iAm0fOp8/GOzdNAUVDqqc2YbPq10nHjX1BNXQEA==
"@rsksmart/rif-relay-light-sdk@*", "@rsksmart/[email protected].12", "@rsksmart/rif-relay-light-sdk@^1.0.12":
version "1.0.12"
resolved "https://npm.pkg.github.com/download/@rsksmart/rif-relay-light-sdk/1.0.12/a3cd378360c495f5ca7a041f43bcde534c46424b#a3cd378360c495f5ca7a041f43bcde534c46424b"
integrity sha512-c6jeo72y8v78aEVtBKbdgX1d1P1GMn1z5eUr4S6n57dMY0q3FcvfjPdLuXaGK7jpmaMb3HmCBRV3qb+KwG+vbg==
dependencies:
"@ethersproject/abstract-provider" "^5.7.0"
axios "^1.2.3"
Expand Down

0 comments on commit 8966026

Please sign in to comment.