nimbus-wallet-management
Version:
Nimbus Wallet Management solution inspired by Lifi
253 lines (226 loc) • 45.7 kB
text/typescript
import { injected } from '@wagmi/connectors';
import { isWalletInstalled } from '../utils/isWalletInstalled.js';
export const metaMask = /*#__PURE__*/ injected({
target: {
id: 'metaMaskSDK',
name: 'MetaMask',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='35' height='33' fill='none'%3e %3cg stroke-linecap='round' stroke-linejoin='round' stroke-width='.25'%3e %3cpath fill='%23e17726' stroke='%23e17726' d='m32.958 1-13.134 9.718 2.442-5.727z'/%3e %3cg fill='%23e27625' stroke='%23e27625'%3e %3cpath d='m2.663 1 13.017 9.809-2.325-5.818zM28.23 23.534l-3.495 5.338 7.483 2.06 2.143-7.282zm-26.957.116 2.13 7.282 7.47-2.06-3.481-5.339z'/%3e %3cpath d='M10.47 14.515 8.393 17.65l7.405.337-.247-7.97zm14.68 0-5.157-4.587-.169 8.06 7.405-.337zM10.873 28.872l4.482-2.164-3.858-3.006zm9.393-2.164 4.469 2.164-.61-5.17z'/%3e %3c/g%3e %3cpath fill='%23d5bfb2' stroke='%23d5bfb2' d='m24.735 28.872-4.47-2.164.365 2.903-.04 1.23zm-13.862 0 4.157 1.97-.026-1.231.351-2.903z'/%3e %3cpath fill='%23233447' stroke='%23233447' d='m15.108 21.784-3.715-1.088 2.624-1.205zm5.405 0 1.09-2.293 2.638 1.205z'/%3e %3cpath fill='%23cc6228' stroke='%23cc6228' d='m10.873 28.872.65-5.338-4.131.116zm13.225-5.338.637 5.338 3.494-5.222zm3.132-5.884-7.406.338.689 3.796 1.09-2.293 2.638 1.205zm-15.837 3.046 2.624-1.205 1.091 2.293.689-3.796-7.405-.337z'/%3e %3cpath fill='%23e27525' stroke='%23e27525' d='m8.392 17.65 3.105 6.052-.104-3.006zm15.849 3.046-.117 3.006 3.105-6.051zm-8.444-2.708-.689 3.796.87 4.484.196-5.91zm4.027 0-.364 2.358.182 5.922.87-4.484z'/%3e %3cpath fill='%23f5841f' stroke='%23f5841f' d='m20.513 21.784-.87 4.484.623.44 3.858-3.006.117-3.006zm-9.12-1.088.104 3.006 3.858 3.006.624-.44-.87-4.484z'/%3e %3cpath fill='%23c0ac9d' stroke='%23c0ac9d' d='m20.59 30.842.04-1.231-.338-.285h-4.963l-.325.285.026 1.23-4.157-1.969 1.455 1.192 2.95 2.035h5.053l2.962-2.035 1.442-1.192z'/%3e %3cpath fill='%23161616' stroke='%23161616' d='m20.266 26.708-.624-.44H15.98l-.624.44-.35 2.903.324-.285h4.963l.338.285z'/%3e %3cpath fill='%23763e1a' stroke='%23763e1a' d='M33.517 11.353 34.62 5.99 32.958 1l-12.692 9.394 4.885 4.12 6.898 2.01 1.52-1.776-.663-.48 1.053-.958-.806-.622 1.052-.804zM1 5.989l1.117 5.364-.714.532 1.065.803-.805.622 1.052.959-.663.48 1.52 1.774 6.899-2.008 4.884-4.12L2.663 1z'/%3e %3cpath fill='%23f5841f' stroke='%23f5841f' d='m32.049 16.523-6.898-2.008 2.078 3.136-3.105 6.051 4.106-.052h6.131zM10.47 14.515l-6.898 2.008-2.3 7.127h6.12l4.105.052-3.105-6.051zm9.354 3.473.442-7.594 2-5.403h-8.911l2 5.403.442 7.594.169 2.384.013 5.896h3.663l.013-5.896z'/%3e %3c/g%3e %3c/svg%3e",
provider: (window) => window?.ethereum,
},
}); // _metaMask();
// Unknown wallet that injects as metamask but is not metamask
export const defaultWallet = /*#__PURE__*/ injected({
target: {
id: 'default',
name: 'Default Wallet',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3e %3cpath fill='black' d='M21 18v1c0 1.1-.9 2-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14c1.1 0 2 .9 2 2v1h-9a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h9Zm-9-2h10V8H12v8Zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5Z'/%3e %3c/svg%3e",
provider: (window) => window?.ethereum,
},
});
export const bitget = /*#__PURE__*/ injected({
target: {
id: 'bitget',
name: 'Bitget Wallet',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' fill='none'%3e %3cg clip-path='url(%23a)'%3e %3cpath fill='%2354FFF5' d='M0 0h512v512H0z'/%3e %3cg filter='url(%23b)'%3e %3cpath fill='white' d='M26.961 397.206C-58.655 638.082 399.323 570.05 639.014 505.924 884.329 424.513 714.772 65.65 538.829 57.708c-175.943-7.943 21.816 165.937-127.638 215.599C261.737 322.97 133.982 96.113 26.961 397.206Z'/%3e %3c/g%3e %3cg filter='url(%23c)'%3e %3cpath fill='%2300FFF0' fill-opacity='.67' d='M171.024-91.647C126.112-214.354-33.838-47.993-108.199 50.527-179.13 157.694 6.019 250.302 78.641 200.073c72.624-50.229-63.092-60.002-19.9-125.318C101.935 9.44 227.164 61.737 171.025-91.647Z'/%3e %3c/g%3e %3cg filter='url(%23d)'%3e %3cpath fill='%239D81FF' d='M192.959 450.845c-61.258-206.12-325.122-97.573-449.397-17.533-119.542 94.77 164.296 367.382 282.183 353.437 117.887-13.945-94.568-132.621-21.77-190.41 72.797-57.79 265.558 112.157 188.984-145.494Z'/%3e %3c/g%3e %3cg filter='url(%23e)'%3e %3cpath fill='%234D94FF' d='M564.24-214.706c-132.146-157.356-321.315-27.234-399.381 57.497-68.311 95.92 283.69 271.671 381.384 241.552 97.693-30.12-133.22-92.444-91.649-150.919 41.57-58.475 274.829 48.565 109.646-148.13Z'/%3e %3c/g%3e %3cpath fill='black' fill-rule='evenodd' d='M186.378 305.672h86.969l-98.93-99.57 100.202-99.569L301.911 80h-90.272L96.672 195.555c-5.802 5.824-5.772 15.248.06 21.043l89.646 89.074Zm52.282-99.336h-.669l.662-.007.007.007Zm0 0 98.923 99.562-100.202 99.57-27.292 26.533h90.272l114.967-115.548c5.802-5.824 5.772-15.248-.06-21.043l-89.646-89.074H238.66Z' clip-rule='evenodd'/%3e %3c/g%3e %3cdefs%3e %3cfilter id='b' width='1139.12' height='902.864' x='-180.482' y='-139.48' color-interpolation-filters='sRGB' filterUnits='userSpaceOnUse'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeBlend in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3e %3cfeGaussianBlur result='effect1_foregroundBlur_2029_360' stdDeviation='98.462'/%3e %3c/filter%3e %3cfilter id='c' width='703.193' height='743.016' x='-321.021' y='-331.978' color-interpolation-filters='sRGB' filterUnits='userSpaceOnUse'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeBlend in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3e %3cfeGaussianBlur result='effect1_foregroundBlur_2029_360' stdDeviation='98.462'/%3e %3c/filter%3e %3cfilter id='d' width='889.703' height='848.905' x='-482.155' y='135.284' color-interpolation-filters='sRGB' filterUnits='userSpaceOnUse'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeBlend in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3e %3cfeGaussianBlur result='effect1_foregroundBlur_2029_360' stdDeviation='98.462'/%3e %3c/filter%3e %3cfilter id='e' width='860.381' height='770.211' x='-40.794' y='-485.519' color-interpolation-filters='sRGB' filterUnits='userSpaceOnUse'%3e %3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e %3cfeBlend in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3e %3cfeGaussianBlur result='effect1_foregroundBlur_2029_360' stdDeviation='98.462'/%3e %3c/filter%3e %3cclipPath id='a'%3e %3cpath fill='white' d='M0 0h512v512H0z'/%3e %3c/clipPath%3e %3c/defs%3e %3c/svg%3e",
provider: (window: any) => window?.bitkeep?.ethereum,
},
});
export const gate = /*#__PURE__*/ injected({
target: {
id: 'gate',
name: 'Gate Wallet',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='600' height='600'%3e %3cdefs%3e %3cpath id='a' d='M0 0h600v600H0z'/%3e %3c/defs%3e %3cg fill='none' fill-rule='evenodd'%3e %3cmask id='b' fill='white'%3e %3cuse xlink:href='%23a'/%3e %3c/mask%3e %3cpath fill='%232354E6' d='M300 464.998c-91.127 0-165.003-73.875-165.003-165.001C134.997 208.87 208.873 135 300 135V-.001C134.31 0 0 134.314 0 299.997 0 465.679 134.31 600 300 600s300-134.321 300-300.003H465.003c0 91.126-73.876 165.001-165.003 165.001' mask='url(%23b)'/%3e %3cpath fill='%2317E6A1' d='M299.992 299.997h165.004V134.995H299.992z'/%3e %3c/g%3e %3c/svg%3e",
provider: (window: any) => window?.gatewallet,
},
});
export const frontier = /*#__PURE__*/ injected({
target: {
id: 'frontier',
name: 'Frontier',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' style='enable-background:new 0 0 2500 2500' viewBox='0 0 2500 2500'%3e %3cradialGradient id='a' cx='892.72' cy='1499.81' r='800' gradientTransform='matrix(1.5625 0 0 -1.5625 -844.5 3043.203)' gradientUnits='userSpaceOnUse'%3e %3cstop offset='0' style='stop-color:%23ef7937'/%3e %3cstop offset='.502' style='stop-color:%23ea7839'/%3e %3cstop offset='.784' style='stop-color:%23df773d'/%3e %3cstop offset='1' style='stop-color:%23d57641'/%3e %3c/radialGradient%3e %3cpath d='M509.1 0H1991c280 0 509.1 229.1 509.1 509.1V1991c0 280-229.1 509.1-509.1 509.1H509.1C229.1 2500 0 2270.9 0 1990.9V509.1C0 229.1 229.1 0 509.1 0z' style='fill-rule:evenodd%3bclip-rule:evenodd%3bfill:url(%23a)'/%3e %3cpath d='m1960.3 430.2-38.4 103.4-19.6 50.8c-148.7 380.7-264.3 561.4-387.2 561.4-70.8 0-112.8-21.2-167-70.8l-15.7-14.7c-39.1-37.3-55.5-46.5-93.1-46.5-19.6 0-54.6 26-98.9 86.5-46 62.8-96.4 155.6-150.6 277.8l-5 11.4h527.4l-65.7 140.9H953.9V2109H809.2V430l1151.1.2zm-205.2 141-801.2-.1v559.6c96-172.2 187.2-258.7 285.3-258.7 76.3 0 121.2 22.2 178 73.9l16.2 15.2c36.5 34.8 50.5 42.8 81.6 42.8 34.4 0 125.6-149.6 240.1-432.7z' style='fill-rule:evenodd%3bclip-rule:evenodd%3bfill:white'/%3e %3c/svg%3e",
provider: (window: any) => window?.frontier?.ethereum,
},
});
export const safepal = /*#__PURE__*/ injected({
target: {
id: 'safepal',
name: 'SafePal',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='%234A21EF' d='M14.521 4c-.73 0-1.43.29-1.947.807L4.461 12.92a1.575 1.575 0 0 0-.001 2.226l5.318 5.316V11.05c0-.703.565-1.272 1.267-1.272h11.177L28 4H14.52ZM9.778 22.222h11.173c.702 0 1.272-.57 1.272-1.271v-9.413l5.317 5.317c.307.307.46.71.46 1.112 0 .403-.153.806-.46 1.113l-8.113 8.114a2.755 2.755 0 0 1-1.948.806H4.001l5.777-5.778Z'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('safepal') ? window?.ethereum : undefined,
},
});
export const brave = /*#__PURE__*/ injected({
target: {
id: 'brave',
name: 'Brave',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='%234F30AB' d='M0 0h32v32H0z'/%3e %3cpath fill='url(%23a)' fill-rule='evenodd' d='m24.563 11.278.506-1.267s-.644-.703-1.427-1.5c-.782-.798-2.44-.33-2.44-.33L19.314 6h-6.629l-1.888 2.182s-1.657-.47-2.44.328-1.427 1.501-1.427 1.501l.507 1.267-.645 1.876s1.896 7.315 2.118 8.208c.437 1.76.736 2.44 1.98 3.33 1.242.892 3.498 2.44 3.867 2.674.368.235.828.634 1.243.634.414 0 .875-.4 1.243-.634.368-.235 2.624-1.782 3.867-2.674 1.243-.89 1.542-1.57 1.98-3.33.222-.893 2.117-8.208 2.117-8.208z' clip-rule='evenodd'/%3e %3cpath fill='white' fill-rule='evenodd' d='M16 19.691c.126 0 .935.29 1.583.633.65.342 1.12.584 1.27.68s.058.276-.079.375-1.976 1.55-2.155 1.71-.44.426-.62.426c-.178 0-.44-.265-.619-.426-.178-.16-2.018-1.611-2.155-1.71s-.228-.28-.078-.375c.15-.096.62-.338 1.27-.68.648-.342 1.457-.633 1.583-.633m.01-10.338a3.3 3.3 0 0 1 .91.19c.553.187 1.152.421 1.428.421s2.325-.398 2.325-.398 2.428 2.99 2.428 3.629-.306.808-.613 1.14l-1.82 1.97c-.172.186-.531.468-.32.977.21.508.522 1.155.176 1.812-.346.656-.939 1.094-1.319 1.021-.38-.072-1.271-.547-1.6-.764-.328-.217-1.367-1.09-1.367-1.425s1.075-.934 1.273-1.07c.199-.137 1.104-.664 1.123-.871.018-.208.011-.268-.256-.78s-.749-1.195-.669-1.65.857-.69 1.41-.903c.555-.213 1.621-.616 1.754-.678.134-.063.1-.123-.305-.162-.403-.039-1.548-.194-2.065-.047s-1.398.37-1.47.488c-.07.118-.134.122-.06.53.073.408.45 2.367.487 2.714.037.348.109.578-.26.664-.368.086-.987.234-1.2.234s-.833-.148-1.2-.234c-.369-.086-.297-.316-.26-.664s.414-2.306.487-2.714.01-.412-.06-.53c-.072-.118-.954-.341-1.47-.488-.517-.147-1.662.008-2.066.047-.403.04-.438.099-.305.162.134.062 1.2.464 1.754.678.554.213 1.33.45 1.41.904s-.401 1.137-.668 1.649c-.268.512-.275.572-.256.78.018.207.924.735 1.123.87.198.137 1.273.737 1.273 1.071 0 .335-1.04 1.208-1.368 1.425s-1.22.692-1.6.765c-.38.072-.972-.366-1.318-1.022-.346-.657-.035-1.304.176-1.812.21-.509-.148-.791-.32-.978l-1.82-1.97c-.308-.331-.613-.5-.613-1.14 0-.638 2.428-3.628 2.428-3.628s2.049.398 2.325.398.875-.234 1.427-.422a3.3 3.3 0 0 1 .911-.189z' clip-rule='evenodd'/%3e %3cpath fill='white' d='M21.202 8.182 19.314 6h-6.629l-1.888 2.182s-1.657-.47-2.44.328c0 0 2.21-.203 2.97 1.056 0 0 2.049.398 2.325.398s.875-.234 1.427-.422c.553-.187.92-.189.92-.189s.37.002.922.19c.552.187 1.15.421 1.427.421.276 0 2.325-.398 2.325-.398.76-1.259 2.97-1.056 2.97-1.056-.784-.797-2.44-.328-2.44-.328'/%3e %3cpath fill='url(%23b)' d='M21.202 8.182 19.314 6h-6.629l-1.888 2.182s-1.657-.47-2.44.328c0 0 2.21-.203 2.97 1.056 0 0 2.049.398 2.325.398s.875-.234 1.427-.422c.553-.187.92-.189.92-.189s.37.002.922.19c.552.187 1.15.421 1.427.421.276 0 2.325-.398 2.325-.398.76-1.259 2.97-1.056 2.97-1.056-.784-.797-2.44-.328-2.44-.328'/%3e %3cdefs%3e %3clinearGradient id='a' x1='6.792' x2='25.207' y1='17.155' y2='17.155' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23F50'/%3e %3cstop offset='.41' stop-color='%23F50'/%3e %3cstop offset='.582' stop-color='%23FF2000'/%3e %3cstop offset='1' stop-color='%23FF2000'/%3e %3c/linearGradient%3e %3clinearGradient id='b' x1='8.686' x2='23.642' y1='8.01' y2='8.01' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23FF452A'/%3e %3cstop offset='1' stop-color='%23FF2000'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('brave') ? window?.ethereum : undefined,
},
});
export const taho = /*#__PURE__*/ injected({
target: {
id: 'taho',
name: 'Taho',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' fill='none'%3e %3ccircle cx='150' cy='150' r='150' fill='%23D08E39'/%3e %3cpath fill='%23002522' fill-rule='evenodd' d='M241.377 139.857a11.625 11.625 0 0 1 4.096 6.987 8.049 8.049 0 0 1-.03 2.469 14.972 14.972 0 0 1-.211 1.716 24.985 24.985 0 0 1-.723 3.313 22.76 22.76 0 0 1-3.011 6.264c-.25.362-.567.776-.786 1.061l-.178.234v.15l.012.091c.034.243.097.695.229 1.355.363 2.188.474 4.411.331 6.625a38.065 38.065 0 0 1-3.011 12.498 27.827 27.827 0 0 1-7.71 10.69l-.391.362-.542.18a89.167 89.167 0 0 1-12.919 3.765 53.88 53.88 0 0 1-13.733 1.325h-.783a137.188 137.188 0 0 0-29.482-6.023 58.416 58.416 0 0 1-8.101-1.175 66.15 66.15 0 0 1-7.709-2.469 94.077 94.077 0 0 0-12.317-3.554 13.976 13.976 0 0 0-2.56 9.456 38.841 38.841 0 0 0 4.487 13.673 73.842 73.842 0 0 1 7.198 14.665 36.837 36.837 0 0 1 1.325 17.075l-.813 5.21-4.397-3.011c-.529-.453-1.521-1.054-2.466-1.626l-.546-.332-3.011-1.656a66.766 66.766 0 0 1 2.108 12.046 68.703 68.703 0 0 1-.211 10.57A36.665 36.665 0 0 1 143.233 272c-12.484-18.97-22.673-24.404-31.598-29.164-5.994-3.197-11.419-6.09-16.585-12.575-7.65-10.871-9.576-23.369 1.084-47.009 2.952-7.305 4.773-15.317 6.262-21.869 1.262-5.548 2.285-10.05 3.555-12.191v.181a44.007 44.007 0 0 0 0 15.057 16.833 16.833 0 0 0 2.56 6.565 12.345 12.345 0 0 0 5.331 4.006 45.936 45.936 0 0 0 14.214 3.011c2.469.392 4.969.392 7.528.392a36.907 36.907 0 0 1 3.976.15c1.355.121 2.68.301 4.005.482a97.653 97.653 0 0 1 15.479 3.825 43.497 43.497 0 0 0 14.244 2.86 134.854 134.854 0 0 1 30.476 6.023 53.58 53.58 0 0 0 11.654-.903c1.386-.241 2.771-.572 4.156-.903 6.806-1.988 14.455-13.552 5.601-12.588a48.534 48.534 0 0 0-7.317.903c-1.382.327-2.75.845-4.2 1.394-1.489.563-3.065 1.16-4.835 1.618a20.458 20.458 0 0 1-10.118-.271 29.813 29.813 0 0 0-9.035-2.109 11.431 11.431 0 0 1 4.728-1.445c1.218-.122 2.298-.08 3.334-.039.502.02.993.039 1.485.039 2.809.386 5.665.264 8.432-.361 1.421-.402 2.86-1.174 4.406-2.004 1.239-.664 2.546-1.365 3.966-1.941a27.32 27.32 0 0 1 9.907-2.108h-.06a21.41 21.41 0 0 1 3.704 0 12.047 12.047 0 0 0 3.012-9.426 6.51 6.51 0 0 0-3.674-2.681 96.928 96.928 0 0 0-2.256-.453c-4.47-.867-11.786-2.285-14.729-5.027-2.018-1.958-3.102-7.83 4.005-9.456a40.882 40.882 0 0 1 11.414-.362l.145.014c1.705.162 5.937.563 6.932-.285a28.034 28.034 0 0 1-1.339-.964c-.214-.16-.428-.321-.649-.481l-9.335-7.107c-.644-.453-1.269-.911-1.882-1.36-.937-.686-1.846-1.353-2.756-1.953a8.878 8.878 0 0 0-.964-.602 6.721 6.721 0 0 0-1.024-.452 28.817 28.817 0 0 1-3.011-1.355 38.102 38.102 0 0 1-9.818-7.258 122.687 122.687 0 0 1-21.531-29.904 20.72 20.72 0 0 0-10.812-9.787 17.796 17.796 0 0 1 13.281 4.818c.603.5 1.372 1.876 2.357 3.637 2.751 4.92 7.188 12.857 14.417 13.167 1.246-.1 2.473-.374 3.644-.813-3.589-3.397-6.019-7.489-8.293-11.318-3.45-5.812-6.544-11.021-12.788-12.292a41.735 41.735 0 0 1-4.577-1.957l-4.216-2.078-8.432-4.126a151.67 151.67 0 0 0-17.166-6.956 87.085 87.085 0 0 0-17.858-3.855c-1.438-.19-2.886-.3-4.336-.331a7.56 7.56 0 0 0-3.373.783c-.61.261-1.297.628-2.004 1.005-.759.405-1.54.821-2.272 1.133a74.472 74.472 0 0 0-4.186 1.927 83.56 83.56 0 0 0-15.449 9.697 40.415 40.415 0 0 0-9.336 9.185 34.239 34.239 0 0 1 13.341 1.747 50.683 50.683 0 0 0-16.02 2.289 55.079 55.079 0 0 0-7.439 2.74 50.797 50.797 0 0 0-6.957 3.644 30.356 30.356 0 0 0-6.022 4.547 7.712 7.712 0 0 0-1.687 2.59c-.511 1.143-.962 2.376-1.414 3.61l-.001.004a116.078 116.078 0 0 0-4.186 15.479 125.278 125.278 0 0 0-2.41 31.891 61.923 61.923 0 0 0 6.596 24.755 466.502 466.502 0 0 0 10.81-14.847 231.943 231.943 0 0 0 12.499-20.087c1.984-3.559 3.746-7.283 5.527-11.047 1.624-3.433 3.264-6.899 5.103-10.304a65.456 65.456 0 0 1 6.535-10.42 24.806 24.806 0 0 1 4.397-4.487 10.115 10.115 0 0 1 5.782-2.318c-6.746 6.053-11.986 22.315-17.226 40.534-4.216 14.786-18.55 48.485-27.585 49.328-3.493.18-4.788-1.476-7.167-4.909l-1.988-2.71a53.969 53.969 0 0 1-7.83-15.901 79.662 79.662 0 0 1-3.011-17.105c-.277-5.694-.146-11.4.391-17.075a141.56 141.56 0 0 1 3.012-16.714 121.47 121.47 0 0 1 4.909-16.262c.542-1.355 1.084-2.68 1.746-4.035a19.01 19.01 0 0 1 1.235-2.168 19.424 19.424 0 0 1 1.717-2.018 31.528 31.528 0 0 1 7.348-5.21 50.018 50.018 0 0 1 12.527-4.547 29.876 29.876 0 0 1 5.541-8.342 60.713 60.713 0 0 1 7.469-6.595 90.572 90.572 0 0 1 16.502-10.36c.929-.464 2.06-.968 3.059-1.414.491-.22.951-.424 1.338-.603.52-.24 1.075-.527 1.676-.837a52.885 52.885 0 0 1 2.51-1.24A13.946 13.946 0 0 1 127.122 54c1.574 0 2.733.12 3.923.245.381.04.765.08 1.167.116a93.357 93.357 0 0 1 19.032 4.126 154.816 154.816 0 0 1 17.858 7.258l8.583 4.155 4.246 2.109c1.037.56 2.36 1.068 3.801 1.621l.325.125a46.255 46.255 0 0 1 4.577 2.018 20.21 20.21 0 0 1 2.439 1.476 23.61 23.61 0 0 1 2.108 1.927 43.917 43.917 0 0 1 6.023 8.221l.647 1.127c2.938 5.124 5.687 9.92 9.954 12.726l3.011 1.987a2.943 2.943 0 0 1-.181.482l-.632 1.145-3.012 1.535a2.44 2.44 0 0 0-1.295 1.386 2.683 2.683 0 0 0-.18.903v1.928a10.567 10.567 0 0 1-.392 3.011c-.125.388-.276.734-.41 1.041-.188.432-.343.785-.343 1.067-.095.314-.095.65 0 .964a32.093 32.093 0 0 0 8.192 6.023l2.409 1.114c.567.204 1.121.445 1.656.723l1.536.933c1.347.855 2.451 1.695 3.549 2.531.449.341.897.682 1.36 1.023l9.365 7.137 2.229 1.656c.944.616 1.849 1.29 2.71 2.018Zm-73.993-27.796c.301 3.734-4.156 6.655-9.606 7.258-6.867.692-10.541-3.283-9.577-7.89 1.807-7.71-2.168-5.09-4.818-2.078a.364.364 0 0 1-.449.152.36.36 0 0 1-.214-.423c1.114-7.951 5.782-8.282 7.86-8.282a94.985 94.985 0 0 1 18.611 3.162.908.908 0 0 1 .688.683.9.9 0 0 1-.327.913 6.782 6.782 0 0 0-2.168 6.505Z' clip-rule='evenodd'/%3e %3c/svg%3e",
provider: (window: any) => window?.tally,
},
});
export const block = /*#__PURE__*/ injected({
target: {
id: 'block',
name: 'BlockWallet',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='black' d='M0 0h32v32H0z'/%3e %3cpath fill='white' fill-rule='evenodd' d='M16 25.98c5.523 0 10-4.473 10-9.99S21.523 6 16 6 6 10.473 6 15.99s4.477 9.99 10 9.99m5.555-15.54h-11.11v11.1h11.11z' clip-rule='evenodd'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('block') ? window?.ethereum : undefined,
},
});
export const binance = /*#__PURE__*/ injected({
target: {
id: 'binance',
name: 'Binance',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='black' d='M0 0h32v32H0z'/%3e %3cpath fill='%23F0B90B' d='M10.474 9.19 16 6l5.526 3.19-2.032 1.178L16 8.357l-3.494 2.01zm11.052 4.022-2.032-1.178L16 14.045l-3.494-2.011-2.032 1.178v2.357l3.494 2.011v4.023L16 22.78l2.032-1.178V17.58l3.494-2.011zm0 6.38v-2.357l-2.032 1.178v2.357zm1.442.832-3.494 2.012v2.356L25 21.602v-6.379l-2.032 1.179zm-2.031-9.223 2.031 1.178v2.357L25 13.557v-2.356l-2.032-1.178zm-6.969 12.088v2.357L16 26.824l2.032-1.178v-2.357L16 24.467zm-3.494-3.698 2.032 1.179v-2.357l-2.032-1.178zm3.494-8.39L16 12.379l2.032-1.178L16 10.023zm-4.936 1.178 2.031-1.178-2.031-1.178L7 11.2v2.356l2.032 1.179zm0 4.023L7 15.223v6.38l5.526 3.19v-2.357l-3.494-2.012z'/%3e %3c/svg%3e",
provider: (window: any) => window?.BinanceChain,
},
});
export const trust = /*#__PURE__*/ injected({
target: {
id: 'trust',
name: 'Trust',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='%230500FF' d='M5 7.575 16 4v24.75c-7.857-3.3-11-9.625-11-13.2z'/%3e %3cpath fill='url(%23a)' d='M27 7.575 16 4v24.75c7.858-3.3 11-9.625 11-13.2z'/%3e %3cdefs%3e %3clinearGradient id='a' x1='24.078' x2='15.769' y1='2.267' y2='28.412' gradientUnits='userSpaceOnUse'%3e %3cstop offset='.02' stop-color='blue'/%3e %3cstop offset='.08' stop-color='%230094FF'/%3e %3cstop offset='.16' stop-color='%2348FF91'/%3e %3cstop offset='.42' stop-color='%230094FF'/%3e %3cstop offset='.68' stop-color='%230038FF'/%3e %3cstop offset='.9' stop-color='%230500FF'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e",
provider: (window: any) => window?.trustWallet,
},
});
export const status = /*#__PURE__*/ injected({
target: {
id: 'status',
name: 'Status',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 2000'%3e %3ccircle cx='1000' cy='1000' r='1000' fill='%235b6dee'/%3e %3cpath fill='white' d='M831.27 938.79a571.5 571.5 0 0 0-104 8.95c28.25-261.28 246-459.12 505.24-459.1 158.73 0 267.49 77.72 267.49 238.64s-130.54 238.64-321 238.64c-140.58-.01-207.13-27.13-347.73-27.13m-10.27 95.3c-190.45 0-321 77.72-321 238.64s108.76 238.64 267.49 238.64c259.27 0 477-197.82 505.24-459.1a571.5 571.5 0 0 1-104 8.95c-140.6-.01-207.15-27.13-347.73-27.13'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('status') ? window?.ethereum : undefined,
},
});
export const alpha = /*#__PURE__*/ injected({
target: {
id: 'alpha',
name: 'AlphaWallet',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='%23F3F9FD' d='M0 0h32v32H0z'/%3e %3cpath fill='black' d='M20.68 15.613c0 .785-.634 1.422-1.413 1.422-.78 0-1.408-.637-1.408-1.422s.633-1.421 1.408-1.421a1.416 1.416 0 0 1 1.413 1.421'/%3e %3cpath fill='%233268FF' d='M21.876 9.54h-.103l-.047.076-.032.05-.24.383-.043.07-1.702 2.708a2.82 2.82 0 0 1 2.282 2.047q.047-.07.09-.142.084-.134.172-.271c.234-.363 2.447-3.868 2.983-4.721l.125-.2z'/%3e %3cpath fill='%230019FF' d='M26 21.674c-.568.68-1.21 1.16-2.026 1.353-1.12.265-2.185.143-3.143-.551-.693-.505-1.117-1.214-1.426-2.001q-.016-.035-.032-.083c-.004-.007-.004-.015-.008-.021-.077-.21-.215-.59-.35-1l-.332.33c-.893.89-1.849 1.702-2.937 2.335a8.25 8.25 0 0 1-3.153 1.078c-1.349.169-2.68.115-3.932-.501-1.609-.788-2.513-2.08-2.644-3.886-.103-1.4.267-2.7.91-3.922 1.006-1.91 2.44-3.428 4.265-4.563 1.146-.713 2.403-1.107 3.751-1.221 1.057-.09 2.043.104 2.925.702.748.508 1.264 1.21 1.644 2.023.103.222.196.449.3.692l.058.134-.16.255.054.01a2.81 2.81 0 0 0-2.416.713c-.18-.643-.393-1.27-.732-1.851-.238-.412-.54-.774-.97-.996-.563-.29-1.14-.236-1.713-.054-.811.262-1.434.803-1.975 1.433-1.196 1.394-2.096 2.962-2.608 4.735-.278.957-.378 1.938-.178 2.93.227 1.118.988 1.787 2.05 1.784.372.001.74-.07 1.086-.208.91-.359 1.667-.95 2.38-1.612.836-.779 1.546-1.656 2.204-2.58a2.82 2.82 0 0 0 4.48.361c.186.47.379 1.19.56 1.75v.003q.075.237.149.423c.206.515.424 1.024.836 1.408l.086.074c.537.448 1.181.566 1.854.588.364.017.727-.032 1.143-.064'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('alpha') ? window?.ethereum : undefined,
},
});
export const bitpie = /*#__PURE__*/ injected({
target: {
id: 'bitpie',
name: 'Bitpie',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 40 40'%3e %3cpath fill='url(%23a)' fill-rule='evenodd' d='M8.721.714h21.59a8.705 8.705 0 0 1 8.705 8.706v21.589a8.705 8.705 0 0 1-8.705 8.705H8.72A8.705 8.705 0 0 1 .016 31.01V9.419A8.705 8.705 0 0 1 8.721.715Z' clip-rule='evenodd'/%3e %3cpath fill='white' d='M19.69 35.188c8.173 0 14.8-6.626 14.8-14.8 0-8.173-6.627-14.799-14.8-14.799-8.173 0-14.799 6.626-14.799 14.8 0 8.173 6.626 14.799 14.8 14.799Z'/%3e %3cpath fill='url(%23b)' fill-rule='evenodd' d='M19.516.714c10.77 0 19.5 8.73 19.5 19.5s-8.73 19.5-19.5 19.5-19.5-8.73-19.5-19.5 8.73-19.5 19.5-19.5ZM19.43 5.35c-8.21 0-14.866 6.655-14.866 14.865S11.22 35.08 19.43 35.08s14.865-6.656 14.865-14.866S27.64 5.35 19.43 5.35Z' clip-rule='evenodd'/%3e %3cpath fill='url(%23c)' fill-rule='evenodd' d='M21.748 27.625a2.216 2.216 0 0 1-3.838 2.216l-.665-1.151-1.151.665a2.216 2.216 0 1 1-2.216-3.838l1.15-.665-1.772-3.07-1.151.664a2.216 2.216 0 1 1-2.216-3.838l1.151-.665-.664-1.151a2.216 2.216 0 1 1 3.838-2.216l.664 1.151 3.07-1.773-.664-1.15a2.216 2.216 0 1 1 3.838-2.217l.665 1.152 1.152-.665a2.216 2.216 0 0 1 2.215 3.838l-1.151.665 1.773 3.07 1.151-.664a2.216 2.216 0 0 1 2.216 3.837l-1.151.665.665 1.152a2.216 2.216 0 0 1-3.839 2.216l-.665-1.152-3.07 1.773.665 1.151Zm-2.88-4.99 3.07-1.772-1.773-3.07-3.07 1.772 1.772 3.07Z' clip-rule='evenodd'/%3e %3cdefs%3e %3clinearGradient id='a' x1='20.509' x2='20.509' y1='39.714' y2='.714' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%231E3DA0'/%3e %3cstop offset='1' stop-color='%233750DE'/%3e %3c/linearGradient%3e %3clinearGradient id='b' x1='19.516' x2='19.516' y1='.714' y2='39.714' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%231D3BA3' stop-opacity='0'/%3e %3cstop offset='1' stop-color='%23173793' stop-opacity='.653'/%3e %3c/linearGradient%3e %3clinearGradient id='c' x1='24.391' x2='14.641' y1='28.658' y2='11.771' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%231E3DA0'/%3e %3cstop offset='1' stop-color='%233750DE'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('bitpie') ? window?.ethereum : undefined,
},
});
export const dcent = /*#__PURE__*/ injected({
target: {
id: 'dcent',
name: 'Dcent',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' class='default-thema' viewBox='0 0 46 52'%3e %3cpath d='m23.426 9.819 3.875-2.237V2.237L23.426 0zM9.161 33.085V18.052L22.11 10.58V0L.658 12.386A1.314 1.314 0 0 0 0 13.526V38.3l.007.073zm26.564 1.053-12.957 7.487-12.883-7.443-9.161 5.293 21.386 12.35a1.322 1.322 0 0 0 1.316 0l21.453-12.386.015-.007zm9.154-21.752-8.5-4.906v5.337l-9.143 5.279 9.139 5.272v9.622l9.161 5.286V13.527a1.346 1.346 0 0 0-.657-1.141zM18.228 23.288l.007 10.478 8.891-5.133V18.155z'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('dcent') ? window?.ethereum : undefined,
},
});
export const frame = /*#__PURE__*/ injected({
target: {
id: 'frame',
name: 'Frame',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 153.42 152.94'%3e %3cpath d='M145.15 75.59v-58a9.29 9.29 0 0 0-9.3-9.28h-58.2a2.24 2.24 0 0 1-1.56-.64l-7-7A2.24 2.24 0 0 0 67.48 0H9.31A9.29 9.29 0 0 0 0 9.27v58a2.16 2.16 0 0 0 .65 1.55l7 7a2.16 2.16 0 0 1 .65 1.55v58a9.29 9.29 0 0 0 9.3 9.28h58.2a2.24 2.24 0 0 1 1.56.64l7 7a2.24 2.24 0 0 0 1.56.64h58.19a9.29 9.29 0 0 0 9.31-9.27v-58a2.16 2.16 0 0 0-.65-1.55l-7-7a2.17 2.17 0 0 1-.62-1.52Zm-32.3 38.55h-72.2a1.68 1.68 0 0 1-1.65-1.67V40.53a1.68 1.68 0 0 1 1.67-1.67h72.18a1.68 1.68 0 0 1 1.67 1.67v71.94a1.68 1.68 0 0 1-1.67 1.67Z'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('frame') ? window?.ethereum : undefined,
},
});
export const hyperpay = /*#__PURE__*/ injected({
target: {
id: 'hyperpay',
name: 'HyperPay',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 189 188'%3e %3cpath fill='%231A72FE' d='M94.5.25C42.75.25.75 42.25.75 94s42 93.5 93.75 93.5 93.75-42 93.75-93.75S146.25.25 94.5.25Zm24.75 114c-6.25 0-21.75.25-21.75.25l-7 27h-29l6.75-26.5H23l7.25-21.75s78.75.25 85.25 0S132 91.5 132.25 78.5c.25-17.75-27-16.75-29.25-1-1.5 10-1.5 12.5-1.5 12.5H75.75l5-23.5H39l6.25-22s61.25.25 72.75.25 42.25 3 42.25 31.25c0 31-29.75 38.25-41 38.25Z'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('hyperpay') ? window?.ethereum : undefined,
},
});
export const imtoken = /*#__PURE__*/ injected({
target: {
id: 'imtoken',
name: 'ImToken',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 93 93'%3e %3cdefs%3e %3clinearGradient id='a' x1='97.185%25' x2='-.038%25' y1='3.105%25' y2='99.699%25'%3e %3cstop offset='0%25' stop-color='%2311C4D1'/%3e %3cstop offset='100%25' stop-color='%230062AD'/%3e %3c/linearGradient%3e %3c/defs%3e %3cg fill='none'%3e %3cpath fill='url(%23a)' d='M92.755 63.804s0 9.64-1.028 13.78c-1.028 4.187-2.985 7.06-5.09 9.202-2.154 2.142-4.993 4.09-9.3 5.112-4.356 1.023-13.754.974-13.754.974H29.417s-9.642 0-13.803-1.022c-4.16-1.071-7.097-2.97-9.25-5.113-2.155-2.142-4.112-4.966-5.091-9.3-1.028-4.333-.98-13.682-.98-13.682V29.671s0-9.64 1.029-13.78c1.027-4.187 2.985-7.06 5.09-9.202 2.154-2.142 4.993-4.09 9.3-5.113C20.068.554 29.466.603 29.466.603h34.166s9.642 0 13.803 1.022c4.16 1.071 7.097 2.97 9.25 5.113 2.154 2.142 4.112 4.966 5.091 9.3.98 4.333.98 13.682.98 13.682v34.084z'/%3e %3cpath fill='white' d='M78.267 28.795c1.909 26.244-15.614 38.71-31.326 40.073-14.587 1.265-28.292-7.304-29.467-20.597-.979-10.955 6.07-15.678 11.6-16.117 5.679-.486 10.427 3.263 10.867 7.84.392 4.382-2.447 6.427-4.454 6.573-1.566.146-3.524-.78-3.72-2.727-.147-1.704.538-1.899.342-3.7-.293-3.214-3.181-3.555-4.747-3.409-1.91.146-5.385 2.338-4.944 7.694.49 5.404 5.874 9.69 12.922 9.056 7.636-.682 12.971-6.378 13.363-14.412 0-.439.098-.828.293-1.218.098-.146.147-.292.294-.438.196-.292.392-.536.636-.779l.686-.682c3.328-3.019 15.37-10.225 26.676-7.985.098 0 .196.049.245.097.44 0 .685.341.734.73'/%3e %3c/g%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('imtoken') ? window?.ethereum : undefined,
},
});
export const liquality = /*#__PURE__*/ injected({
target: {
id: 'liquality',
name: 'Liquality',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 36 12'%3e %3cpath fill='url(%23a)' d='m1.888 1.702-.03.028A5.92 5.92 0 0 0 .08 5.046q-.078.463-.079.93v.036q0 .45.072.894c.148.923.522 1.82 1.122 2.612q.297.392.668.747l.026.025a6.2 6.2 0 0 0 1.772 1.173c2.342 1.026 5.194.55 7.327-1.16l.017-.013c2.408-1.941 4.618-3.7 6.996-3.7s4.588 1.759 6.996 3.7a7.8 7.8 0 0 0 2.13 1.224c.988.376 2.031.538 3.05.47a6.28 6.28 0 0 0 3.936-1.694l.026-.025q.371-.355.669-.747c.6-.792.973-1.689 1.12-2.612a5.8 5.8 0 0 0-.006-1.86 5.93 5.93 0 0 0-1.78-3.316l-.03-.028C32.996.65 31.61.106 30.177.014a7.3 7.3 0 0 0-3.053.474 8 8 0 0 0-2.127 1.214c-2.417 1.93-4.606 3.7-6.996 3.7s-4.578-1.77-6.996-3.7l-.013-.01C9.606.592 7.917 0 6.261 0c-.895 0-1.78.173-2.603.531a6.2 6.2 0 0 0-1.77 1.171'/%3e %3cdefs%3e %3cradialGradient id='a' cx='0' cy='0' r='1' gradientTransform='matrix(41.2215 0 0 21.0874 -.869 3.328)' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%231CE5C3'/%3e %3cstop offset='.103' stop-color='%231CE5C3'/%3e %3cstop offset='.475' stop-color='%235440D7'/%3e %3cstop offset='.631' stop-color='%238B2CE4'/%3e %3cstop offset='.796' stop-color='%23D421EB'/%3e %3cstop offset='1' stop-color='%23AC39FD'/%3e %3c/radialGradient%3e %3c/defs%3e %3c/svg%3e",
provider: (window: any) => window?.liquality,
},
});
export const ownbit = /*#__PURE__*/ injected({
target: {
id: 'ownbit',
name: 'OwnBit',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'%3e %3cdefs%3e %3clinearGradient id='a' x1='15.8%25' x2='106.3%25' y1='84.9%25' y2='-17.2%25'%3e %3cstop offset='0%25' stop-color='%230877FF'/%3e %3cstop offset='100%25' stop-color='%233CCEF9'/%3e %3c/linearGradient%3e %3c/defs%3e %3cpath fill='url(%23a)' d='M65.86 0c-1.418 0-2.824.045-4.216.135a4.338 4.338 0 0 0-4.017 4.342V32.8a4.346 4.346 0 0 0 1.45 3.235 4.327 4.327 0 0 0 3.373 1.072 29.47 29.47 0 0 1 3.41-.2c11.742 0 22.327 7.089 26.82 17.96a29.136 29.136 0 0 1-6.292 31.703 28.986 28.986 0 0 1-31.637 6.306C43.903 88.373 36.83 77.766 36.83 66V19.223a6.949 6.949 0 0 0-3.9-6.25 6.92 6.92 0 0 0-7.314.784C9.447 26.24-.017 45.544 0 65.999c0 36.412 30.083 66.298 66.419 65.999 36.373-.155 65.735-29.829 65.58-66.279C131.845 29.27 102.233-.154 65.86.001Z'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('ownbit') ? window?.ethereum : undefined,
},
});
export const tokenpocket = /*#__PURE__*/ injected({
target: {
id: 'tokenpocket',
name: 'TokenPocket',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='%232980FE' d='M0 0h32v32H0z'/%3e %3cpath fill='%2329AEFF' d='M12.558 14.439h.003q-.004-.034-.003-.069z'/%3e %3cpath fill='white' d='M19.72 15.122h-3.964v7.155c0 .338.273.611.611.611h2.741a.61.61 0 0 0 .612-.611zM13.842 10h-7.23a.61.61 0 0 0-.612.611v2.483a.61.61 0 0 0 .612.611h2.327v8.59c0 .338.273.611.611.611h2.605a.61.61 0 0 0 .611-.611v-8.59h1.065c1.022 0 1.853-.83 1.853-1.853A1.84 1.84 0 0 0 13.842 10'/%3e %3cpath fill='url(%23a)' d='M19.723 15.122v4.993a5 5 0 0 0 1.04.13h.036v-3.972c-.601-.04-1.076-.54-1.076-1.15'/%3e %3cpath fill='white' d='M20.878 10a5.124 5.124 0 0 0-1.155 10.115v-4.993a1.156 1.156 0 0 1 2.31 0 1.15 1.15 0 0 1-1.155 1.155v3.968q.15-.001.295-.008A5.126 5.126 0 0 0 26 15.123 5.12 5.12 0 0 0 20.878 10'/%3e %3cpath fill='white' d='M20.877 20.245v-3.968q-.04.001-.082-.004v3.972z'/%3e %3cdefs%3e %3clinearGradient id='a' x1='20.88' x2='19.724' y1='17.684' y2='17.684' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='white'/%3e %3cstop offset='.967' stop-color='white' stop-opacity='.323'/%3e %3cstop offset='1' stop-color='white' stop-opacity='.3'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('tokenpocket') ? window?.ethereum : undefined,
},
});
export const xdefi = /*#__PURE__*/ injected({
target: {
id: 'xdefi',
name: 'XDEFI',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3ccircle cx='16' cy='16' r='16' fill='%23335DE5'/%3e %3cpath fill='white' d='M17.993 17.227c-1.547.946-3.618 1.433-5.715 1.33-1.764-.086-3.21-.71-4.084-1.737-.77-.918-1.067-2.129-.865-3.522a4.52 4.52 0 0 1 .415-1.334l.03-.06a8.981 8.981 0 0 1 3.125-3.383 9.189 9.189 0 0 1 8.967-.493 9.027 9.027 0 0 1 3.488 3.02 8.81 8.81 0 0 1 .651 8.82 8.967 8.967 0 0 1-3.008 3.485 9.158 9.158 0 0 1-4.366 1.561L16.727 26c1.76-.154 3.45-.758 4.902-1.75a10.063 10.063 0 0 0 3.378-3.913 9.887 9.887 0 0 0-.734-9.9 10.128 10.128 0 0 0-3.918-3.389 10.31 10.31 0 0 0-10.066.563 10.076 10.076 0 0 0-3.503 3.804l-.039.078a5.58 5.58 0 0 0-.514 1.656c-.24 1.698.132 3.21 1.105 4.374 1.065 1.272 2.797 2.029 4.875 2.128 2.53.126 5.045-.553 6.83-1.802l-1.05-.622Z'/%3e %3cpath fill='white' d='M20.109 18.461c-1.007.861-3.347 2.423-7.229 2.635-4.346.237-6.157-1.154-6.174-1.168l-.35.426.353-.419-.709.837c.077.064 1.814 1.446 5.893 1.446.334 0 .684 0 1.05-.029 4.691-.258 7.27-2.273 8.168-3.134l-1.002-.594Z'/%3e %3cpath fill='white' d='M21.992 19.588a8.058 8.058 0 0 1-2.162 1.94c-2.94 1.868-6.68 2.11-9.3 1.98l-.055 1.09c.44.02.863.03 1.274.03 7.384 0 10.368-3.311 11.202-4.494l-.961-.556m-.278-4.119a.88.88 0 0 0 .886-.873.88.88 0 0 0-.886-.873.88.88 0 0 0-.887.873.88.88 0 0 0 .887.873Z'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('xdefi') ? window?.ethereum : undefined,
},
});
export const oneinch = /*#__PURE__*/ injected({
target: {
id: '1inch',
name: '1inch',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' id='logo' width='100%25' height='100%25' x='0' y='0' style='enable-background:new 0 0 706.8 665.2' viewBox='0 0 706.8 665.2'%3e %3cstyle%3e .st0%7bfill:white%7d.st2%7bfill:%231b314f%7d %3c/style%3e %3cpath d='M168.2 366.5 186.9 226 24.7 113.4l148.2 50.2 35-53.7 127.8-79.3 281.7 155.2L632 422.6 506.5 597l-99.2 15.2 51.3-93.9v-90.4l-37.3-70.6-37.9-25.1-58.3 60.1v63.6l-45.5 42.6-57.8 7-25.6 14.5-42-13.4-17.5-63 31.5-44.3v-32.8z' class='st0'/%3e %3cpath d='M427.2 112.2c-30.9-6.4-64.7-4.7-64.7-4.7s-11.1 51.3-79.9 64.8c.5 0 90.9 30.9 144.6-60.1zm28 465.5c37.3-29.2 65.3-69.4 78.2-114.9.6-1.7 5.8-4.7 9.3-7 5.8-3.5 11.7-6.4 12.8-11.1 2.3-13.4 3.5-27.4 3.5-41.4 0-5.2-5.3-10.5-10.5-15.7-4.1-3.5-8.2-7.6-8.2-10.5-5.8-53.1-30.3-102.7-69.4-138.8l-4.1 4.1c37.9 35.6 62.4 84 67.7 135.3.6 4.7 5.2 9.3 9.9 14 4.1 3.5 8.8 8.8 8.8 11.1 0 13.4-1.2 26.8-3.5 40.2-.6 2.3-5.8 4.7-9.9 7-5.8 2.9-11.1 5.8-12.2 10.5-14 49.6-46.1 92.8-88.7 120.8 7.6-16.3 31.5-69.4 44.3-96.3l-2.3-86.3-74.1-71.7-42 5.8-46.1 74.7s21.6 27.4-8.8 59.5c-29.7 31.5-53.1 38.5-53.1 38.5l-21.6-11.7c6.4-8.2 19.3-20.4 29.2-28.6 16.9-14 33.8-15.2 33.8-30.3.7-31.6-33.2-22.9-33.2-22.9l-12.3 11.7-5.2 43.2-25.6 32.1-2.9-.6-42-9.3s25.7-13.4 29.8-28.6c4.1-14.6-8.2-63-8.8-65.9.6.6 12.3 10.5 17.5 26.8 9.3-25.7 21.6-50.2 25.1-52.5 3.5-2.3 50.7-27.4 50.7-27.4l-15.7 41.4 11.7-6.4 28-68.8s27.4-13.4 47.8-13.4c36.7-.6 91-45.5 66.5-126 7 2.9 128.3 63.6 149.3 182.6 15.7 91.5-36.2 177.2-123.7 226.8z' style='fill:%2394a6c3'/%3e %3cpath d='M316.4 125c13.4-15.8 8.2-39.1 8.2-39.1l-39.1 57.8c-.6 0 13.9.6 30.9-18.7zM185.1 440.6l4.7-23.3s-19.3 33.8-21 38.5c-1.8 5.3 1.2 14.6 8.7 14 7.6-.6 16.9-11.7 16.9-19.8 0-10.5-9.3-9.4-9.3-9.4z' class='st2'/%3e %3cpath d='M531.6 69.6s29.2 1.2 59.5 4.7c-68.3-53.7-133-69.4-185.5-69.4-72.3 0-121.3 29.8-124.3 31.5L304.1.2s-91-8.8-123.1 87.5c-8.2-20.4-15.7-50.2-15.7-50.2S118 79 140.2 147.8C85.9 128 8.4 100.5 5.4 100c-4.1-.6-5.3 1.2-5.3 1.2s-1.2 1.7 2.3 4.7c6.5 5.1 129 95.6 155.9 113.1-5.8 21-5.8 30.9 0 40.8 8.2 13.4 8.7 20.4 7.6 30.3-1.2 9.9-11.7 95.7-14 106.2-2.3 10.5-26.8 47.8-25.7 58.9 1.2 11.1 16.3 58.3 29.8 63.6 9.9 3.5 34.4 11.1 50.7 11.1 5.8 0 11.1-1.2 13.4-3.5 9.9-8.7 12.8-10.5 19.8-10.5h1.7c2.9 0 6.4.6 10.5.6 9.3 0 21.6-1.8 30.3-9.9 12.8-12.8 35-30.3 42-38.5 8.8-11.1 13.4-26.2 11.1-41.4-1.8-14 5.8-26.3 14.6-38.5 11.1-14.6 31.5-40.8 31.5-40.8C421.9 377.6 447 423.7 447 475c0 91-79.3 164.5-177.3 164.5-15.2 0-29.7-1.7-44.3-5.2 44.9 15.7 82.8 21 113.8 21 65.9 0 100.9-23.9 100.9-23.9s-12.2 15.8-32.1 33.8h.6c109.1-15.2 162.2-105 162.2-105s-4.1 29.2-9.3 49c145.1-109.1 120.6-245.6 120-250.2 1.2 1.7 15.8 19.2 23.3 28.6 23.4-240.4-173.2-318-173.2-318zM308.2 453.5c-2.3 2.9-12.2 11.7-19.2 18.1-7 6.4-14.6 12.8-20.4 18.7-2.3 2.3-7 3.5-14 3.5h-17.5c8.8-11.7 34.4-38.5 43.2-44.3 10.5-7 15.8-14 9.3-26.2-6.4-12.3-23.3-9.3-23.3-9.3s9.9-4.1 18.7-4.1c-11.1-2.9-25.1 0-31.5 6.4-7 6.4-5.8 29.2-8.7 43.7-2.9 15.2-12.8 22.8-28 36.8-8.2 7.6-14 9.9-18.7 9.9-9.9-1.7-21.6-4.7-29.8-7.6-5.8-7.6-14.6-32.7-16.9-43.2 1.7-5.8 8.7-18.1 12.2-25.1 7-13.4 11.1-21 12.3-28 2.3-9.9 9.9-71.2 12.8-96.8 7.6 9.9 18.1 26.3 15.7 36.8 16.9-23.9 4.7-47.3-1.2-56.6-5.2-9.3-12.2-28-6.4-47.8 5.8-19.8 26.8-74.7 26.8-74.7s7 12.3 16.9 9.9c9.9-2.3 89.8-122.5 89.8-122.5s21.6 47.2-1.2 81.7c-23.3 34.4-46.1 40.8-46.1 40.8s32.1 5.8 61.8-15.8c12.2 28.6 23.9 58.3 24.5 62.4-1.8 4.1-25.1 60.1-27.4 63.6-1.2 1.2-9.3 3.5-15.2 4.7-9.9 2.9-15.7 4.7-18.1 6.4-4.1 3.5-22.8 54.8-31.5 79.9-10.5 2.9-21 8.8-28.6 20.4 4.1-2.9 16.9-4.7 26.3-5.8 8.2-.6 33.2 12.8 39.7 37.9v1.2c1.3 9.2-1.6 18-6.3 25zm-54.8 7c5.3-7.6 4.7-20.4 5.3-24.5.6-4.1 1.7-11.7 6.4-12.8 4.7-1.2 15.8.6 15.8 8.7 0 7.6-8.2 9.3-14 14.6-4.2 4-12.4 12.8-13.5 14zM486.1 349c5.8-29.7 6.4-55.4 4.7-76.4 22.7 30.3 36.7 67.1 40.8 105 .6 4.7 5.2 9.3 9.9 14 4.1 3.5 8.8 8.2 8.8 11.1 0 13.4-1.2 26.8-3.5 40.3-.6 1.7-5.8 4.7-9.9 7-5.8 2.9-11.1 5.8-12.2 10.5-12.8 44.9-40.3 84.6-77 112.6 54.2-56.6 80.4-150 38.4-224.1zm-36.7 229.3c37.9-29.2 67.1-70 79.9-116.1.6-1.7 5.8-4.7 9.3-7 5.8-2.9 11.7-6.4 12.8-11.1 2.3-13.4 3.5-27.4 3.5-41.4 0-5.2-5.3-10.5-10.5-15.7-2.9-3.5-7.6-7.6-7.6-10.5-4.7-42.6-21.6-82.8-47.8-116.1-11.7-70-58.3-91.6-59.5-92.2 1.2 1.8 31.5 45.5 10.5 96.8-21.6 51.9-77 43.8-81.7 44.3-4.7 0-22.7 23.3-45.5 66.5-2.9-1.2-15.2-4.1-29.2-1.7 10.5-29.2 26.3-70.6 29.2-74.1 1.2-1.2 9.9-3.5 15.8-5.2 11.1-2.9 16.3-4.7 18.1-7 1.2-1.8 7-15.2 12.8-29.2 5.3 0 18.7-1.2 19.8-1.8 1.2-1.2 12.3-29.7 12.3-33.2 0-2.9-22.8-59.5-31.5-81.1 4.1-4.7 8.2-10.5 12.2-16.9 119.6 12.9 213 114.4 213 237.4 0 94.5-55.4 176.8-135.9 215.3z' class='st2'/%3e %3cpath d='M294.2 263.3c11.1-12.8 5.3-36.7-15.2-40.8 5.3-12.2 12.8-36.7 12.8-36.7s-59.5 93.3-64.7 95.1c-5.3 1.8-10.5-18.7-10.5-18.7-11.1 42.6 18.7 48.4 22.2 35 16.3-4.2 44.3-21.7 55.4-33.9z' class='st2'/%3e %3cpath d='m243.4 286 30.3-51.9s17.5 8.8 8.7 22.8c-11 16.3-39 29.1-39 29.1z' style='fill:%23ffd923'/%3e %3cpath d='M618.5 526.4c-8.8 11.7-18.7 23.9-30.3 35.6 75.2-144.7 3.5-277.1.6-282.3 5.3 5.3 10.5 11.1 15.2 16.3 57.7 64.1 64.7 160.4 14.5 230.4zm70-186.1c-26.3-70.6-63.6-130.7-145.8-184.9-79.3-52.5-164.5-48.4-169.2-47.8h-1.2c2.9-1.2 5.8-1.8 8.7-2.3 18.1-5.8 41.4-10.5 64.8-13.4C507.7 83 570.1 104 612.7 149l1.2 1.2c48.4 51.3 73.5 115.4 74.6 190.1zM524 51.5c-86.9-16.3-142.9-8.2-183.2 7-1.2-4.7-5.3-14-8.8-21.6-12.1 14.6-25 32.1-33.1 43.2-22.2 15.2-31.5 29.8-31.5 29.8 12.8-43.8 50.2-76.4 95.7-84.6 12.8-2.3 26.8-3.5 42-3.5 40.2.6 80.4 10.5 118.9 29.7zm-321.4 112c-68.2-2.3-45.5-81.7-44.3-86.3 0 .6 4.6 62.4 44.3 86.3zm67.1-142.9c-52.5 31.5-42 106.7-42 106.7-50.2-76.3 37.9-104.9 42-106.7z' style='fill:%23d82122'/%3e %3cpath d='M183.4 184.5c3.5 2.9 7 8.2 2.9 15.8-2.3 4.1-5.8 3.5-11.1 1.2-7-3.5-49-28-86.9-53.1 43.2 15.2 86.9 31.5 93.9 35 0 0 .6.6 1.2 1.1z' class='st0'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('1inch') ? window?.ethereum : undefined,
},
});
export const tokenary = /*#__PURE__*/ injected({
target: {
id: 'tokenary',
name: 'Tokenary',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='341.333' height='341.333' version='1.0' viewBox='0 0 256 256'%3e %3cpath fill='%232C7CF5' d='M112 64.5c-21.1 5.7-38 21.3-45.8 42.3-3.3 9-4.2 26.6-1.8 36.2 5.4 21.6 21 38.8 42.4 46.8 9 3.3 26.6 4.2 36.2 1.8 21.6-5.4 38.8-21 46.8-42.4 3.3-9 4.2-26.6 1.8-36.2-5.4-21.6-21-38.8-42.4-46.8-8.5-3.2-28.3-4.1-37.2-1.7z'/%3e %3c/svg%3e",
provider: (window) =>
isWalletInstalled('tokenary') ? window?.ethereum : undefined,
},
});
export const okx = /*#__PURE__*/ injected({
target: {
id: 'okx',
name: 'OKX',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='enable-background:new 0 0 2500 2500' viewBox='0 0 2500 2500'%3e %3cpath d='M0 0h2500v2500H0z' style='fill-rule:evenodd%3bclip-rule:evenodd'/%3e %3cpath d='M1463 1015h-404c-17 0-31 14-31 31v404c0 17 14 31 31 31h404c17 0 31-14 31-31v-404c0-17-14-31-31-31zM996 549H592c-17 0-31 14-31 31v404c0 17 14 31 31 31h404c17 0 31-14 31-31V580c0-17-14-31-31-31zm934 0h-404c-17 0-31 14-31 31v404c0 17 14 31 31 31h404c17 0 31-14 31-31V580c0-17-14-31-31-31zm-934 933H592c-17 0-31 14-31 31v404c0 17 14 31 31 31h404c17 0 31-14 31-31v-404c0-17-14-31-31-31zm934 0h-404c-17 0-31 14-31 31v404c0 17 14 31 31 31h404c17 0 31-14 31-31v-404c0-17-14-31-31-31z' style='fill:white'/%3e %3c/svg%3e",
provider: (window: any) => window?.okxwallet,
},
});
export const exodus = /*#__PURE__*/ injected({
target: {
id: 'exodus',
name: 'Exodus',
icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3e %3cpath fill='%231F1B34' d='M0 0h32v32H0z'/%3e %3cpath fill='url(%23a)' d='M26 11.686 17.328 6v3.18l5.563 3.615-.654 2.07h-4.91V17.5h4.91l.654 2.071-5.563 3.615v3.18L26 20.698l-1.418-4.506z'/%3e %3cpath fill='url(%23b)' d='M9.782 17.5h4.89v-2.634H9.765l-.637-2.071 5.546-3.616V6L6 11.686l1.418 4.506L6 20.698l8.69 5.668v-3.18l-5.563-3.615z'/%3e %3cmask id='e' width='20' height='21' x='6' y='6' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3e %3cpath fill='url(%23c)' d='M26 11.686 17.327 6v3.18l5.564 3.615-.655 2.07h-4.909V17.5h4.91l.654 2.071-5.564 3.615v3.18L26 20.698l-1.418-4.506z'/%3e %3cpath fill='url(%23d)' d='M9.782 17.5h4.89v-2.634H9.765l-.637-2.071 5.546-3.616V6L6 11.686l1.418 4.506L6 20.698l8.69 5.668v-3.18l-5.563-3.615z'/%3e %3c/mask%3e %3cg mask='url(%23e)'%3e %3cpath fill='url(%23f)' d='M25.867 6H6.011v20.366h19.856z'/%3e %3c/g%3e %3cdefs%3e %3clinearGradient id='a' x1='23.195' x2='17.385' y1='27.766' y2='3.763' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%230B46F9'/%3e %3cstop offset='1' stop-color='%23BBFBE0'/%3e %3c/linearGradient%3e %3clinearGradient id='b' x1='23.194' x2='17.385' y1='27.766' y2='3.763' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%230B46F9'/%3e %3cstop offset='1' stop-color='%23BBFBE0'/%3e %3c/linearGradient%3e %3clinearGradient id='c' x1='23.194' x2='17.385' y1='27.766' y2='3.763' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%230B46F9'/%3e %3cstop offset='1' stop-color='%23BBFBE0'/%3e %3c/linearGradient%3e %3clinearGradient id='d' x1='23.194' x2='17.385' y1='27.766' y2='3.763' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%230B46F9'/%3e %3cstop offset='1' stop-color='%23BBFBE0'/%3e %3c/linearGradient%3e %3clinearGradient id='f' x1='7.284' x2='17.339' y1='10.582' y2='18.092' gradientUnits='userSpaceOnUse'%3e %3cstop offset='.12' stop-color='%238952FF' stop-opacity='.87'/%3e %3cstop offset='1' stop-color='%23DABDFF' stop-opacity='0'/%3e %3c/linearGradient%3e %3c/defs%3e %3c/svg%3e",
provider: (window: any) => window?.exodus?.ethereum,
},
});