Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
joellewis avatar

Digital Assets

  • 399 installs
  • 161 repo stars
  • Updated July 18, 2026
  • joellewis/finance_skills

digital-assets is a finance analysis skill that explains crypto and digital-asset concepts for developers who need to evaluate custody, liquidity, risk, and regulatory considerations before implementing related software

About

digital-assets is a finance analysis skill focused on cryptocurrency and other digital assets, including blockchain mechanics, DeFi protocols, stablecoins, and common on-chain metrics. digital-assets helps a developer reason about practical constraints like custody models, liquidity, and regulatory treatment when digital assets appear in a product requirement, reporting pipeline, or portfolio exposure analysis. digital-assets is typically used at the beginning of a project or policy discussion to clarify terms, risks, and the meaning of metrics that might be referenced in dashboards or data integrations. Developers reach for digital-assets when stakeholders mention blockchain primitives or DeFi behaviors and the engineering team needs a concrete conceptual baseline before designing data models, compliance checks, or integration boundaries.

  • asset-class and custody framing
  • liquidity and counterparty risk
  • regulatory and tax context
  • portfolio allocation guardrails
  • stablecoin versus volatile token tradeoffs

Digital Assets by the numbers

  • 399 all-time installs (skills.sh)
  • +16 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #258 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/joellewis/finance_skills --skill digital-assets

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs399
repo stars161
Last updatedJuly 18, 2026
Repositoryjoellewis/finance_skills

How do you analyze digital asset exposure risks?

Scope analysis of digital-asset exposure—crypto, tokenized securities, stablecoins—including custody, liquidity, regulatory treatment, and portfolio fit before building or reallocating.

Who is it for?

Developers working on finance-adjacent features who need correct digital-asset concepts before implementing integrations or analytics.

Skip if: Developers seeking a ready-to-run code generator or a concrete API client implementation.

When should I use this skill?

Invoke when a developer asks about crypto fundamentals, DeFi mechanics, stablecoins, on-chain metrics, or digital-asset risk concepts.

What you get

A structured analysis of digital-asset concepts, custody and liquidity considerations, regulatory framing, and metric interpretation inputs for planning.

  • analysis notes
  • risk considerations
  • concept definitions

Files

SKILL.mdMarkdownGitHub ↗

Digital Assets

Core Concepts

Blockchain Fundamentals

A distributed ledger maintained by a network of nodes. Transactions are grouped into blocks, cryptographically linked in sequence. Immutability comes from the chain structure — altering any block requires recomputing all subsequent blocks. Consensus mechanisms determine how the network agrees on the valid state of the ledger.

Consensus Mechanisms

Proof of Work (PoW): Miners compete to solve computational puzzles. The winner adds the next block and earns a reward. High energy consumption but battle-tested security (Bitcoin). Security scales with hash rate.

Proof of Stake (PoS): Validators lock up tokens as collateral ("stake"). Block proposers are selected based on stake weight. Slashing penalizes malicious behavior. Far more energy-efficient than PoW. Ethereum transitioned to PoS in September 2022.

Bitcoin

Fixed supply of 21 million coins, enforced by protocol rules. Block reward halves approximately every 4 years (halving cycle), reducing new supply issuance. The block reward is 3.125 BTC following the April 2024 halving (next halving expected ~2028, dropping to 1.5625 BTC). Mining reward = block reward + transaction fees. Scarcity narrative drives the "digital gold" thesis.

Ethereum

The leading smart contract platform. The Ethereum Virtual Machine (EVM) executes arbitrary programs (smart contracts). Gas fees compensate validators for computation. EIP-1559 introduced a base fee that is burned (destroyed), making ETH potentially deflationary when network usage is high. The merge to PoS (Sept 2022) reduced energy usage by ~99.95%.

Staking Yield

For Proof of Stake networks:

Staking Yield = (Rewards + MEV Tips - Validator Costs) / Staked Amount

Rewards come from new token issuance and transaction fees. MEV (Maximal Extractable Value) provides additional income from transaction ordering. Validator costs include hardware, bandwidth, and the risk of slashing. Real yield (after accounting for inflation of token supply) can be significantly lower than nominal yield.

DeFi (Decentralized Finance)

  • Lending protocols (Aave, Compound): Users deposit assets to earn interest; borrowers post collateral to borrow. Interest rates are algorithmically determined by supply/demand (utilization rate).
  • DEXs (Uniswap, Curve): Decentralized exchanges using automated market makers instead of order books. Liquidity providers deposit token pairs and earn trading fees.
  • Yield farming: Deploying capital across DeFi protocols to maximize yield, often involving multiple protocol interactions and leverage.

Automated Market Maker (AMM)

The constant product formula: x * y = k

where x and y are the reserves of two tokens in a liquidity pool. Price is determined by the ratio of reserves. Large trades cause slippage (price impact proportional to trade size relative to pool depth).

Impermanent Loss

The loss that liquidity providers experience relative to simply holding the tokens when prices change:

IL = 2 * sqrt(p_ratio) / (1 + p_ratio) - 1

where p_ratio = new_price / old_price for one token relative to the other. At a 2x price change, IL is approximately 5.7%. At a 5x change, IL is approximately 25.5%. "Impermanent" because the loss reverses if prices return to original levels — but it becomes permanent if the LP withdraws at diverged prices.

