@dtax/tax-engine
A zero-dependency TypeScript library for parsing exchange CSVs and computing capital gains using any cost-basis method.
dTax is an open-core crypto tax platform. The core calculation engine is AGPL-3.0 licensed and available as an npm package — so you can integrate professional-grade crypto tax calculations into your own applications.
@dtax/tax-engine
A zero-dependency TypeScript library for parsing exchange CSVs and computing capital gains using any cost-basis method.
REST API
A managed API for importing transactions, running tax calculations, and generating Form 8949 / TXF reports — no infrastructure required.
23 Exchange Parsers
Built-in parsers for Coinbase, Binance, Kraken, Gemini, Etherscan, Solscan, OKX, Bybit, and 15 more.
8 Cost-Basis Methods
FIFO, LIFO, HIFO, Specific ID, Germany FIFO, PMPA, Total Average, UK Share Pooling.
| Layer | License | Access |
|---|---|---|
@dtax/tax-engine | AGPL-3.0 | Public on GitHub + npm |
| REST API | Commercial | getdtax.com |
| Web App | Commercial | getdtax.com |
If you use the tax engine in a commercial product, you must open-source your changes (AGPL-3.0) or contact us for a commercial license.