TaxFi is a non-custodial, agentic crypto tax platform. Your multi-agent pipeline scans every wallet across Ethereum, Base, and Arbitrum, classifies every transaction with Venice AI, finds the optimal
TaxFi is an AI-powered Crypto Tax Automation Platform that helps cryptocurrency investors automatically:
Track transactions across multiple blockchains
Calculate tax liabilities
Detect tax-loss harvesting opportunities
Generate IRS-compliant tax reports
Execute tax-saving transactions automatically
Maintain complete wallet ownership (Non-Custodial)
"Your Crypto Tax Agent That Pays For Itself"
Instead of charging yearly subscriptions like Koinly, CoinTracker, or TokenTax, TaxFi only takes 5% of actual tax savings generated.
Crypto taxes are extremely difficult because users:
A user may have:
500 swaps on Uniswap
200 staking rewards
50 NFT trades
Transactions on Ethereum
Transactions on Base
Transactions on Arbitrum
Tracking all manually is nearly impossible.
Suppose:
Buy | Price |
|---|---|
1 ETH | $1000 |
1 ETH | $2000 |
1 ETH | $3000 |
If user sells 1 ETH:
Which ETH was sold?
FIFO?
LIFO?
HIFO?
Different methods produce different tax liabilities.
Example:
Bought:
100 SOL @ $200Current:
100 SOL @ $150Loss:
$5000Most users don't realize they can sell, realize the loss, reduce taxes, and rebuy later.
Current tax tools require:
API keys
Exchange credentials
Wallet imports
Meaning:
"Trust us with your entire financial history"
TaxFi avoids this.
TaxFi combines:
Technology | Purpose |
|---|---|
Venice AI | AI Classification |
MetaMask Smart Accounts | Permission Management |
ERC-7715 | User Authorization |
ERC-7710 | Delegated Transactions |
1Shot API | Gasless Execution |
FastAPI | Backend |
Next.js | Frontend |
Solidity | Smart Contracts |
User Wallet
│
▼
Frontend (Next.js)
│
▼
FastAPI Backend
│
▼
Multi-Agent AI Pipeline
│
┌────┼────┐
▼ ▼ ▼
Venice AI
Blockchain APIs
1Shot Relayer
│
▼
Smart Contracts
│
▼
IRS Forms + Tax SavingsThis is the heart of TaxFi.
The backend runs 6 specialized agents.
Collect blockchain transaction history.
Ethereum
Base
Arbitrum
Covalent
Alchemy
User Wallet:
Transactions:
Swap ETH→USDC
Stake ETH
Claim Reward
Buy NFT
Bridge FundsThe Ingest Agent fetches all of them.
{
"hash":"0xabc",
"chain":"Ethereum",
"from":"0x123",
"to":"Uniswap",
"method":"swap"
}Understand what each transaction means.
Uses:
Model:
Example Input:
{
"method":"swapExactTokensForTokens"
}Venice AI determines:
{
"category":"SWAP",
"taxable":true
}Category | Meaning |
|---|---|
SWAP | Token Exchange |
AIRDROP | Free Tokens |
STAKING_REWARD | Reward Income |
LP_DEPOSIT | Liquidity Added |
LP_WITHDRAW | Liquidity Removed |
NFT_BUY | NFT Purchase |
NFT_SELL | NFT Sale |
BRIDGE | Cross-chain Transfer |
BORROW | Loan |
REPAY | Loan Repayment |
More than 20 categories supported.
Calculate gains and losses.
Highest In First Out
Example:
Bought:
1 ETH @ $1000
1 ETH @ $3000Sold:
1 ETH @ $3500HIFO chooses:
ETH bought at $3000Taxable Gain:
3500 - 3000 = $500instead of:
3500 - 1000 = $2500Huge tax savings.
Method | Meaning |
|---|---|
FIFO | First In First Out |
LIFO | Last In First Out |
HIFO | Highest Cost First |
ACB | Average Cost |
SpecID | Specific Identification |
Find tax-loss harvesting opportunities.
Portfolio:
SOL Loss = -$5000
ARB Loss = -$2000Potential Reduction:
Taxable Income - $7000The agent calculates:
Estimated savings
Wash sale risk
Priority score
Checks:
Sold Asset
↓
Bought again within 30 days?If yes:
Generate tax documents.
Capital Asset Sales
Capital Gains & Losses
Additional Income
Creates:
Then stores hash on blockchain.
This creates:
Nobody can modify reports later.
Execute tax-saving actions.
Delegated Transactions
Gasless transaction execution.
User Permission
│
▼
Agent Builds Transaction
│
▼
1Shot Relayer
│
▼
Blockchain ExecutionUser doesn't need ETH.
Gas is sponsored.
Venice AI acts as the project's intelligence engine.
Traditional AI:
May store data.
Venice:
Trusted Execution Environment.
Data remains protected.
Classification of thousands of transactions becomes cheaper.
Returns JSON directly:
{
"category":"SWAP",
"confidence":0.95
}Perfect for automation.
TaxFi uses a two-layer security model.
User grants permission.
Example:
Spend up to $100 USDC/dayTaxFi cannot exceed this.
✅ Revocable
✅ Limited
✅ Time Expiry
✅ Chain Specific
TaxFi creates a delegated transaction.
Relayer executes it.
✅ Gasless
✅ Secure
✅ Replay Protected
TaxFi has four major contracts.
Stores permissions.
User
└─ Grants
└─ PermissionTracks:
Who granted
Who received
Expiration
Amount limits
✅ Revocation
✅ Spending Limits
✅ Chain Restrictions
✅ Target Restrictions
Executes harvesting operations.
Rate Limiting
Authorized Executors
Emergency Pause
Replay Protection
Max Daily Harvest
=
$10,000Cannot exceed limit.
Processes harvested assets.
Token
↓
Swap
↓
USDC
↓
Fee Deduction
↓
UserHarvest Savings:
$1000TaxFi Fee:
5%TaxFi earns:
$50User keeps:
$950Store proof of tax reports.
IRS Form
│
Hash PDF
│
Store Hash OnchainLater:
Built using:
Next.js 15
React 18
TypeScript
TailwindCSS
Marketing page.
Contains:
Hero Section
Features
Pricing
Security
FAQ
Displays:
Opportunities
Tax Savings
Portfolio Stats
Live Updates
Shows:
Holdings
Gains
Losses
Open Lots
Shows:
Tax-loss opportunities
Potential savings
Execute Harvest button
Shows:
Generated IRS Forms
Tax Summary
On-chain verification
Shows:
Wallet permissions
Daily spending caps
Smart Account approvals
Built using:
FastAPI
Python 3.11
SQLite/PostgreSQL
Stores:
Users
Opportunities
Ledgers
Forms
Harvest History
Uses:
Tracks:
Errors
Latency
Requests
Agent Performance
Connect MetaMask Wallet
↓
Grant ERC-7715 Permission
↓
Run Tax Scan
↓
Ingest Agent Collects Transactions
↓
Venice AI Classifies Transactions
↓
Cost Basis Agent Calculates Gains
↓
Loss Detector Finds Opportunities
↓
Dashboard Displays Savings
↓
User Approves Harvest
↓
Executor Agent Uses 1Shot
↓
Gasless Transaction Executes
↓
IRS Reports Generated
↓
Report Hash Stored Onchain
Traditional Platforms:
$100-$500/yearEven if they save nothing.
Savings Generated
│
▼
Take 5%Example:
User Saves $2000
TaxFi Earns $100If savings = $0
TaxFi earns $0This aligns incentives with users.
Not just a calculator.
Actually reasons about transactions.
Users never hand over wallet control.
Powered by ERC-7710 + 1Shot.
Uses Venice AI TEEs.
Very few tax platforms provide immutable proof of filings.
Users only pay when they save money.
TaxFi is an AI-powered, non-custodial crypto tax co-pilot that automatically analyzes multi-chain transactions, discovers tax-saving opportunities, executes gasless tax-loss harvesting through smart-account permissions, and generates IRS-ready reports with on-chain auditability.
During the hackathon, we successfully designed and developed the core architecture of TaxFi, an AI-powered crypto tax automation platform. We implemented a multi-agent pipeline capable of ingesting blockchain transactions, classifying them using Venice AI, calculating cost basis, identifying tax-loss harvesting opportunities, and generating tax reports. We integrated MetaMask Smart Accounts, ERC-7715 permissions, and 1Shot gasless transactions to enable secure and non-custodial execution. Additionally, we built smart contracts for permission management, harvesting, and tax report attestation, while developing a modern Next.js frontend and FastAPI backend. By the end of the hackathon, we had a working end-to-end prototype demonstrating automated crypto tax analysis, harvesting recommendations, and blockchain-verified tax reporting.
na