Projects using Web3.js in PakistanProjects using Web3.js in Pakistan๐ Case Study: PolySwap (PoliexSwap) โ Decentralized AMM & Yield Farming on Polygon
Category: DeFi ยท Decentralized Exchange ยท Web3
Platform: Web (Polygon Network)
Project Type: Automated Market Maker (AMM) & Yield Farming Protocol
Live: polyswap.netlify.app (http://polyswap.netlify.app)
Project Overview
PolySwap (https://polyswap.netlify.app) โ built as PoliexSwap โ is a decentralized exchange and high-yield farming protocol deployed on the Polygon network. It gives users the ability to swap tokens, provide liquidity, and earn yield on their assets directly from a non-custodial Web3 interface, without intermediaries and without leaving their wallets. Built by Cuboid, it sits in the same product category as PancakeSwap on BSC โ but positioned specifically for Polygon's faster, lower-cost infrastructure.
The Problem
Ethereum's gas fees made DeFi participation prohibitively expensive for smaller investors. Binance Smart Chain addressed the cost problem but introduced centralization trade-offs many users weren't comfortable with. Polygon emerged as a legitimate Layer 2 alternative โ fast, cheap, and EVM-compatible โ but lacked a native, fully-featured AMM and yield farming platform at the time.
The opportunity was clear: a first-mover DEX on Polygon that combined token swapping, liquidity provision, and high-yield farming in a single, clean interface built for the Polygon-native user.
Our Solution
Cuboid designed and developed the full PolySwap platform โ smart contract integration, liquidity pool architecture, yield farming interface, and wallet connectivity โ on Polygon's EVM-compatible chain. The interface was modeled on the established DEX UX patterns users already knew from Uniswap and PancakeSwap, lowering the barrier to entry while delivering Polygon's speed and cost advantages underneath.
The platform was built to be genuinely non-custodial throughout โ users connect their own wallets, execute swaps and deposits directly on-chain, and retain full control of their assets at every step.
Key Features & Capabilities
Token Swapping (AMM) โ An automated market maker enabling direct token-to-token swaps on Polygon without order books, central servers, or custodial risk. Pricing is determined algorithmically by liquidity pool ratios, ensuring continuous liquidity at all times.
Liquidity Provision โ Users deposit token pairs into liquidity pools and earn a share of all swap fees generated by that pool โ passive yield tied directly to platform trading volume rather than speculative token price.
High-Yield Farming โ Liquidity providers receive LP tokens representing their pool share, which can be staked in farming contracts to earn additional protocol rewards on top of swap fees. The dual-layer yield model โ fees plus farming rewards โ was positioned as the platform's primary value proposition for capital deployment on Polygon.
Non-Custodial & Permissionless โ No sign-up, no KYC, no custody. Users connect a compatible Web3 wallet and interact with smart contracts directly. Any Polygon-compatible token pair can be added as a liquidity pool without platform approval.
Polygon-Native Performance โ Transactions settle in seconds at a fraction of Ethereum mainnet gas costs, making frequent farming interactions and compounding strategies economically viable for users of any portfolio size.
Why Polygon
The decision to build on Polygon rather than Ethereum mainnet or BSC was deliberate. Polygon's EVM compatibility meant existing Ethereum tooling, wallets, and token standards worked without modification. Its transaction costs and speed made high-frequency DeFi interactions โ swaps, deposits, harvest cycles โ practical for retail users, not just whales.
Positioning PolySwap as the first high-yield AMM on Polygon was a first-mover bet on a network that has since grown into one of the most active EVM chains in DeFi.
Final Outcome
PolySwap demonstrates Cuboid's capability across the full DeFi product stack โ AMM smart contract integration, liquidity pool architecture, yield farming mechanics, and a consumer-grade Web3 interface built for a specific chain's competitive advantage. It's a project that required both technical precision and an understanding of how DeFi users think about capital, risk, and yield. I developed TomiPay, a multi-chain crypto wallet and Web3 super app built for users to manage digital assets, send and receive crypto, swap tokens, explore NFTs, connect with dApps, chat with users, use AI features, and send digital gifts.
TomiPay supports major blockchain networks including Bitcoin, Solana, Tron, Ethereum, BSC, Base, Polygon, and Sonic. Users can manage their crypto portfolio, view token balances, send and receive assets, swap tokens, manage NFTs, connect through WalletConnect, and interact with decentralized applications.
Beyond wallet features, I built an AI-powered experience and real-time chat system inside the app. Users can communicate through secure chat, access AI features, and use a complete gift system to send, receive, and manage digital gifts within the platform.
The project included portfolio tracking, QR-based receive flow, wallet address display, copy/share address, token management, NFT wallet functionality, token swaps, WalletConnect integration, dApp connectivity, AI features, chat system, gift shop, gift sending, gift receiving, and complete digital asset management.
This project focused on crypto wallet development, blockchain wallet integration, multi-chain wallet support, Web3 app development, DeFi wallet features, AI-powered Web3 apps, crypto chat apps, NFT wallet functionality, WalletConnect integration, dApp connectivity, token swaps, crypto portfolio tracking, and digital gift systems. Gems.vip (http://Gems.vip) is a full-featured crypto launchpad and trading platform I built that gives users exclusive access to high-potential crypto tokens at every stage โ from private sales and early raises to established market leaders. The platform has scaled to 2.5M+ users, 4.3K+ community leaders, $200M+ raised via launchpad, and supports 140+ countries.
The platform includes a Launchpad for token raises, Gems Trade for token swapping, a Premium membership tier, a Credit Refund system, Staking, and a Blog โ all under one unified Web3 experience. Users connect via crypto wallets and interact with smart contracts for staking, trading, and participation in token sales. The UI supports dark/light mode and multi-language, reflecting a global user base.
Tech Stack:
Node.js ยท React ยท Next.js ยท PostgreSQL ยท Web3.js / Ethers.js ยท Smart Contracts (Solidity) ยท Wallet Connect / MetaMask Integration ยท Staking Contracts ยท Token Launchpad Infrastructure ยท Cloudinary (Media) ยท Google Tag Manager ยท REST APIs ยท Docker ยท AWS ๐ Case Study: NFT Gaming Stars โ Play-to-Earn Blockchain Gaming Platform
Category: Web3 ยท GameFi ยท NFT & Metaverse
Platform: Web (Binance Smart Chain) ยท iOS & Android (in development)
Project Type: Decentralized Play-to-Earn Gaming Ecosystem
Live: nftgamingstars.com (http://nftgamingstars.com)
Project Overview
NFT Gaming Stars (https://nftgamingstars.com) is a Binance Smart Chain-based Play-to-Earn gaming ecosystem that unites NFTs, decentralized gaming, staking, and a metaverse layer under a single platform. Its native token โ GS1 โ serves as the currency of the entire ecosystem, powering in-game earnings, NFT purchases, staking rewards, and wallet-to-wallet trading. Built by Cuboid, the platform was designed to sit at the intersection of GameFi and the broader Web3 movement at a time when that space was defining its own rules.
The Problem
The convergence of blockchain and gaming presented a genuine opportunity โ but most early Play-to-Earn platforms prioritized tokenomics over user experience, producing platforms that felt transactional and inaccessible to anyone who wasn't already deep in crypto. The result was an ecosystem that talked about fun but delivered a spreadsheet.
NFT Gaming Stars needed a platform that could attract both crypto-native users and mainstream gamers โ one that delivered real earning mechanics without sacrificing the experience quality that keeps people playing.
Our Solution
Cuboid built the full web platform and DApp infrastructure for NFT Gaming Stars on Binance Smart Chain โ handling smart contract integration, the marketplace UI, staking interface, wallet connectivity, and the P2E game environment. The platform went live with a complete ecosystem from day one: token purchase, NFT minting, staking at up to 60% APY, and an operational Play-to-Earn game accessible directly from the browser.
The architecture was built around a customizable API layer to support transaction handling at scale, with decentralization and cryptographic security embedded at the infrastructure level โ not bolted on as an afterthought.
Key Features & Capabilities
GS1 Token Ecosystem โ A fixed supply of 250 million GS1 tokens with liquidity locked until 2033. GS1 functions as the platform's medium of exchange across games, NFT purchases, staking, and wallet-to-wallet trading โ designed for multi-utility across the entire Stars Network rather than single-game use.
Play-to-Earn Games โ Browser-based P2E games where players earn GS1 by playing, with NFT holders earning passive GS1 as the ecosystem expands into metaverse interactions. The first game, Battle Leet, launched as a proof-of-concept with a mobile app roadmap following behind.
NFT Marketplace โ A limited edition of 1,000 NFTs available for purchase on-platform, covering in-game assets including skins, weapons, land, and aesthetic upgrades. Every asset is verifiable, traceable, and immutable on-chain.
Staking โ Users stake GS1 directly on the platform for APY rewards, creating a holding incentive beyond active gameplay and supporting long-term token stability.
Walk-to-Earn Integration โ A Walk2Earn application concept integrating AR and AI โ rewarding physical activity with GS1 earnings, extending the platform's utility beyond screen-based gaming entirely.
Decentralized Exchange Layer โ Direct crypto wallet trading with support for GS1, BNB, and other BSC assets. No central authority, no custody risk โ users trade directly from their own wallets throughout.
MetaStars โ Metaverse Expansion โ The platform roadmap includes MetaStars, a full metaverse environment where NFT holders interact with assets in an immersive virtual world, with multiplayer game development including a chess variant running in parallel.
Community & Traction
NFT Gaming Stars launched with a 34,000-follower Twitter community, airdrop campaigns distributing over $20,000 in GS1 and 32 NFTs, and listings across major crypto data platforms including CoinMarketCap and Bitget. The project's audit was handled by SolidProof, and KYC verification was processed through the same trust infrastructure used by established BSC projects.
Final Outcome
NFT Gaming Stars demonstrates Cuboid's capability in full-stack Web3 product development โ smart contract integration, decentralized exchange infrastructure, NFT marketplace architecture, and P2E game environments โ delivered for a live, token-listed, community-backed project operating on Binance Smart Chain.