@sky-mavis/tanto-widget
Version:
Tanto Widget
64 lines • 2.64 kB
JavaScript
import {jsx}from'@emotion/react/jsx-runtime';import {BlueFilledWalletConnectLogo}from'../assets/BlueWalletConnectLogo.mjs';import {CoinbaseLogo}from'../assets/CoinbaseLogo.mjs';import {RoninMobileCustomSquareLogo,RoninExtensionCustomSquareLogo,RoninWaypointCustomSquareLogo}from'../assets/RoninCustomSquareLogo.mjs';import {RoninExtensionCustomLogo}from'../assets/RoninExtensionCustomLogo.mjs';import {RoninMobileCustomLogo}from'../assets/RoninMobileCustomLogo.mjs';import {RoninWaypointCustomLogo}from'../assets/RoninWaypointCustomLogo.mjs';import {SafeLogo}from'../assets/SafeLogo.mjs';import {WalletConnectLogo}from'../assets/WalletConnectLogo.mjs';import {RONIN_WALLET_WEB_LINK}from'../constants/index.mjs';import {WALLET_IDS}from'../types/wallet.mjs';const walletConfigs = {
[WALLET_IDS.WAYPOINT]: {
name: 'Continue with Email',
icon: jsx(RoninWaypointCustomSquareLogo, {}),
displayOptions: {
thumbnail: jsx(RoninWaypointCustomLogo, {}),
highlightBackground: true,
showRoninBadge: true,
connectingDescription: 'Confirm connection via pop-up windows'
}
},
[WALLET_IDS.RONIN_WALLET]: {
name: 'Ronin Wallet Extension',
icon: jsx(RoninExtensionCustomSquareLogo, {}),
homepage: RONIN_WALLET_WEB_LINK,
displayOptions: {
thumbnail: jsx(RoninExtensionCustomLogo, {}),
showRoninBadge: true
}
},
[WALLET_IDS.RONIN_WALLET_INJECTED]: {
name: 'Ronin Wallet Extension',
icon: jsx(RoninExtensionCustomSquareLogo, {}),
homepage: RONIN_WALLET_WEB_LINK,
displayOptions: {
thumbnail: jsx(RoninExtensionCustomLogo, {}),
showRoninBadge: true
}
},
[WALLET_IDS.WALLET_CONNECT]: {
name: 'WalletConnect',
icon: jsx(BlueFilledWalletConnectLogo, {}),
displayOptions: {
thumbnail: jsx(WalletConnectLogo, {}),
description: 'Scan QR on mobile wallet to connect'
}
},
[WALLET_IDS.CUSTOM_RONIN_MOBILE_WALLET]: {
name: 'Ronin Wallet Mobile',
icon: jsx(RoninMobileCustomSquareLogo, {}),
displayOptions: {
thumbnail: jsx(RoninMobileCustomLogo, {}),
description: 'Sign in with the app',
showRoninBadge: true
}
},
[WALLET_IDS.CUSTOM_RONIN_IN_APP_WALLET]: {
name: 'Ronin Wallet Mobile',
icon: jsx(RoninMobileCustomSquareLogo, {}),
displayOptions: {
thumbnail: jsx(RoninMobileCustomLogo, {}),
description: 'Sign in with the app',
showRoninBadge: true
}
},
[WALLET_IDS.SAFE]: {
name: 'Safe',
icon: jsx(SafeLogo, {})
},
[WALLET_IDS.COINBASE_WALLET]: {
name: 'Coinbase Wallet',
icon: jsx(CoinbaseLogo, {})
}
};export{walletConfigs};