Skip to content

Commit

Permalink
Merge branch 'koni/dev/issue-connect-wc' into story-protocol-od-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
S2kael committed Nov 19, 2024
2 parents 9e11771 + de5201f commit b16b4de
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export const DEFAULT_WALLET_CONNECT_OPTIONS: SignClientTypes.Options = {
projectId: targetIsMobile ? PROJECT_ID_MOBILE : PROJECT_ID_EXTENSION,
relayUrl: RELAY_URL,
metadata: {
name: 'SubWallet',
description: 'React Wallet for WalletConnect',
url: 'https://www.subwallet.app/',
icons: ['https://raw.githubusercontent.com/Koniverse/SubWallet-Extension/master/packages/extension-koni/public/images/icon-128.png']
name: 'Koni Story',
description: 'A unified Telegram mini app that allows users to play with their IPs',
url: 'https://koni-story.playnation.app/',
icons: ['https://raw.githubusercontent.com/Koniverse/Playnation/story-protocol-od-prod/packages/webapp/public/images/favicon/android-chrome-512x512.png']
}
};

Expand All @@ -40,6 +40,6 @@ export const WALLET_CONNECT_POLKADOT_NAMESPACE = 'polkadot';

export const WALLET_CONNECT_SUPPORT_NAMESPACES: string[] = [WALLET_CONNECT_EIP155_NAMESPACE, WALLET_CONNECT_POLKADOT_NAMESPACE];

export const WC_REQUIRE_CHAIN_IDS: number[] = [1, 1513, 1516];
export const WC_REQUIRE_CHAIN_IDS: number[] = [1516];
export const WC_OPTIONAL_CHAIN_IDS: number[] = [];
export const WC_DEFAULT_CHAIN_ID = 1;
export const WC_DEFAULT_CHAIN_ID = 1516;
Binary file modified packages/webapp/public/favicon.ico
Binary file not shown.
18 changes: 9 additions & 9 deletions packages/webapp/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet</title>
<title>Koni Story</title>

<meta name="title" content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
<meta name="title" content="Koni Story">
<meta name="description"
content="Empower blockchain usage with a one-stop-shop for the multichain. Playnation helps you manage your assets with full control.">
content="A unified Telegram mini app that allows users to play with their IPs">
<meta property="og:site_name"
content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
content="Koni Story">
<meta property="og:url" content="https://subwallet.app/">
<meta property="og:title"
content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
content="Koni Story">
<meta property="og:type" content="website">
<meta property="og:description"
content="Empower blockchain usage with a one-stop-shop for the multichain. Playnation helps you manage your assets with full control.">
content="A unified Telegram mini app that allows users to play with their IPs">
<meta name="twitter:site" content="@https://">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title"
content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
content="Koni Story">
<meta name="twitter:description"
content="Empower blockchain usage with a one-stop-shop for the multichain. Playnation helps you manage your assets with full control.">
content="A unified Telegram mini app that allows users to play with their IPs">
<meta property="og:image" content="https://file-library.subwallet.app/preview-images/webapp.png"/>
<meta property="og:image:secure_url" content="https://file-library.subwallet.app/preview-images/webapp.png"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="600"/>
<meta name="app:version" content="<%= htmlWebpackPlugin.options.meta['app-version'] %>">
<meta name="copyright" content="Playnation"/>
<meta name="copyright" content="Koni Story"/>

<link rel="canonical" href="https://telegram.playnation.app/"/>

Expand Down
18 changes: 9 additions & 9 deletions packages/webapp/public/not-support.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet</title>
<title>Koni Story</title>

<meta name="title" content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
<meta name="title" content="Koni Story">
<meta name="description"
content="Empower blockchain usage with a one-stop-shop for the multichain. Playnation helps you manage your assets with full control.">
content="A unified Telegram mini app that allows users to play with their IPs">
<meta property="og:site_name"
content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
content="Koni Story">
<meta property="og:url" content="https://subwallet.app/">
<meta property="og:title"
content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
content="Koni Story">
<meta property="og:type" content="website">
<meta property="og:description"
content="Empower blockchain usage with a one-stop-shop for the multichain. Playnation helps you manage your assets with full control.">
content="A unified Telegram mini app that allows users to play with their IPs">
<meta name="twitter:site" content="@https://">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title"
content="Playnation - Comprehensive Polkadot, Substrate & Ethereum wallet">
content="Koni Story">
<meta name="twitter:description"
content="Empower blockchain usage with a one-stop-shop for the multichain. Playnation helps you manage your assets with full control.">
content="A unified Telegram mini app that allows users to play with their IPs">
<meta property="og:image" content="https://file-library.subwallet.app/preview-images/webapp.png"/>
<meta property="og:image:secure_url" content="https://file-library.subwallet.app/preview-images/webapp.png"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="600"/>
<meta name="app:version" content="<%= htmlWebpackPlugin.options.meta['app-version'] %>">
<meta name="copyright" content="Playnation"/>
<meta name="copyright" content="Koni Story"/>

<link rel="canonical" href="https://telegram.playnation.app/"/>

Expand Down
22 changes: 12 additions & 10 deletions packages/webapp/public/walletconnect-placeholder.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,21 @@
<!-- Import base CSS -->
<link href="/fonts/PlusJakartaSans/index.css" rel="stylesheet">
<link href="/assets/reset.css?v=3.01" rel="stylesheet">

<script src="https://telegram.org/js/telegram-web-app.js?v=7.7"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C01KRVB114"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-C01KRVB114');
</script>
<!-- Import main JS logic -->
</head>

<body style="background-color: #F0F7F8;">
<div id="root"></div>
<div id="loading-placeholder" class="startup-screen" style="position:fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000">
<div style="text-align: center; padding-top: 60px">
Please open app in the Telegram
</div>
</div>
<script>
// navigate to main page
window.location.href = 'https://story-protocol-odyssey-tele.playnation.app/';
</script>
</body>
</html>

0 comments on commit b16b4de

Please sign in to comment.