On-Chain Metrics

  • NVT Ratio (Network Value to Transactions): Market cap / daily transaction volume (on-chain). Analogous to P/E for equities. Higher NVT suggests overvaluation relative to network usage.
  • Active addresses: Number of unique addresses transacting daily. Proxy for network adoption.
  • Hash rate (PoW): Total computational power securing the network. Higher hash rate = more security.
  • TVL (Total Value Locked): Total value of assets deposited in DeFi protocols. Measure of DeFi ecosystem size.

Stablecoin Types

  • Fiat-backed (USDC, USDT): Each token backed by reserves of fiat currency or equivalents. Centralized issuance and custody.
  • Crypto-backed (DAI): Overcollateralized with cryptocurrency. Decentralized but capital-inefficient.
  • Algorithmic: Maintain peg through minting/burning mechanisms without full collateral backing. Higher risk of de-peg (e.g., UST/Luna collapse in 2022).

Token Valuation

No universally accepted model. Approaches include:

  • NVT ratio (compare to peers and historical range)
  • Fees/revenue analysis (protocol revenue as proxy for earnings)
  • TVL multiples (market cap / TVL)
  • Fully diluted valuation (FDV) vs circulating supply market cap
  • Discounted cash flow on protocol fee revenue (experimental)

Custody

Self-custody: Hardware wallets (Ledger, Trezor) or software wallets. User controls private keys. "Not your keys, not your coins." Risk of loss if keys are lost.

Custodial: Exchanges (Coinbase, Kraken) or qualified custodians hold assets on behalf of users. Convenience but counterparty risk (e.g., FTX collapse).

Regulatory Considerations

Regulatory treatment is evolving. In the US, crypto is generally treated as property for tax purposes — each sale, exchange, or use is a taxable event. Securities classification (Howey test) remains contentious for many tokens. Regulatory clarity is improving but varies significantly by jurisdiction.

Key Formulas

FormulaExpressionUse Case
Staking Yield(Rewards + MEV - Costs) / Staked AmountValidator return
Impermanent Loss2*sqrt(p_ratio)/(1+p_ratio) - 1LP loss from price divergence
AMM PricePrice_x = y/x (for token x in terms of y)DEX pricing
NVT RatioMarket Cap / Daily On-Chain Tx VolumeNetwork valuation metric
Real Staking YieldNominal Yield - Token Inflation RateInflation-adjusted return

Worked Examples

Example 1: Staking Yield on Ethereum

Given: 32 ETH staked (one validator), 4.5% APR nominal yield, ETH price = $3,000 Calculate: Annual rewards in ETH and USD Solution: Annual ETH rewards = 32 ETH × 4.5% = 1.44 ETH Annual USD value = 1.44 ETH × $3,000 = $4,320 Total staked value = 32 × $3,000 = $96,000

If ETH supply inflation is approximately 0.5% per year (net of EIP-1559 burns), the real staking yield is roughly 4.5% - 0.5% = 4.0%. Note that the USD return depends entirely on ETH price changes — a 10% decline in ETH price would far exceed the 4.5% staking yield.

Example 2: Impermanent Loss Calculation

Given: A liquidity provider deposits equal value of ETH and USDC into a Uniswap pool. ETH price doubles from $2,000 to $4,000. Calculate: Impermanent loss Solution: p_ratio = $4,000 / $2,000 = 2.0 IL = 2 × sqrt(2.0) / (1 + 2.0) - 1 IL = 2 × 1.4142 / 3.0 - 1 IL = 2.8284 / 3.0 - 1 IL = 0.9428 - 1 = -0.0572 = -5.72%

The LP's position is worth 5.72% less than if they had simply held the tokens. If the pool earned 8% in trading fees over the period, the net return is 8% - 5.72% = 2.28% — still positive but substantially reduced. If ETH had tripled (p_ratio = 3), IL would be approximately 13.4%, potentially exceeding fee income.

Common Pitfalls

  • Confusing APR with APY — compounding matters significantly at high yield rates (100% APR ≈ 171.8% APY)
  • Impermanent loss can exceed trading fee income — LPs can have negative returns even in active pools if price divergence is large
  • Smart contract risk in DeFi protocols — bugs, exploits, and rug pulls can result in total loss of deposited funds
  • Comparing crypto "yields" to traditional fixed income — very different risk profiles; crypto yields compensate for smart contract risk, impermanent loss, token price volatility, and regulatory uncertainty

Cross-References

  • historical-risk: volatility and risk measurement (crypto exhibits extreme volatility)
  • currencies-and-fx: stablecoin and crypto-fiat exchange dynamics
  • alternatives: crypto as an alternative asset class
  • tax-efficiency: cryptocurrency tax reporting and optimization

Related skills

How it compares

Pick this when you need concept and risk clarification for digital assets rather than a concrete SDK or API integration.

FAQ

What does digital-assets help explain for developers?

digital-assets explains cryptocurrency and digital-asset fundamentals, including blockchain mechanics, DeFi concepts, and stablecoin behaviors. digital-assets is useful when engineering decisions depend on understanding custody, liquidity, and risk constraints that affect integra

When should I use digital-assets in an engineering workflow?

digital-assets should be used before implementing crypto-adjacent features or analytics. digital-assets is most useful when requirements mention staking, DeFi lending, stablecoins, or on-chain valuation metrics and the team needs shared definitions before coding.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.