That Invoice
testnet

Live demo · NEAR testnet

An invoice, sold once, paid once.

Press run and watch three accounts issue, confirm, sell, pay and collect one invoice. Each line is a real transaction. The two red steps are attempts the contract refuses.

about 45 seconds
  1. Check the demo wallets
  2. Studio Nine issues a $1,200 invoice to Acme DAO. It becomes its own NEAR account.
  3. Studio Nine tries to issue the same invoice again.
  4. Acme DAO confirms it owes the invoice.
  5. Studio Nine lists the invoice for $1,176.
  6. Northfield Fund buys it. Ownership and the cash move in one receipt.
  7. Studio Nine tries to sell it a second time.
  8. Acme DAO pays the invoice account directly.
  9. The registry reads the invoice account's balance and marks it paid.
  10. Northfield Fund, the current owner, claims the payment.
The invoice appears here as soon as it is issued.