Skip to content

[Enhancement] BTC Yield Pool Docs: No-IL Examples via Curve Invariant #200

@DipanshuA

Description

@DipanshuA

Is your feature request related to a problem? Please describe.
Curve's stable-focused AMMs are gold-standard, but BTC DeFi lags due to volatility and IL risks. Emerging protocols like YieldBasis (BTC-native yield on Curve-like invariants) need tailored guidance—current docs assume low-vol assets, leaving BTC builders to hack forks with suboptimal math.

Describe the solution you'd like
Expand docs/ or add a new examples/btc-yield.md with:

  • Pseudocode for adapting Curve's A/D invariants to BTC/ETH pools (e.g., dynamic gamma for vol spikes).
  • Vyper snippet for a no-IL yield farm wrapper.
  • YieldBasis-inspired case study: Simulate 5–10% APY on BTC liquidity without principal erosion.
    Target: 1–2 pages, with Jupyter notebook link for testing.

Describe alternatives you've considered

  • Community gists (e.g., unofficial BTC sims), but they're unvetted and diverge from Curve's audited core.
  • General AMM resources (Uniswap docs), which ignore Curve's efficiency for stables/vol assets.
    Official examples would standardize BTC integrations faster.

Additional context
Inspired by YieldBasis pre-sale (Legion.cc)—I've prototyped a sim in my repo: github.com/[yourusername]/yieldbasis-btc-tools. Open to PR this myself! References: Curve whitepaper §3.2, YieldBasis overview. #DeFi #BTC #YieldFarming

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions