From bbb3dc6a70b5ab008357c4ba6768bf8deef8242c Mon Sep 17 00:00:00 2001 From: lukicenturi Date: Thu, 8 Aug 2024 22:58:42 +0700 Subject: [PATCH] feat: integrate wallet connect --- .env.example | 1 + components/checkout/pay/CryptoPage.vue | 27 +- components/checkout/pay/CryptoPaymentForm.vue | 44 +- components/icons/MetamaskIcon.vue | 188 --- composables/crypto-payment.ts | 103 +- locales/en.json | 7 +- modules/ui-library/runtime/plugin.ts | 2 + nuxt.config.ts | 3 + package.json | 2 +- pnpm-lock.yaml | 1485 ++++++++++++++++- types/index.ts | 20 - 11 files changed, 1564 insertions(+), 318 deletions(-) delete mode 100644 components/icons/MetamaskIcon.vue diff --git a/.env.example b/.env.example index fb227a93..3a25abe7 100644 --- a/.env.example +++ b/.env.example @@ -4,3 +4,4 @@ NUXT_PUBLIC_MAINTENANCE=false NUXT_PUBLIC_TESTING=true #PROXY_DOMAIN=rotki.com #PROXY_INSECURE=true #When set it will proxy to http instead of https +NUXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= diff --git a/components/checkout/pay/CryptoPage.vue b/components/checkout/pay/CryptoPage.vue index f8c9bb83..dfec01cb 100644 --- a/components/checkout/pay/CryptoPage.vue +++ b/components/checkout/pay/CryptoPage.vue @@ -1,18 +1,15 @@