Glossary

On-Chain Credit Score

An on-chain credit score derives a creditworthiness metric from blockchain transaction history, enabling reputation-based DeFi lending.

Key Takeaways

  • An on-chain credit score analyzes a wallet's blockchain transaction history to produce a creditworthiness rating, similar to how traditional credit bureaus score consumers using payment history and outstanding debts.
  • These scores could unlock undercollateralized lending in DeFi, where borrowers currently must deposit 120–150% or more in collateral because protocols have no way to assess repayment risk.
  • Pseudonymous blockchain addresses remain the core challenge: a borrower can abandon a wallet with a poor score and start fresh, making solutions like soulbound tokens and decentralized identity critical for making scores persistent.

What Is an On-Chain Credit Score?

An on-chain credit score is a numerical rating derived from a wallet's publicly visible blockchain activity. It measures creditworthiness by examining how an address has interacted with lending protocols, managed collateral positions, handled liquidations, and conducted transactions over time. The goal is to bring something analogous to a FICO score into decentralized finance, where borrowers and lenders transact without intermediaries.

In traditional finance, credit bureaus like Equifax, Experian, and TransUnion aggregate data from banks, credit card issuers, and other lenders to produce a three-digit score. This score determines whether someone can get a mortgage, the interest rate on a car loan, or the credit limit on a card. DeFi has no equivalent: lending protocols like Aave and Compound treat every wallet identically, requiring the same overcollateralization regardless of whether a borrower has a flawless repayment record or just created their wallet five minutes ago.

On-chain credit scores aim to fill this gap by analyzing the transparent, immutable history that blockchains provide. Because every transaction is publicly recorded, scoring models can evaluate behavior without relying on self-reported data or centralized databases. For a deeper analysis of how these systems fit into the broader DeFi lending landscape, see the on-chain credit scoring and reputation systems research article.

How It Works

On-chain credit scoring models ingest raw blockchain data and extract behavioral signals that correlate with creditworthiness. While implementations vary, most systems evaluate a common set of factors:

Scoring Factors

  • Repayment history: whether the wallet has consistently repaid loans on lending protocols like Aave, Compound, or Morpho, and how promptly those repayments occurred
  • Liquidation history: whether the wallet has been liquidated, how often, and under what market conditions. A wallet that has never been liquidated despite holding positions through volatile periods signals strong risk management
  • Collateral behavior: the typical loan-to-value ratio maintained, whether the borrower adds collateral proactively during downturns, and how close positions come to liquidation thresholds
  • Account age and consistency: how long the wallet has been active and whether it shows sustained, regular usage rather than sporadic bursts
  • Transaction volume and diversity: total value transacted, the number of distinct protocols used, and the variety of asset types held or traded
  • Protocol interactions: participation in governance, staking, liquidity provision, and other activities that suggest long-term commitment to the ecosystem

Scoring Models

These raw signals feed into machine learning models that produce a final score. Spectral Finance, one of the most notable projects in this space, processes over 100 features through its MACRO (Multi-Asset Credit Risk Oracle) model to produce a score ranging from 300 to 850, deliberately mirroring the FICO range. The model groups inputs into categories: payment history, liquidation history, amounts owed and repaid, credit mix, and length of credit history.

A simplified representation of the scoring pipeline:

// Conceptual on-chain credit scoring pipeline
interface WalletSignals {
  repaymentRate: number;       // 0.0 - 1.0, fraction of loans repaid
  liquidationCount: number;    // total liquidation events
  avgHealthFactor: number;     // average collateral health across positions
  walletAgeDays: number;       // days since first transaction
  protocolCount: number;       // distinct DeFi protocols used
  totalVolumeUsd: number;      // lifetime transaction volume
}

// Each factor is weighted and normalized
// Weights vary by model; repayment history is typically the heaviest
function computeScore(signals: WalletSignals): number {
  const weights = {
    repayment: 0.35,
    liquidation: 0.20,
    collateral: 0.15,
    age: 0.10,
    diversity: 0.10,
    volume: 0.10,
  };
  // ML model returns score in 300-850 range
  return model.predict(signals, weights);
}

The OCCR (On-Chain Credit Risk) score, proposed by Chainrisk researchers in late 2024, takes a probabilistic approach: rather than outputting a single number, it estimates the probability that a wallet will face liquidation or default within a given time window. Lending protocols could use this probability to dynamically adjust loan-to-value ratios and liquidation thresholds on a per-wallet basis.

Delivery Mechanisms

Scores must be accessible on-chain for smart contracts to consume them. Common delivery approaches include:

  • Oracle-based delivery: a scoring engine computes the score off-chain and publishes it on-chain via an oracle network, similar to how price feeds work
  • Soulbound tokens: the score is encoded in a non-transferable soulbound token bound to the wallet, creating a persistent, verifiable credential
  • API-based queries: lending protocols query a scoring API during the loan origination process and enforce terms in their smart contracts based on the response

Key Projects

