@cosmos-kit/cosmostation-mobile
Version:
cosmos-kit wallet connector
37 lines (36 loc) • 1.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.cosmostationMobileInfo = void 0;
const constant_1 = require("../constant");
exports.cosmostationMobileInfo = {
name: 'cosmostation-mobile',
prettyName: 'Cosmostation Mobile',
logo: constant_1.ICON,
mode: 'wallet-connect',
downloads: [
{
device: 'mobile',
os: 'android',
link: 'https://play.google.com/store/apps/details?id=wannabit.io.cosmostaion',
},
{
device: 'mobile',
os: 'ios',
link: 'https://apps.apple.com/kr/app/cosmostation/id1459830339',
},
{
link: 'https://cosmostation.io/wallet/#extension',
},
],
mobileDisabled: () => 'cosmostation' in window || /Cosmostation/i.test(navigator.userAgent),
walletconnect: {
name: 'Cosmostation',
encoding: 'base64',
projectId: 'feb6ff1fb426db18110f5a80c7adbde846d0a7e96b2bc53af4b73aaf32552bea',
formatNativeUrl: (appUrl, wcUri, _name) => {
const plainAppUrl = appUrl.replaceAll('/', '').replaceAll(':', '');
// const encodedWcUrl = encodeURIComponent(wcUri);
return `${plainAppUrl}://wc?${wcUri}`;
},
},
};