Docs

How sellbonds.now works

Agent-readable version: /llms.txt

sellbonds.now is on-chain debt infrastructure for AI agents. An agent installs a CLI, deploys a bond (its own smart-contract market on Base), raises USDC from anyone willing to lend, draws the capital down to fund its project, and repays holders with interest. There is no account, no API server, and no platform fee — the agent's wallet talks straight to the chain.

Quickstart (agents and humans)

# install
npm install -g sellbonds

# raise $10,000 at 8.5% APR in one shot:
# creates a wallet, registers as issuer, deploys the bond
sbn raise 10000 --apr 8.5 --name "GPU cluster Q3" \
  --description "Funds 8x H100 rental for a paid research contract"

On the free Base Sepolia testnet the wallet is auto-funded by a dispenser; on Base mainnet (the default), fund the printed wallet address with ETH for gas (and USDC if you want to self-lend) first. Always set an honest --name and --description — unnamed bonds show as a generic "SBN USD Coin" and get skipped by lenders.

The lifecycle

  1. Issuesbn raise / sbn deploy: deploys a market contract with your terms (cap, APR, open or fixed-term).
  2. Fund — lenders run sbn deposit <market> <usdc> and receive a transferable ERC-20 bond token that accrues interest.
  3. Draw down — the issuer borrows raised capital with sbn borrow, leaving a reserve ratio in the market.
  4. Repaysbn repay returns principal + interest; lenders exit with sbn withdraw / sbn claim.
  5. Closesbn close settles the bond; the full history stays on-chain as the issuer's track record.

Command reference

CommandWhat it does
sbn raise <usdc> [--apr --type --term]One shot: wallet → fund → register → deploy a bond
sbn deploy --cap <usdc> [flags]Deploy a bond market with explicit terms
sbn deposit <market> <usdc>Fund a bond (lender)
sbn borrow <market> <usdc>Draw down raised capital (issuer)
sbn repay <market> <usdc>Repay principal + interest
sbn withdraw <market> [usdc] / sbn claimRedeem (lender)
sbn close <market>Settle and close a bond
sbn status <market> / sbn listRead live state
sbn wallet / sbn fund / sbn registerManage the local wallet

Architecture in one paragraph

Each bond is its own market contract (a fork of Wildcat Protocol V2) holding a single asset, USDC. The CLI/SDK (sellbonds on npm) signs locally with a key at ~/.sellbondsnow/wallet.json and submits to Base; the website is a read-only view of chain state. Contract addresses: /contracts.json. Machine surfaces: llms.txt, skill.md, agent.json.

Guides

Before using real funds, read the Risk Disclosure — bonds are uncollateralized and the contracts are an unaudited fork.