hackquest logo

Service Ledger

Decentralized voucher marketplace connecting local businesses with customers

Videos

Description

Service Ledger revolutionizes local business vouchers by bringing them on-chain as ERC1155 tokens on Arbitrum Sepolia. Traditional voucher systems suffer from fraud, high platform fees, and lack of transparency. Our dApp solves this by enabling businesses to mint verifiable vouchers with customizable pricing, supply limits, and expiry dates, while customers purchase them using SLR tokens (ERC20) directly from their Web3 wallets.

The platform features three core interfaces: (1) A Business Dashboard where merchants register on-chain and create vouchers with IPFS-backed metadata including images, descriptions, and business details, with an intuitive expiry system offering quick presets (7/30/90 days, 1 year) or custom dates automatically converted to Unix timestamps. (2) A dynamic Marketplace that loads all active vouchers without hardcoded token IDs, displaying business name, city, price, remaining units, and real-time expiry status. (3) A My Vouchers page where customers view their holdings, see clear expiry indicators (No expiry/Expires on/Expired), and redeem vouchers through on-chain burns.

Built with Next.js 14, Wagmi v2, RainbowKit, and viem, Service Ledger implements a robust two-step transaction flow (approve → purchase) with live status indicators, multiple RPC provider fallbacks for reliability, and a seamless UX that bridges Web2 familiarity with Web3 trustlessness.

📝 Smart Contracts (Arbitrum Sepolia):

• Service Ledger (ERC1155): 0x075A09489e13765451A7E4085Db30AEeed9BA9F2

• SLR Token (ERC20): 0x6dcEae9Afd6E76eFEb8B0fB27803c1dfFb06E9A6

🔗 Live Demo: https://service-ledger.vercel.app/

🌐 GitHub:https://github.com/Abhishek-singh88/Service-Ledger

💧 Faucet: https://faucet-slr.vercel.app/

Progress During Hackathon

**Smart Contract Development:** - Deployed ERC20 (SLR) and ERC1155 (LocalVouchers) contracts on Arbitrum Sepolia - Implemented business registration, voucher minting, purchasing, and redemption logic - Added expiry timestamp support and remaining units tracking **Frontend Development:** - Built Next.js dApp with Wagmi v2 + RainbowKit integration - Created dynamic Marketplace, My Vouchers, and Business Dashboard - Implemented IPFS metadata storage and real-time blockchain data fetching **UX Enhancements:** - Added expiry date presets and custom date picker for easy voucher creation - Built two-step transaction flow with status indicators - Designed professional dark-themed UI with responsive layout - Created SLR faucet for user onboarding **Testing & Deployment:** - Conducted comprehensive end-to-end testing on Arbitrum Sepolia - Deployed frontend to production with optimized RPC configuration - Verified all smart contracts on Arbiscan - Created demo video and complete documentation

Tech Stack

Next
Web3
Ethers
Solidity
Team Leader
Aabhishek Singh
Sector
DeFiNFTRWA