Miftahul Arifin
All projects
Blockchain & DeFi

AAPM

Prediction markets with Google sign-in and no gas to manage.

RoleSolo build
Year2025
StatusOpen source · demo
Built withTypeScript · Solidity
AAPM prediction market demo
< 1 minsign-in to first position
0ETH needed for gas

Why I built it

Prediction markets lose most newcomers at the wallet and gas-fee screens. I wanted to see how far account abstraction could remove that friction.

What it does

How it’s built

ERC-4337 smart accounts wrapped around prediction-market contracts, with social sign-in through Web3Auth, a React frontend and an Express API.

The hard part

The gas sponsorship layer. An early paymaster accepted malformed operations that could drain the sponsor’s balance; closing those cases took several rewrites before anything was usable.

Stack

TypeScriptSolidityERC-4337Web3AuthReactExpress