Next.js Wallet & API Integration
Budget / SalaryHourly project
TypeFreelance project
LocationRemote
Posted3 hours ago
I already have the dashboard, holdings, proof-of-reserve and redemption pages built in Next.js with React, TypeScript, Tailwind and Zustand. They currently read from local mocks. Your task is to wire these screens to our live Node + MongoDB API and to the blockchain so holders see their real gold, silver and platinum token balances.
Core requirements
• Set up MetaMask as the first connection method, using ethers v6.
• Point the dApp to the designated test network; network data must switch automatically when the user changes accounts or chains.
• Fetch balances for three ERC-20 tokens, display them in the existing UI and keep them in sync via listeners.
• Call the existing REST endpoints for vault reserves, then fetch on-chain total supply and present the two numbers side-by-side on the proof-of-reserve screen.
• Replace all mock stores in Zustand with real data hooks; no breaking changes to current component props.
• Code must be clean, typed and covered by basic unit tests for the new hooks.
I will provide:
– API documentation and test keys
– ABI files and contract addresses on the test network
– Figma link for any edge-case UI states
Acceptance
The app should load without mocks, connect through MetaMask, reflect live balances after a transfer, and show identical totals between the API reserve figure and the on-chain supply (within rounding). Push a PR against our GitHub repo for review; we’ll run an end-to-end test before sign-off.
Core requirements
• Set up MetaMask as the first connection method, using ethers v6.
• Point the dApp to the designated test network; network data must switch automatically when the user changes accounts or chains.
• Fetch balances for three ERC-20 tokens, display them in the existing UI and keep them in sync via listeners.
• Call the existing REST endpoints for vault reserves, then fetch on-chain total supply and present the two numbers side-by-side on the proof-of-reserve screen.
• Replace all mock stores in Zustand with real data hooks; no breaking changes to current component props.
• Code must be clean, typed and covered by basic unit tests for the new hooks.
I will provide:
– API documentation and test keys
– ABI files and contract addresses on the test network
– Figma link for any edge-case UI states
Acceptance
The app should load without mocks, connect through MetaMask, reflect live balances after a transfer, and show identical totals between the API reserve figure and the on-chain supply (within rounding). Push a PR against our GitHub repo for review; we’ll run an end-to-end test before sign-off.
Apply on Freelancer →
Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.