submit: 2056103185629581312#12
Open
Tasfia-17 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TaxBot
Participant ID:
2056103185629581312Track: Builder (Developer)
Repo: https://github.com/Tasfia-17/Taxbot
Demo: https://taxbot-swyj.vercel.app
Hackathon: Build X-Agent x OKX, May 2026
What it does
TaxBot is an autonomous AI agent that connects to your OKX wallet via read-only API, fetches your complete transaction history, and auto-generates IRS-ready tax forms while you sleep.
OKX Skills Used
How to Run
bash
CLI (demo mode, no API key needed)
npm install
node src/cli.js generate --demo
Web dashboard
cd web && npm install && npm run dev
Visit http://localhost:3000
Architecture
OKX API v5 (read-only)
|
fetcher.js - pulls all transaction history
|
classifier.js - tags each TX: CAPITAL_GAIN | ORDINARY_INCOME | TRANSFER |
NON_TAXABLE
|
cost-basis.js - FIFO/LIFO/HIFO lot engine, auto-selects optimal method
|
harvester.js - scans live balances for tax-loss opportunities
|
pdf-generator.js - builds Form 8949, Schedule D, Schedule 1
|
audit-trail.js - SHA-256 hash published to X Layer (Chain ID 196)
Stack