Skip to main content
The App Kit SDK includes the Borrow capability, which lets your users borrow USDC against cirBTC collateral without you integrating with a lending protocol yourself. Your users post cirBTC, borrow USDC, and repay to reclaim their collateral.

How it works

A user supplies cirBTC as collateral and receives USDC in return, all in a single atomic transaction on Arc. If you subscribe to webhooks, the SDK posts events when a loan’s health changes, so you can prompt the user to act before liquidation. For how loan health is measured and when a position becomes liquidatable, see How loan health works.

Quick look

This code snippet opens a loan by borrowing 1,000 USDC against cirBTC on Arc Testnet:
TypeScript
For a complete end-to-end flow, follow the Originate a loan quickstart.

Installation

Install the App Kit SDK to use Borrow. If you only need to borrow and don’t want to install the full App Kit SDK, install the standalone Borrow Kit for your preferred adapter:
Borrow writes require an adapter with atomic-batch support. Use Viem or Circle Wallets.