AMP Finance

The first lending protocol on Midnight

Lend. Borrow.
Nobody sees who.

The first shielded peer-to-peer lending protocol on Midnight, built on shielded tokens and zero-knowledge proofs. Every offer and every loan sits on a public board, and no wallet address is ever attached to either side.

  • No wallet address ever shown
  • Your rate locked in when you borrow
  • Lend on your own terms
app.ampfinance.io/
AMP Finance interface: Markets

Loans are public, but identities are private.

Every amount, term and outcome is public, and that is on purpose: a market needs a board people can read. What the protocol never records is who. There is no lender field and no borrower field anywhere, because the right to act on a position is a token you hold, not a name on a list.

One loan, two ledgers

Same figures. Flip the switch and watch what changes.

loan #7f3a…c21e {
principal:1,000 sUSDC
collateral:3,000 sNIGHT
interest:up to 5%, flexible
term:14 days
due:2026-10-05 14:02 UTC
lender:Alice Novak, acct 4471-9920
borrower:Ben Okafor, acct 1183-0042
access:a signed-in account
status:repaid on time
}

Both names, permanently on record. A conventional record ties both people to the loan forever. Anyone with the file knows who borrowed, who lent, and how much each is worth.

Your wallet isn't your resume.

Lending on a transparent protocol means publishing your balance sheet. Anyone can read who borrowed, against what, and how close they are to the edge. AMP Finance keeps the loan public and the people private.

Topic
Other ProtocolsTransparent Lending
AMP FinancePeer to peer, on Midnight
Your privacy
Who is behind a loanOther protocols: A wallet address, there for anyone to readAMP Finance: A position with a number, and nothing else
Your historyOther protocols: Every loan you ever took, linked in one placeAMP Finance: Each position stands on its own
Your size and riskOther protocols: Visible to anyone who profits from pushing youAMP Finance: The amount is public. The owner is not
Your strategyOther protocols: Copied the moment it starts workingAMP Finance: No wallet to watch
The loan
Whose money you borrowOther protocols: Usually from a shared poolAMP Finance: One lender's, on their terms
Your termsOther protocols: A rate that moves with the poolAMP Finance: Set by the lender, locked in the moment you borrow

Like a pawnshop, not a bank.

Lenders post offers. A borrower picks one and puts up collateral. The money and the collateral change hands in one transaction, so neither side has to trust the other, and neither ever learns who the other is.

  1. Swap it for a shielded twin, one for one. The only step that touches your public address.

  2. Lenders set the terms. Borrowers pick one. No name or address appears on any of them.

  3. Collateral in, money out, in one transaction. Each side gets a token that is the key to its position.

  4. Repay by the deadline and the collateral comes back. After the grace period, the lender keeps it.

Know the cost before you commit.

Try an example offer from either side. Move the sliders to see what goes in, what comes back, and what happens if a loan runs late. Borrowers pay no protocol fee.

An example offer. Pick a side.

You lend1,000 sUSDC($1,000)
Collateral the borrower locks3,000 sNIGHT($1,500)

Worth 1.50× the amount lent

Time to repayplus 6 hours of grace
Interest rate5% for 30 days

Of the amount lent. About 60.8% a year, for comparison.

How interest is charged

Borrowers can repay whenever they like and pay interest by the hour used. The rate stays the same.

You get back

up to1,040sUSDC

for 1,000 sUSDC lent, if the loan runs the full 30 days.

The amount you lent
1,000 sUSDC
Interest (up to 5% for 30 days)
+ 50 sUSDC
Protocol fee (20% of the interest)
− 10 sUSDC

Other ways it can end

Repaid halfway through
you get 1,020 sUSDC
Half the time, half the interest.
Repaid in the grace period
you get 1,052.5 sUSDC
Up to 6 hours after the deadline. The borrower adds a flat 1.25% of what they borrowed, and it all goes to you.
Not repaid
you take 3,000 sNIGHT
Once the grace period ends, the loan closes and the collateral is yours.

Borrowers can also repay in parts. Each part is settled the moment it is paid, for the hours used up to then, and releases its share of the collateral.

Example settings in test tokens, with sUSDC valued at 1 USD and sNIGHT at 0.5 USD. Each market sets its own fees and terms.

Try it in the beta

The rules live in the contract.

For the curious: this is roughly what happens when a borrower takes an offer, trimmed down from AMP Finance's lending contract. It is written in Compact, the language Midnight contracts are written in.

LendingMarket.compact · borrowsimplified
export circuit borrow(  offerId:    Bytes<32>,  principal:  Uint<64>,  collateral: ShieldedCoinInfo): [] {  const offer = offers.lookup(disclose(offerId));  const loanId = newLoanId();  assert(!offer.paused, "offer paused");  assert(principal >= minBorrowPrincipal, "below minimum");  assert(principal <= escrowValueOf(offerId), "more than available");  assert(blockTime() < offer.expiresAt, "offer expired");  assert(collateral.color == offer.collateralColor, "wrong collateral");  const owed = ceilDiv(principal * offer.ratioCollateral, offer.ratioPrincipal);  assert(collateral.value == owed, "wrong amount");  receiveShielded(collateral);  const escrow = offerPrincipal.lookup(offerId);  sendShielded(escrow, ownPublicKey(), principal);  mintShieldedToken(loanTokenFor(loanId), 1, ownPublicKey());  loans.insert(loanId, Loan {    principal:     principal,    collateral:    collateral.value,    rateBps:       offer.rateBps,    fixedInterest: offer.fixedInterest,    expiry:        blockTime() + offer.termSecs,    status:        ACTIVE    // no lender field, no borrower field  });}

Questions people ask first

Short answers before you request access.

  • AMP Finance is the first privacy-focused peer-to-peer lending protocol on Midnight. Lenders post offers on their own terms, borrowers take them by putting up collateral, and no wallet address is ever attached to either side.

  • On most lending protocols it is: anyone can read who borrowed, against what, and how close they are to the edge. On AMP Finance the loan is still public, so it works as a real market, but the people are not. Your position is a token in your wallet, and holding it is what proves the offer or loan is yours. Your address is never written next to it.

  • Every offer and loan: the amounts, rates, dates and how each one ended. Never who is behind any of them. The one public moment is shielding: the shield step records the address that did it and the amount, before you ever reach a market.

  • A public token names the wallet that spends it, so a loan built on public tokens would expose both sides. AMP Finance only works with shielded tokens. Shielding is one for one with no protocol fee, and you can unshield at any time whatever isn't locked in a loan.

  • In your wallet. Every offer and every loan comes with a token, and that token is the only key to the position. It moves only if you send it, and if you restore your wallet from its seed phrase, every position comes back with it.

  • The lender sets one rate for the whole term and picks how it is charged. With flexible interest the borrower can repay whenever they like and pays by the hour used, so repaying early costs less. With fixed interest the borrower pays the whole term's interest, however early they repay. Some offers also let a borrower extend the deadline, one extension at a time.

  • The borrower has until the deadline, then a short grace period in which they can still repay with a flat late fee. Once that ends, the lender takes the collateral and the loan closes. Nothing sells the collateral early if its price falls, so collateral makes a loan backed, not safe. Lenders choose how much to ask for.

  • Yes, while it is open. A lender can change its collateral, interest and extensions, withdraw whatever has not been lent, or pause the offer so nobody can borrow from it until they resume it. An offer set to re-offer takes repaid money back for the next borrower, the principal alone or with its interest, until the lender closes it. A loan already taken never changes: it keeps the terms it was borrowed on.

  • AMP Finance opens first as a beta on Midnight Preview, a test network where every token is free and worth nothing. Request access at the bottom of this page. Each transaction pays a small Midnight network fee. Lenders also pay a protocol fee out of their interest; borrowers pay no protocol fee.

Get in before the doors open.

The beta runs on Midnight's preview network, with free test tokens to lend and borrow against. Leave your X handle and email, and we'll send an invite when a spot opens up.

  • Free test tokens, worth nothing
  • Works with the 1AM wallet
  • Your details are only used to invite you