MirrorBattle is a platform where crypto traders deploy agents to copy-trade 'smart money wallets' and compete in PvP battles.
The platform MirrorBattle provides agentic tools for traders to follow “smart money wallets” and execute copy-trades based on a set of customizable criteria. Each trader configures his own agent, deposits a certain amount of USDC into the agentic wallet, and engages with a PvP competition of trading. On a 7-day rolling basis, a PvP battle is conducted and snapshots of beginning and ending balance of the agent wallets are taken. The trader with an agent earning higher return % wins the battle.
Key Features Frictionless onboarding with creation of server wallets with restricted policies. Leveraging both pre-screened smart money wallets and custom wallet addresses for copy trades. Agentic wallets for automated copy-trades. Gasless transactions on EVM via 0x API Customizable parameters for the deployment of copy-trade agents: Thresholds (in USD value) to trigger copy-trade
Roadmap & Future Plans Improvement of UI&UX design Add profit-taking & stop-loss rules to the agents Add multi-chain support, including Solana Add prize pools and prediction markets for each PvP battle
Database and ORM:
Authentication and Blockchain Integration:
@privy-io/server-auth: This partner technology was integrated to manage authentication, ensuring a secure backend. Its flexibility was particularly beneficial when combined with other modern authentication methods.
Moralis, Viem, and Zod: These libraries were used to handle blockchain interactions and schema validation. They ensure that any blockchain-related functionality is reliably implemented and validated.
Next.js and React: The frontend is built using Next.js—providing server-side rendering, static optimizations, and excellent routing—together with React to create interactive UI components.
TypeScript: Used throughout the frontend for consistency and maintainability.
Tailwind CSS and Sass: Tailwind CSS offers utility-first styling, while Sass is used for more modular and maintainable custom styles. Both work together to ensure a responsive and modern UI.
Radix UI Components: A suite of unstyled yet highly accessible UI components was integrated, allowing rapid development of complex components such as accordions, dialog boxes, and tab systems without compromising on accessibility.
Utility Libraries:
tailwind-merge
and tailwindcss-animate
further refined the UI design.Authentication and Blockchain in the Frontend:
Notable Hacky Details: