mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-14 03:54:11 +00:00
Updates bnc-notify version and adds support for GridPlus Lattice [internal] (#1569)
* Adds support for GridPlus Lattice and bumps `bnc-onboard` version. For more information on the GridPlus Lattice, see https://gridplus.io/lattice * Disable Lattice wallet from incompatible chains Co-authored-by: Alex Miller <asmiller1989@gmail.com> Co-authored-by: Fernando <fernando.greco@gmail.com>
This commit is contained in:
parent
4b37b5d867
commit
387ebe68fb
@ -181,7 +181,7 @@
|
||||
"async-sema": "^3.1.0",
|
||||
"axios": "0.20.0",
|
||||
"bignumber.js": "9.0.1",
|
||||
"bnc-onboard": "1.13.2",
|
||||
"bnc-onboard": "1.14.0",
|
||||
"classnames": "^2.2.6",
|
||||
"concurrently": "^5.3.0",
|
||||
"connected-react-router": "6.8.0",
|
||||
|
@ -0,0 +1,7 @@
|
||||
<svg width="41px" height="41px" viewBox="0 0 41 41" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
||||
<!-- Generated by Pixelmator Pro 1.8 -->
|
||||
<defs>
|
||||
<image id="image" width="41px" height="41px" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAYAAACoYAD2AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKaADAAQAAAABAAAAKQAAAADAIIRfAAAFp0lEQVRYCdVYbUyVZRi+DwqEiimO9NBwwEnIlqwgk5D5AZsJLlrQ0rnVUFvrB8TmDwJqY8aYQA3b+tOf5mbFxjI/Go1+tMH6Ia0NB9iPwlMgoHw4VCZw+JDzdF2PvKeX46FzDnA8dG/Xnq/7ue/rfT7u53kfkf+BWBbJcT36xQNJQDqwA9gKbAZocwjoBX4HfgX+AP4CRoGAyzp4+Bi4DtwHnIDyAuqMAX8DpwB+YEDkaVj9CLgJeCPlrX0ANkg2Flg2eRGWOH3enPvb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hZTfsFxcXS11dnQwODsrFS5c86WtubDgC6OHZsGGDDhsMP4bMINTAiELc1DqJiYmIAPdVfX29LiNe6j7UP3L4sELsVAxBiJnzQ1B2tg5Bhl2mhu1XDxx4OD1zPAw+SN8D9HT/iZT/xesYjPfs2SOpqanCL6YMDQ0JlwLXnFEuLCxyBXcG84MHDwrClDgmJ2XVqlWCWChFRUUyPkazD6Xz2jXLiRMndAH8BAS1bS6R4eFhQ82cOlBwrR/e3/i6sNDXBKue61Ff17iV+fTxLbDS5HsQ4r+5Sziag0CwRs3dL8nxFqTFCIoczS/n6lZCwksFb+ePyFbU8Avcv+pxlxnAbY+wM1XwasTz6XETM/xNw3eOic+C2ZogkvwCvucfSQvQ5OMRdxafPowvDHQ6C1+NQATgs/AX9zwQaHKG/Sb40tcynxnOKYYj5dsMn+cMY8udcg1yiv0aQejPE66PfcBdYLkJchdnA8smcbBUBfCQXSpZhrla4D/DDNoXLfxZ58vCDcCf1zfqss/ngN/vTT5tdxh2F5Llo8IOgLH1eYCHgbH4OZX8l7gGXAF4m+El5g7AmfBL/gFhgZO179JGyAAAAABJRU5ErkJggg=="/>
|
||||
</defs>
|
||||
<use id="image-1" xlink:href="#image" x="0px" y="0px" width="41px" height="41px"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
@ -3,6 +3,7 @@ import metamaskIcon from './icon-metamask.png'
|
||||
import walletConnectIcon from './icon-wallet-connect.svg'
|
||||
import trezorIcon from './icon-trezor.svg'
|
||||
import ledgerIcon from './icon-ledger.svg'
|
||||
import latticeIcon from './icon-lattice.svg'
|
||||
import dapperIcon from './icon-dapper.png'
|
||||
import fortmaticIcon from './icon-fortmatic.svg'
|
||||
import portisIcon from './icon-portis.svg'
|
||||
@ -42,6 +43,10 @@ const WALLET_ICONS: WalletObjectsProps<IconValue> = {
|
||||
src: ledgerIcon,
|
||||
height: 25,
|
||||
},
|
||||
[WALLET_PROVIDER.LATTICE]: {
|
||||
src: latticeIcon,
|
||||
height: 41,
|
||||
},
|
||||
[WALLET_PROVIDER.DAPPER]: {
|
||||
src: dapperIcon,
|
||||
height: 25,
|
||||
|
@ -58,7 +58,8 @@ const mainnet: NetworkConfig = {
|
||||
WALLETS.UNILOGIN,
|
||||
WALLETS.WALLET_CONNECT,
|
||||
WALLETS.WALLET_LINK,
|
||||
WALLETS.AUTHEREUM
|
||||
WALLETS.AUTHEREUM,
|
||||
WALLETS.LATTICE
|
||||
]
|
||||
}
|
||||
|
||||
|
3
src/config/networks/network.d.ts
vendored
3
src/config/networks/network.d.ts
vendored
@ -15,7 +15,8 @@ export enum WALLETS {
|
||||
COINBASE = 'coinbase',
|
||||
WALLET_LINK = 'walletLink',
|
||||
OPERA = 'opera',
|
||||
OPERA_TOUCH = 'operaTouch'
|
||||
OPERA_TOUCH = 'operaTouch',
|
||||
LATTICE = 'lattice',
|
||||
}
|
||||
|
||||
export enum FEATURES {
|
||||
|
@ -55,7 +55,8 @@ const mainnet: NetworkConfig = {
|
||||
WALLETS.UNILOGIN,
|
||||
WALLETS.WALLET_CONNECT,
|
||||
WALLETS.WALLET_LINK,
|
||||
WALLETS.AUTHEREUM
|
||||
WALLETS.AUTHEREUM,
|
||||
WALLETS.LATTICE
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,8 @@ const xDai: NetworkConfig = {
|
||||
WALLETS.UNILOGIN,
|
||||
WALLETS.WALLET_CONNECT,
|
||||
WALLETS.WALLET_LINK,
|
||||
WALLETS.AUTHEREUM
|
||||
WALLETS.AUTHEREUM,
|
||||
WALLETS.LATTICE
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -24,6 +24,7 @@ export const WALLET_PROVIDER = {
|
||||
AUTHEREUM: 'AUTHEREUM',
|
||||
LEDGER: 'LEDGER',
|
||||
TREZOR: 'TREZOR',
|
||||
LATTICE: 'LATTICE',
|
||||
}
|
||||
|
||||
// With some wallets from web3connect you have to use their provider instance only for signing
|
||||
|
@ -40,6 +40,12 @@ const wallets: Wallet[] = [
|
||||
},
|
||||
{ walletName: WALLETS.TRUST, preferred: true, desktop: false },
|
||||
{ walletName: WALLETS.DAPPER, desktop: false },
|
||||
{
|
||||
walletName: WALLETS.LATTICE,
|
||||
rpcUrl,
|
||||
appName: 'Gnosis Safe',
|
||||
desktop: false,
|
||||
},
|
||||
{
|
||||
walletName: WALLETS.FORTMATIC,
|
||||
apiKey: FORTMATIC_KEY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user