Several projects have built or are building on-chain credit scoring infrastructure:

  • Spectral Finance: produces the MACRO score (300–850) using machine learning on wallet history across DeFi protocols. Backed by General Catalyst, Social Capital, and Samsung Next in a $23 million Series B round. Has generated over 50,000 scores
  • Cred Protocol: provides real-time credit risk scores across nine blockchains and over 30 lending protocols including Aave, Compound, and Morpho. Originally built on ML models trained against Aave liquidation data
  • ARCx: launched the DeFi Passport in 2021, a soulbound-style credential with a 0–1,000 credit score derived from Ethereum address activity. Wallets with strong scores could access lower-collateral loans
  • Chainrisk (OCCR): published an academic proposal in December 2024 for a probabilistic credit risk score that lending protocols could use for per-wallet risk parameters

Use Cases

Reduced-Collateral Lending

The primary use case is enabling DeFi lending with lower collateral requirements. Today, a borrower on Aave must deposit $150 worth of ETH to borrow $100 worth of USDC, regardless of their track record. With on-chain credit scores, a protocol could offer better terms to wallets with strong repayment histories: perhaps 110% collateral instead of 150%, or access to higher loan amounts relative to deposited collateral.

This directly improves capital efficiency and makes DeFi lending competitive with traditional finance for more borrower profiles. For more on how undercollateralized models work, see the undercollateralized lending glossary entry.

Protocol Risk Management

Lending protocols can use credit scores defensively: adjusting liquidation thresholds, interest rates, or borrowing limits based on individual wallet risk profiles rather than applying the same parameters to all borrowers. This is analogous to how traditional banks offer different mortgage rates to borrowers with different credit scores.

Institutional DeFi Access

Institutional borrowers with established on-chain track records could use credit scores to access permissioned DeFi pools with terms closer to traditional credit markets. Platforms like Maple Finance and TrueFi pioneered this model for institutional borrowers, though some faced significant defaults during the 2022 market downturn.

Reputation Portability

A wallet's credit score could function as portable reputation across protocols. Rather than rebuilding trust on each new platform, a borrower could carry their score from one lending protocol to another, or even across chains. This requires interoperable scoring standards and decentralized identity infrastructure.

Risks and Considerations

Pseudonymity and Sybil Attacks

The most fundamental challenge for on-chain credit scores is that blockchain addresses are pseudonymous. A borrower who defaults or accumulates a poor score can simply generate a new wallet and start over with a clean slate. This inverts the traditional credit system, where a Social Security number or national ID ties all credit history to a single, persistent identity.

Soulbound tokens and decentralized identity protocols attempt to solve this by binding credit records to a verifiable, non-transferable credential. However, this creates tension with the privacy-preserving values of crypto: if a score is permanently linked to an identity, it also becomes a tool for surveillance and discrimination.

Limited Data Depth

Traditional credit bureaus draw on decades of financial history across employment, housing, utilities, and multiple credit products. On-chain data is comparatively thin: it covers only DeFi interactions and token transfers. A wallet that has never used a lending protocol has no on-chain credit signal, even if the person behind it has perfect traditional credit. This creates a cold-start problem for new DeFi users.

Gaming and Manipulation

Knowing the factors that influence a credit score enables gaming. A user could take small, low-risk loans and repay them promptly to inflate their score, then take a large undercollateralized loan and default. This mirrors "bust-out" fraud in traditional credit but is potentially easier to execute in pseudonymous systems where the cost of creating a new identity is near zero.

Privacy Concerns

Computing a credit score requires analyzing a wallet's complete transaction history. If scoring providers link multiple wallets to the same entity through chain analysis or clustering techniques, this could reveal financial behavior patterns that users intended to keep separate. Zero-knowledge proof techniques may allow scores to be verified without revealing the underlying data, but these systems are still in early development.

Historical Precedent

The 2022 crypto credit crisis demonstrated the risks of on-chain lending based on reputation. Maple Finance, which used institutional reputation rather than automated scoring, saw borrowers like Orthogonal Trading default on $36 million in loans. This underscores that on-chain credit scores, however sophisticated, do not eliminate credit risk: they quantify it, and the models can be wrong.

On-Chain Scores vs. Traditional Credit Scores

DimensionTraditional (FICO)On-Chain
Data sourcesBanks, credit cards, utilities, public recordsBlockchain transactions, DeFi protocol interactions
Identity bindingSSN or national ID (persistent)Wallet address (disposable without identity layer)
Score range300–850Varies: 300–850 (Spectral), 0–1,000 (ARCx), probabilistic (OCCR)
Update frequencyMonthlyReal-time or near-real-time
TransparencyOpaque models, regulated disclosureVaries: some open-source, some proprietary
PortabilityBureau-specific, region-lockedPotentially cross-chain and cross-protocol
Cold-start problemNew immigrants, young adultsNew wallets, users without DeFi history

Why It Matters

On-chain credit scores represent a potential inflection point for DeFi. If the identity and gaming challenges can be solved, reduced-collateral lending could unlock significantly more capital efficiency and bring DeFi closer to competing with traditional financial markets for both retail and institutional borrowers. The technology sits at the intersection of decentralized identity, reputation systems, and lending protocol design.

For platforms building on Bitcoin and stablecoin infrastructure, credit scoring becomes especially relevant as stablecoin-backed lending grows. The ability to assess borrower risk on-chain could enable Bitcoin-collateralized lending with more competitive terms, bringing the efficiency gains of reputation-based credit to a broader set of financial products.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.