# Decentralized Finance

Accounting for decentralized finance protocols and yields

2 posts [View all tags](https://beancount.io/blog/tags) [Back to All Posts](https://beancount.io/blog)

May 14, 2026 13 min read

## [DeFi Yield Farming and Liquidity Pool Taxes: LP Tokens, Staking Rewards, Impermanent Loss, and Schedule D](https://beancount.io/blog/2026/05/14/defi-yield-farming-liquidity-pool-tax-treatment-lp-tokens-staking-rewards-impermanent-loss-wrapped-tokens-cost-basis-schedule-d-guide)

A guide to the U.S. tax treatment of DeFi yield farming for the 2026 filing season — how LP token deposits and redemptions, staking and farming rewards, impermanent loss, wrapped tokens, and the new 1099-DA broker rules map to Form 8949, Schedule D, and Schedule 1.

Mike Thrift

defi-taxes yield-farming liquidity-pools

June 18, 2025 9 min read

## [DeFi Accounting Made Simple: Tracking Yield Farming, Liquidity Pools, and Staking Rewards with Plain-Text Accounting](https://beancount.io/blog/2025/06/18/defi-accounting-made-simple-beancount)

Master DeFi accounting with Beancount.io. Learn to track yield farming, liquidity pools, staking rewards, and complex DeFi transactions for accurate tax reporting and portfolio management.

Mike Thrift

defi decentralized-finance yield-farming

[Start Free→](https://beancount.io/sign-up/?next=%2Fledger%2F) [Documentation](https://beancount.io/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
