Skip to content

Commit

Permalink
improve wallet connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed May 4, 2024
1 parent bed9997 commit 35cf3d0
Show file tree
Hide file tree
Showing 15 changed files with 139 additions and 33 deletions.
2 changes: 1 addition & 1 deletion dist/esm/index.bundle.js

Large diffs are not rendered by default.

24 changes: 20 additions & 4 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ var allWallets = [{
"name": "Trust Wallet",
"extensions": ["TrustEVM", "TrustSVM"],
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
Expand Down Expand Up @@ -305,6 +305,25 @@ var allWallets = [{
},
"logo": (_wallets$Rabby = wallets.Rabby) === null || _wallets$Rabby === void 0 ? void 0 : (_wallets$Rabby$info = _wallets$Rabby.info) === null || _wallets$Rabby$info === void 0 ? void 0 : _wallets$Rabby$info.logo,
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Kraken",
"desktop": {
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
},
"android": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
}
},
"logo": "https://img1.depay.com/wallets/kraken.jpg",
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Backpack",
"extension": "Backpack",
Expand Down Expand Up @@ -359,9 +378,6 @@ var allWallets = [{
"ios": {
"native": "solflare:",
"universal": "https://solflare.com/ul",
"open": function open() {
return "solflare://ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(window.location.origin.toString());
},
"solanaPay": true
},
"android": {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js.map

Large diffs are not rendered by default.

22 changes: 19 additions & 3 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,25 @@ var allWallets = [{
},
"logo": (_wallets$Rabby = wallets.Rabby) === null || _wallets$Rabby === void 0 ? void 0 : (_wallets$Rabby$info = _wallets$Rabby.info) === null || _wallets$Rabby$info === void 0 ? void 0 : _wallets$Rabby$info.logo,
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Kraken",
"desktop": {
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
},
"android": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
}
},
"logo": "https://img1.depay.com/wallets/kraken.jpg",
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Backpack",
"extension": "Backpack",
Expand Down Expand Up @@ -361,9 +380,6 @@ var allWallets = [{
"ios": {
"native": "solflare:",
"universal": "https://solflare.com/ul",
"open": function open() {
return "solflare://ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(window.location.origin.toString());
},
"solanaPay": true
},
"android": {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

24 changes: 20 additions & 4 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ var allWallets = [{
"name": "Trust Wallet",
"extensions": ["TrustEVM", "TrustSVM"],
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
Expand Down Expand Up @@ -306,6 +306,25 @@ var allWallets = [{
},
"logo": (_wallets$Rabby = wallets.Rabby) === null || _wallets$Rabby === void 0 ? void 0 : (_wallets$Rabby$info = _wallets$Rabby.info) === null || _wallets$Rabby$info === void 0 ? void 0 : _wallets$Rabby$info.logo,
"blockchains": _toConsumableArray(supported$4.evm)
}, {
"name": "Kraken",
"desktop": {
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
},
"android": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
}
},
"logo": "https://img1.depay.com/wallets/kraken.jpg",
"blockchains": _toConsumableArray(supported$4.evm)
}, {
"name": "Backpack",
"extension": "Backpack",
Expand Down Expand Up @@ -360,9 +379,6 @@ var allWallets = [{
"ios": {
"native": "solflare:",
"universal": "https://solflare.com/ul",
"open": function open() {
return "solflare://ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(window.location.origin.toString());
},
"solanaPay": true
},
"android": {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.bundle.js

Large diffs are not rendered by default.

24 changes: 20 additions & 4 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"name": "Trust Wallet",
"extensions": ["TrustEVM", "TrustSVM"],
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
Expand Down Expand Up @@ -303,6 +303,25 @@
},
"logo": (_wallets$Rabby = web3WalletsEvm.wallets.Rabby) === null || _wallets$Rabby === void 0 ? void 0 : (_wallets$Rabby$info = _wallets$Rabby.info) === null || _wallets$Rabby$info === void 0 ? void 0 : _wallets$Rabby$info.logo,
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Kraken",
"desktop": {
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
},
"android": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
}
},
"logo": "https://img1.depay.com/wallets/kraken.jpg",
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Backpack",
"extension": "Backpack",
Expand Down Expand Up @@ -357,9 +376,6 @@
"ios": {
"native": "solflare:",
"universal": "https://solflare.com/ul",
"open": function open() {
return "solflare://ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(window.location.origin.toString());
},
"solanaPay": true
},
"android": {
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js.map

Large diffs are not rendered by default.

22 changes: 19 additions & 3 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,25 @@
},
"logo": (_wallets$Rabby = web3Wallets.wallets.Rabby) === null || _wallets$Rabby === void 0 ? void 0 : (_wallets$Rabby$info = _wallets$Rabby.info) === null || _wallets$Rabby$info === void 0 ? void 0 : _wallets$Rabby$info.logo,
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Kraken",
"desktop": {
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
},
"android": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
}
},
"logo": "https://img1.depay.com/wallets/kraken.jpg",
"blockchains": _toConsumableArray(supported.evm)
}, {
"name": "Backpack",
"extension": "Backpack",
Expand Down Expand Up @@ -357,9 +376,6 @@
"ios": {
"native": "solflare:",
"universal": "https://solflare.com/ul",
"open": function open() {
return "solflare://ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(window.location.origin.toString());
},
"solanaPay": true
},
"android": {
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

24 changes: 20 additions & 4 deletions dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"name": "Trust Wallet",
"extensions": ["TrustEVM", "TrustSVM"],
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
Expand Down Expand Up @@ -304,6 +304,25 @@
},
"logo": (_wallets$Rabby = web3WalletsSolana.wallets.Rabby) === null || _wallets$Rabby === void 0 ? void 0 : (_wallets$Rabby$info = _wallets$Rabby.info) === null || _wallets$Rabby$info === void 0 ? void 0 : _wallets$Rabby$info.logo,
"blockchains": _toConsumableArray(supported$4.evm)
}, {
"name": "Kraken",
"desktop": {
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
},
"android": {
"native": "krakenwallet:",
"connect": "WalletConnectV2",
"qr": "WalletConnectV2"
}
},
"logo": "https://img1.depay.com/wallets/kraken.jpg",
"blockchains": _toConsumableArray(supported$4.evm)
}, {
"name": "Backpack",
"extension": "Backpack",
Expand Down Expand Up @@ -358,9 +377,6 @@
"ios": {
"native": "solflare:",
"universal": "https://solflare.com/ul",
"open": function open() {
return "solflare://ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(window.location.origin.toString());
},
"solanaPay": true
},
"android": {
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions src/helpers/allWallets.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export default [
{
"name": "Trust Wallet",
"extensions": ["TrustEVM", "TrustSVM"],
"desktop": { "qr": "WalletConnectV1" },
"desktop": { "qr": "WalletConnectV2" },
"mobile": {
"ios": { "native": "trust:", "universal": "https://link.trustwallet.com", "connect": "WalletConnectV1", "qr": "WalletConnectV1" },
"android": { "native": "trust:", "universal": "https://link.trustwallet.com", "connect": "WalletConnectV1", "qr": "WalletConnectV1" },
"ios": { "native": "trust:", "universal": "https://link.trustwallet.com", "connect": "WalletConnectV2", "qr": "WalletConnectV2" },
"android": { "native": "trust:", "universal": "https://link.trustwallet.com", "connect": "WalletConnectV2", "qr": "WalletConnectV2" },
},
"logo": wallets.TrustEVM?.info?.logo,
"blockchains": [...supported]
Expand Down Expand Up @@ -155,6 +155,16 @@ export default [
"logo": wallets.Rabby?.info?.logo,
"blockchains": [...supported.evm]
},
{
"name": "Kraken",
"desktop": { "qr": "WalletConnectV2" },
"mobile": {
"ios": { "native": "krakenwallet:", "connect": "WalletConnectV2", "qr": "WalletConnectV2" },
"android": { "native": "krakenwallet:", "connect": "WalletConnectV2", "qr": "WalletConnectV2" },
},
"logo": "https://img1.depay.com/wallets/kraken.jpg",
"blockchains": [...supported.evm]
},
{
"name": "Backpack",
"extension": "Backpack",
Expand Down

0 comments on commit 35cf3d0

Please sign in to comment.