From b0ebf40312521d864b545cfe5d47464bf47776f0 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Wed, 13 Sep 2023 17:09:31 +0800 Subject: [PATCH] add suggest chain --- package.json | 1 + src/layouts/components/DefaultLayout.vue | 14 ++ src/modules/wallet/suggest.vue | 166 +++++++++++++++++++++++ src/stores/useDashboard.ts | 11 ++ vite.config.ts | 3 + yarn.lock | 94 ++++++++++++- 6 files changed, 288 insertions(+), 1 deletion(-) create mode 100644 src/modules/wallet/suggest.vue diff --git a/package.json b/package.json index 998f7a97..eab2ae9a 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@cosmjs/encoding": "^0.29.5", "@iconify/vue": "^4.1.0", "@intlify/unplugin-vue-i18n": "^0.8.2", + "@leapwallet/cosmos-snap-provider": "^0.1.20", "@leapwallet/name-matcha": "^1.1.0", "@osmonauts/lcd": "^0.8.0", "@ping-pub/chain-registry-client": "^0.0.25", diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue index 6a1d9939..6920c4c4 100644 --- a/src/layouts/components/DefaultLayout.vue +++ b/src/layouts/components/DefaultLayout.vue @@ -239,6 +239,20 @@ function selected(route: any, nav: NavLink) { +