AntaBay is a complete, ready-to-deploy marketplace platform where every purchase is paid in crypto and protected by an on-chain escrow smart contract. Sellers list items in euros or in a supported token. Buyers connect a wallet and pay in stablecoins or in the listed token. The contract pays the seller only after the buyer confirms delivery, minus a configurable platform fee that goes to your treasury wallet.
A live demo (Polygon Amoy testnet, no real money involved) is linked in the Demo URL field of this item.
Marketplace
- Listings with multi-image upload, a two-level category tree and a step-by-step listing wizard
- Auctions with a secret reserve price, minimum bid increments, bid history, buy-now until the first bid and a 2-minute anti-sniping extension
- Fixed-price sales with quantities, and price offers with accept, decline and counter flow
- Unpaid-winner handling: payment deadlines, a strike system, second-chance offers and automatic relisting
- Real-time chat between buyer and seller, reviews and ratings, favorites, in-app and email notifications
- Sitemap and OpenGraph tags for search and sharing, dark and light theme, layout for desktop and mobile
Payments and escrow
- Solidity escrow contract built on OpenZeppelin: the buyer deposits, the seller ships, the buyer confirms, the contract pays the seller minus the fee. The default fee is 2.5 %; the contract caps it at 5 %
- Deposits are signed by your backend (EIP-712) and expire, so only orders that exist in your database can be funded
- Automatic release after 14 days without a dispute. Disputes are resolved by an admin (refund or release); if no decision comes within 30 days, the buyer can reclaim the funds
- Owner functions sit behind two-step ownership, a pause switch and time-locked treasury and emergency-withdraw changes
- Tokens: USDC, USDT, DAI, WETH and WBTC. Configuration for Polygon mainnet and the Amoy testnet is included
- Euro price anchor: list in euros and the platform quotes the stablecoin amount at checkout from the median of three exchange price feeds, checks it against the ECB reference rate, freezes the quote for 15 minutes and stores rate, sources and time on the order. If the price sources fail or a stablecoin leaves its peg, checkout is blocked instead of mispriced
- The backend verifies token address and exact amount on-chain before an order counts as paid
- Wallet connection through the MetaMask browser extension and other wallets via WalletConnect
Admin and security
- Dashboard for users, listings, orders, auctions (end, cancel, remove bids, extend payment deadlines, forfeit), offers, strikes and fee settings, with an audit log on every admin action
- Moderation queue with user reports and optional Sightengine image checks
- Refresh-token login with password reset by email, rate limiting and a strict Content Security Policy with nonces in nginx
Built to hand over
- Interactive installer (
install.sh) and a Docker Compose production stack - HTML documentation in the
documentationfolder: installation from zero, customization guide, file overview, versions and third-party licenses - White-label guide for your own brand, demo-content seeder that fills a fresh install with sample listings
- Changelog and a written support policy
Tech stack
React 18 · TypeScript · Vite · Tailwind CSS · wagmi and viem · TanStack Query · Node.js 20 · Express · Prisma · PostgreSQL · Redis · Socket.io · Solidity 0.8 · Hardhat · Docker Compose · nginx. About 44,500 lines of first-party code, 17 API route modules, 26 pages and 23 database models.
Open-source credits
AntaBay builds on open-source libraries that are not part of the download; npm installs them. Among them are React, Vite, Tailwind CSS, wagmi and viem, TanStack Query, Express, Prisma, Socket.io, lucide-react, OpenZeppelin Contracts and Hardhat. Each keeps its own license; the overview is in docs/THIRD_PARTY_LICENSES.md.
What you need
- A Linux server (VPS) with Docker and Docker Compose, at least 2 GB RAM
- A domain name and a TLS certificate (the guide uses Let's Encrypt with certbot)
- Free accounts with an RPC provider such as Alchemy, with Resend for email and with Reown (WalletConnect) for the wallet connection
- A wallet with a little Polygon gas to deploy the escrow contract (testnet tokens are free)
- Basic command-line skills; the installer and the documentation cover the rest
Hosting, the domain and the live demo instance are not part of the download.
Please read before you buy
- No third-party audit. The escrow contract comes with a test suite but has not been audited by an outside firm. Have it audited before it holds real value.
- Testnet demo. The live demo runs on the Polygon Amoy testnet. Switching to mainnet is a configuration change (addresses, RPC, chain ID), but the platform has not been operated with real money.
- Compliance is yours. Running a marketplace with crypto payments and escrow may need a licence in your country (for example under MiCA or PSD2 in the EU), and you are responsible for taxes and consumer-protection rules. This is software, not legal advice.
- Legal pages are drafts. Imprint, terms and privacy policy are example texts written for a German operator (English text with a German translation). Replace them with texts from your own lawyer before you go live.
- Languages. The interface is English by default and includes a complete German translation. The language follows the browser on the first visit and can be switched in the header. All code, comments, scripts, documentation, category names and the sample demo catalog are in English. No other languages are included — adding one takes a single dictionary file, explained in the documentation. E-mails sent by the backend are English only.
- Not included: automatic proxy bidding (bids are placed by hand), a KYC verification workflow, fiat payments and native mobile apps.
- Test coverage is thin. Unit tests cover the euro rate engine and the contract; most other areas are not covered by automated tests.
- Third-party services have their own terms. The Reown (WalletConnect) community licence is free below 500 monthly active wallets and 2.5 million RPC calls per month and needs a paid licence above that; see
docs/THIRD_PARTY_LICENSES.md. Your RPC provider, Resend and the public price feeds apply their own limits. - Sample content. The demo-content seeder creates sample listings to show the platform; product photos are not included, and the stock photos on the live demo are not part of the download. Replace the samples with your own.
Support and updates
Every purchase includes 6 months of support from the purchase date, answered in the comments section of the item page within 2 business days (Mon–Fri).
- Included: questions about installation and configuration as documented, fixes for reproducible bugs in the unmodified code, and the updates published during the support window
- Not included: installation done for you, customization and new features, support for modified code, server administration, DNS, TLS and email deliverability, contract deployment on your behalf and gas costs, legal or regulatory advice
Releases are versioned and listed in CHANGELOG.md; version 1.0.0 is the first packaged release.