diff --git a/packages/web-app/app/_server/sales.ts b/packages/web-app/app/_server/sales.ts index adf7df76..eee75f47 100644 --- a/packages/web-app/app/_server/sales.ts +++ b/packages/web-app/app/_server/sales.ts @@ -11,6 +11,7 @@ import { import { mainnet, sepolia } from 'viem/chains'; import { TProjectSaleDetails, TProjectStatus } from '../_types'; import { TInternalError } from './types'; +import { evmGrantee, evmGranteePublicKey } from './wallet'; const config = process.env.NEXT_PUBLIC_ENABLE_TESTNETS ? { @@ -69,8 +70,8 @@ export const saleDetails = async (): Promise< return [ { - address: '0x2d49d75Ca03041051a7488e28fc98906ac711873', - publicKey: 'hPMGAtHXQlHhv30U8k8vQ7dyW70nm9OFLdA9lskwdRQ=', + address: evmGrantee.address, + publicKey: evmGranteePublicKey, project: 'citizend', status: contractResults[0], rate: contractResults[1], diff --git a/packages/web-app/app/_ui/components/wallet-button.tsx b/packages/web-app/app/_ui/components/wallet-button.tsx index 4aee34b3..af653cce 100644 --- a/packages/web-app/app/_ui/components/wallet-button.tsx +++ b/packages/web-app/app/_ui/components/wallet-button.tsx @@ -5,8 +5,7 @@ import { useDialog } from '@/app/_providers/dialog/context'; import { SettingsDialog } from './dialogs'; import { EdgeBorderButton, EdgeButton } from './edge'; import { Avatar } from './avatar'; -import { useAccount, useBalance } from 'wagmi'; -import { formatEther } from 'viem'; +import { useAccount } from 'wagmi'; import { usePaymentTokenBalance } from '@/app/_lib/queries'; const ConnectedButton = () => {