From ebfa02f0c8ca96a90b81f2d134acb603ab2bda07 Mon Sep 17 00:00:00 2001
From: Jonathan Le Brun <42697488+icyfry@users.noreply.github.com>
Date: Tue, 30 Jan 2024 14:00:40 +0100
Subject: [PATCH] Add web3 utils class
---
dapp/src/App.vue | 37 +++++---------------
dapp/src/components/CryptoZombiesView.vue | 1 -
dapp/src/tests/web3.test.ts | 7 ++++
dapp/src/utils/web3utils.ts | 41 +++++++++++++++++++++++
dapp/vite.config.ts | 5 +--
5 files changed, 59 insertions(+), 32 deletions(-)
create mode 100644 dapp/src/tests/web3.test.ts
create mode 100644 dapp/src/utils/web3utils.ts
diff --git a/dapp/src/App.vue b/dapp/src/App.vue
index e8fd2f8..c58b0dc 100644
--- a/dapp/src/App.vue
+++ b/dapp/src/App.vue
@@ -1,48 +1,26 @@
@@ -54,7 +32,8 @@ function ethEnabled() {
-
+