From 1791ea4111fd2984890e4b6a30a99f52e2b57b74 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 12 Apr 2024 02:09:34 -0400 Subject: [PATCH] faucet native coin fix --- src/components/Faucet.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Faucet.vue b/src/components/Faucet.vue index 8999137..4150acc 100644 --- a/src/components/Faucet.vue +++ b/src/components/Faucet.vue @@ -50,7 +50,7 @@ function gib(token) { const disabled = ref(false) const FAUCET_CONFIG = { - '': 1, // native coin + native: 1, MEH: 1, USXD: 10000, WETH: 0, @@ -62,7 +62,7 @@ function gib() { const s = useStore() if( s.account ) { const chainId = s.chainId - const tokenAmounts = {} + const tokenAmounts = {native: BigInt(FAUCET_CONFIG.native*1e18)} const tmd = metadata[chainId].t // token metadata for (const [symbol, amount] of Object.entries(FAUCET_CONFIG)) { if (amount>0) {