Draft the loan offer
A Pearl loan is a pawn-shop loan and this desk is honest about it: the borrower locks collateral C in a Taproot vault, the lender sends principal P to the borrower, and the borrower repays P + interest to reclaim the collateral. Both are PRL, so there is no price oracle and no liquidation math to get wrong — the vault must always be able to pay the lender back, which is why collateral must cover the full repayment plus your chosen ratio. Two script paths move the coins: a 2-of-2 repay leaf (both sign the repayment) and a lender-only default leaf behind a CSV timelock of term + grace blocks. Interest is grain-exact integer math, computed once at origination.
Offer drafted
- Collateral vault
- Fingerprint
- Interest (grain-exact)
- Total repayment
- Minimum collateral
- Term
- Default delay
Repay leaf — <borrower> CHECKSIGVERIFY <lender> CHECKSIG
Default leaf — <term+grace> CSV DROP <lender> CHECKSIG
Full descriptor JSON pearllend:v1 (share with your counterparty)
Restore
Paste a loan descriptor JSON exported earlier. It is re-derived from the keys and refused unless every byte matches.
Lock the collateral
The borrower sends the full collateral to the vault address in their own wallet, then records the lock transaction here. The desk verifies the vault actually holds the collateral before the loan proceeds.
Collateral locked
- Vault
- Locked
- Confirmations
- Lock height
- Maturity height
Fund the loan
The lender sends the principal to the borrower's payout address — a normal PRL payment, made in the lender's own wallet. The desk can build the unsigned payment for you, or you can record a txid you made yourself.
- Send exactly
- To (borrower)
Build the unsigned payment (optional)
Unsigned payment
Sign this hex in your wallet (or with the key below), then broadcast it yourself. This desk never sees your keys unless you paste them.
- Fee
- Change
Record the funding
Funding recorded. The loan is live — track it in step 4.
Track the loan
Read-only. The desk polls Blockbook for the vault UTXO and the chain height, then shows exactly where the loan stands. Nothing here can move coins.
- Chain height
- Vault status
- Blocks to maturity
- Blocks to default
- Interest owed
- Lender coverage
Repay the loan
The borrower proposes the repayment — lender gets exactly principal + interest, the borrower keeps the change — signs it, and hands the proposal to the lender. The lender's copy of this desk re-verifies the borrower's signature against the repayment digest before co-signing; a bad signature refuses assembly, never a half-signed broadcast. Exchange the proposal JSON by any channel you trust.
Repayment proposal
- Lender receives
- Borrower change
- Fee
- Digest
Proposal JSON (send to the lender)
- Borrower signature
Lender: verify & co-sign
Paste the borrower's signed proposal package. The desk re-derives the digest and checks their signature against the borrower key in the descriptor — then, and only then, lets you co-sign.
- Borrower signature
- Lender receives
Repayment ready to broadcast
- Repayment txid
Close the loan
Default claim (lender only)
After term + grace blocks from the lock's confirmation, the lender alone may sweep the vault. The desk checks maturity against Blockbook and refuses early claims unless you tick the override — and then it says so on the record.
- Lender receives
- Fee
- Builder tip
- none
- Claim txid
Mutual close (both agree)
Early repayment, a negotiated haircut, a refinance — any split you both agree on is a valid 2-of-2 spend of the repay leaf. Splits + fee must equal the vault value exactly.
- Fee
- Digest
Standalone verifier
No trust required: paste any loan descriptor and any signed transaction. The desk re-derives the vault, recomputes the digest, and checks every signature.
Honest limits
- No oracle, by design. Principal and collateral are both PRL, so there is no price to feed and no liquidation cascade. If you want cross-asset loans, this desk is not the tool.
- The lender's protection is overcollateralization, not legal recourse. Collateral must cover the full repayment — a borrower who repays reclaims the excess; a borrower who defaults forfeits it.
- CSV maturity is measured from the lock transaction's confirmation height. The default claim is consensus-invalid before term + grace blocks pass; the desk refuses to build it early unless you override explicitly.
- Manual coordination. There is no messaging, no order book, no watchtower. Proposals and descriptors move by whatever channel you and your counterparty trust. The desk verifies, it does not vouch.
- The builder tip is optional and default-claim-only: 1% of the collateral, only when the lender checks the box, paid as its own output to the builder address printed next to the checkbox. Repayments and mutual closes never carry one — their outputs are the two parties' agreed amounts.
- Keys. Nothing is stored: pasted keys live in memory only and are wiped after signing. Prefer signing in your own wallet and pasting only signatures and x-only pubkeys.