"I'm not pledging native BTC to anything I can't walk away from."
Borrow against
gold, BTC,
anything.
Veil is the first lending protocol on Solana where you can borrow against native Bitcoin, physical gold, or any on-chain asset — with an optional privacy layer. No bridges, no wrapping.
- FHEhealth rebasenow
- PYTHBTC $63,4101s
- RATEkink tick 6.2%5s
- dWALLET2-of-3 co-sign9s
Solana is the best venue for onchain capital — until you ask why billions still sit still.
Every position, balance, and liquidation price is published to the world, and any non-Solana asset — including BTC, ETH, and physical gold — has to trust a bridge or custodian to get on-chain. That's a non-starter for funds, market makers, and institutions. Veil closes both gaps with a single protocol.
The collateral is on the wrong chain.
The world's BTC, ETH, and physical gold can't be pledged on Solana without a bridge or a custodian. Bridges introduce custody risk and trusted third-parties — so institutions keep trillions in capital idle instead of pledging it.
Your position is a spreadsheet for your competition.
Collateral ratio, liquidation price, strategy — all visible to anyone with an RPC call. That's why a meaningful share of sophisticated capital still stays off-chain.
{
collateral_btc: 1.8421,
debt_usdc: 84,203,
health_factor: 1.184,
liq_price_btc: 46,218,
owner: GJf…Nq
}Veil closes both at once — native BTC/ETH via Ika dWallet, physical gold via Oro/GRAIL, encrypted state via Encrypt FHE, all coordinated by a Pinocchio program on Solana.
See how the protocol worksFive moves, one protocol.
Solana coordinates capital from every chain — native BTC, native ETH, and physical gold. Privacy is a toggle, not an L2 detour.
- 01Pledge collateral
Lock BTC, ETH, or physical gold — on its own chain.
BTC and ETH stay in an Ika dWallet, jointly controlled by you and Ika's MPC network — no bridge, no custodian. Physical gold is pledged via Oro's GRAIL platform, which handles custody and compliance so you don't have to.
Native BTCNative ETHPhysical Gold via OroMPC 2-of-3 - 02Coordinate on Solana
A Pinocchio program tracks collateral, debt and rates.
Zero-dep, zero-copy. The lending program enforces pool invariants, a kink-curve interest rate, and a health factor engine with compute units that scale with liquidation load.
PinocchioKink IRMPool invariantsPyth oracle - 03Borrow in private
Flip the privacy toggle. Balances become ciphertext.
Encrypt's REFHE stores amounts and debt as ciphertext on-chain. Health factor and solvency are computed over encrypted data — observers see nothing, the protocol verifies everything.
FHE / REFHEEncrypted balancesEncrypted HFPublic invariants - 04Flash loans
Borrow without collateral — atomically, in one transaction.
Take any amount from the pool with no collateral required. Return it with a 0.09 % fee in the same transaction or it reverts. Useful for arbitrage, on-chain liquidation bots, and collateral swaps. 90 % of fees go to LPs.
No collateralAtomic repayment0.09 % fee90 % to LPs - 05Liquidate cross-chain
When health breaks, the dWallet signs settlement natively.
An unhealthy position triggers an on-chain instruction that asks the dWallet's MPC network to co-sign a transaction on the asset's native chain. No wrapped IOU, no bridge round-trip.
Cross-chain settlementMPC co-signOn-native liquidationNo wrapped IOU
Solana becomes the coordination layer for capital from every chain.
Native collateral stays on its origin chain. Physical gold stays in Oro custody. The Solana program governs all invariants, and Encrypt's FHE layer keeps every amount as ciphertext.
- Solvency enforced onchain
- Utilization < cap
- Rate curve monotonic
- Liquidation atomic w/ dWallet
- Gold custody verified by Oro
One toggle. Every number becomes ciphertext.
With Encrypt's REFHE scheme, your collateral, debt and health factor are stored on-chain as ciphertext. The lending program proves solvency without ever decrypting — observers see bytes, not dollars.
- No visible collateral ratio — no liquidation targeting
- No visible borrow amount — no strategy leakage
- No visible liq price — no front-running your unwind
- Invariants like health ≥ 1 still hold, verifiably
Built on Pinocchio. Lower CU, deeper headroom.
The core lending program — pool, kink IRM, health engine, liquidations — is written from scratch on Pinocchio, Solana's zero-dependency, zero-copy framework. That leaves compute units for the things that actually matter at scale: repeated health checks and liquidations under load.
pub fn health_factor(
c_ct: &Ct, d_ct: &Ct, px: &Price,
) -> FheBool {
// compute over ciphertext
let c_usd = fhe_mul(c_ct, px.collat);
let d_usd = fhe_mul(d_ct, px.debt);
fhe_ge(c_usd, fhe_mul(d_usd, LLTV))
}- borrow38,400 CU→12,100 CU
- repay29,800 CU→9,400 CU
- health_check14,200 CU→3,900 CU
- liquidate51,200 CU→17,400 CU
Indicative figures for planning. Final numbers pending mainnet benchmark.
Built for capital that can't be seen moving.
Portfolio managers, market makers, DAO treasuries, and gold holders each get the same primitives — native collateral, encrypted state, cross-chain settlement — with different use cases.
"Visible inventory is a subsidy I'm paying my competitors."
"We need yield without forcing the DAO to vote on a bridge."
"My gold has sat in custody for a decade earning nothing. That has to change."
Built on primitives designed to upgrade in place.
Veil works today as a full lending protocol, and upgrades without migration as Ika and Encrypt reach mainnet. Oro/GRAIL makes physical gold live from day one.
Sub-second finality, global liquidity, the only L1 with the throughput profile Veil's compute model is designed for.
Veil's lending core is built from scratch on Pinocchio — fewer deps, lower CU, more headroom for encrypted health checks at scale.
Programmable dWallets govern native BTC / ETH. Solana logic requests a co-signed settlement — no bridge, no wrap.
Oro's GRAIL platform handles gold custody, regulatory compliance, KYC, and on-chain settlement — so users can pledge physical gold as DeFi collateral for the first time.
Balances and debt stored as ciphertext; health factor computed homomorphically. Invariants are provable without decryption.
Sub-second, first-party prices for BTC, ETH, XAU, and quote assets. Fuels the kink rate curve and liquidation thresholds.
Utilization-driven rate curve with a kink — cheap under the target, sharply punitive above it to protect lenders.
Borrow any amount, execute your strategy, repay in one transaction. Atomic enforcement at the program level — no collateral, no credit risk. 0.09 % fee split 90 / 10 between LPs and protocol.
Private is only useful if solvent.
Veil treats privacy and solvency as a joint property. Ciphertext hides amounts; the program proves the pool is always backed.
- Core protocol design frozen
- Architecture + invariants documented
- Pinocchio implementation underway
- FHE layer implemented — EncryptedPosition, 5 private instructions, graph definitions
- Ika integration scaffolded; Encrypt CPI activates when SDK reaches pinocchio 0.11
- Not audited — experimental; do not deploy mainnet capital without review.
Your BTC / ETH stay in an Ika dWallet — jointly signed by you and the MPC network. No protocol admin key ever holds your collateral.
The protocol still enforces solvency, health factor and utilization caps over ciphertext. Privacy never weakens public guarantees.
Pyth feeds drive the kink curve and liquidation thresholds. Rate limits and circuit-breakers protect against stale or anomalous prints.
Liquidation is a single Solana ix that dispatches a dWallet signature on the origin chain. Either the native transfer settles or the debt remains.
The honest questions.
How does physical gold work as collateral?
What are flash loans and how do they work on Veil?
How does Veil hold native BTC without bridging?
What does "encrypted position" actually mean?
If positions are encrypted, how does liquidation work?
Is privacy optional?
Why Pinocchio instead of Anchor?
Is the protocol live on mainnet?
Be on-chain. Stay off-stage.
Pledge native BTC, physical gold, or any on-chain asset. Borrow in private. Keep every balance encrypted. Solana coordinates — your capital stays where it belongs.