11import './App.scss' ;
22import './trackers' ;
33// @ts -ignore
4- import { RequireFeature , THEME , TonConnectUIProvider , SendTransactionFeature } from '@tonkeeper/tonconnect-ui-react' ;
4+ import {
5+ RequireFeature ,
6+ THEME ,
7+ TonConnectUIProvider ,
8+ } from '@tonconnect/ui-react' ;
59import { Footer } from './components/Footer/Footer' ;
610import { Header } from './components/Header/Header' ;
711import { TxForm } from './components/TxForm/TxForm' ;
@@ -24,29 +28,45 @@ function App() {
2428 uiPreferences = { { theme : THEME . DARK } }
2529 walletsRequiredFeatures = { walletsRequiredFeatures }
2630 walletsListConfiguration = { {
27- includeWallets : [
28- {
29- appName : "tonkeeper_ec" ,
30- name : "Tonkeeper EC" ,
31- imageUrl : "https://tonkeeper.com/assets/tonconnect-icon.png" ,
32- tondns : "tonkeeper.ton" ,
33- aboutUrl : "https://tonkeeper.com" ,
34- deepLink : "tonkeeper-tc://" ,
35- universalLink : 'https://app.tonkeeper.com/ton-connect' ,
36- // @ts -ignore
37- features : [
38- {
39- name : "SendTransaction" ,
40- maxMessages : 255 ,
41- extraCurrencySupported : true
42- }
43- ] ,
44- jsBridgeKey : 'tonkeeper' ,
45- platforms : [ "chrome" , "firefox" ]
46- } ,
47- ]
31+ includeWallets : [
32+ {
33+ appName : 'Tonkeeper' ,
34+ name : 'TonkeeperWeb' ,
35+ imageUrl :
36+ 'https://raw.githubusercontent.com/tonkeeper/tonkeeper-web/0f197474c57937787608697e794ef2b20a62f0d4/apps/twa/public/logo-128x128.png' ,
37+ aboutUrl : 'https://9adbe24e.tonkeeper-web.pages.dev' ,
38+ universalLink :
39+ 'https://9adbe24e.tonkeeper-web.pages.dev/ton-connect' ,
40+ // deepLink: 'tonkeeper-tc://',
41+ bridgeUrl : 'https://bridge.tonapi.io/bridge' ,
42+ platforms : [
43+ 'ios' ,
44+ 'android' ,
45+ 'macos' ,
46+ 'windows' ,
47+ 'linux' ,
48+ ] ,
49+ } ,
50+ {
51+ appName : 'mytonwallet' ,
52+ name : 'MyTonWallet' ,
53+ imageUrl : 'https://static.mytonwallet.io/icon-256.png' ,
54+ aboutUrl : 'https://mytonwallet.io' ,
55+ universalLink : 'https://connect.mytonwallet.org' ,
56+ bridgeUrl :
57+ 'https://tonconnectbridge.mytonwallet.org/bridge' ,
58+ platforms : [
59+ 'chrome' ,
60+ 'windows' ,
61+ 'macos' ,
62+ 'linux' ,
63+ 'ios' ,
64+ 'android' ,
65+ 'firefox' ,
66+ ] ,
67+ } ,
68+ ] ,
4869 } }
49- // primaryWalletAppName={'tonkeeper'}
5070 actionsConfiguration = { {
5171 twaReturnUrl : 'https://t.me/tc_twa_demo_bot/start' ,
5272 } }
0 commit comments