
HIVE token with minting and burning functionality Solidity, OpenZeppelin Staking Contract Time-locked staking with secure rewards distribution Solidity, Hardhat Token Transfer Transfer HIVE tokens between accounts with blockchain verification Ethers.js, MetaMask Real-Time Updates Reactive UI reflecting live balances, rewards, and transaction statuses Vue 3, Nuxt 3, Tailwind Wallet Integration Supports MetaMask, WalletConnect, and Coinbase Wallet Web3Modal Responsive UI Mobile and desktop friendly dashboard with staking analytics and charts Tailwind CSS, Chart.js0x359863fB0ca4E4be77daD9dFFBB0BbdA94690cCC0x3531D47A28Aa87Bd5F9eaD3D2d8Fe07Ce16C8DDcfrontend/utils/contract.js:frontend/utils/contract.jsfrontend/utils/contract.jsfrontend/utils/contract.js and update the ADDRESS_MAP:๐ Connected to chain 11155111 (sepolia)frontend/utils/contract.js)npx hardhat run scripts/deploy-and-update.js --network sepolia Recommended: Deploys and auto-updates frontend Deploy (Manual) npx hardhat run scripts/deploy.js --network sepolia Standard deployment (requires manual address update) Update Addresses node scripts/update-addresses.js <chainId> <tokenAddr> <farmAddr> Manually update frontend addresses Transfer Tokens npx hardhat run scripts/transfer-tokens.js --network sepolia Transfer HIVE to your wallet Run Tests npx hardhat test Run full test suite Start Frontend cd frontend && npm run dev Launch development server Build Frontend cd frontend && npm run build Production buildfrontend/utils/contract.js: Contains ADDRESS_MAP - update after deployingfrontend/stores/walletStore.js: Wallet connection and blockchain interactionshardhat.config.js: Network configurations and compiler settings.env: Your private key and RPC URLs (NEVER commit this!)๐ Connected to chain 11155111 - Network detected๐ Using addresses: {...} - Addresses loaded for current chain๐ฐ Fetching balance from HIVE token at: 0x... - Balance query๐ Raw balance (wei): ... - Retrieved balance before formattingโ No contract code at 0x... โ Wrong network or address mismatchError fetching token balance โ Check provider initializationUnknown Token โ Import token to MetaMask with correct address๐ฐ Fetching balance from HIVE token at: 0x...frontend/utils/contract.js with MetaMask's addressfrontend/utils/contract.js)HIVE, Decimals: 18frontend/utils/contract.jsSEPOLIA_RPC_URL in .envPRIVATE_KEY in .envdeploy-and-update.js for deployments.env file with private keysparseEther and contract calls).Posted Dec 1, 2025
Developed StakeHive, a DeFi app for staking HIVE tokens on Sepolia Testnet.
0
0
Jun 30, 2025 - Aug 20, 2025