Skip to content

About

Smart contract for creating restaurant bills and settling item-based USDC payments on Arc.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Arc-de-Split Contract

Live app · App code · Contract address

The smart contract behind Arc-de-Split, a minimal restaurant bill-splitting app on Arc.

What it does

The contract keeps each bill on-chain and settles payments in USDC:

  1. A venue creates a bill and adds its items.
  2. Guests select the items they ordered.
  3. Each guest pays only their share in USDC.
  4. Payments are recorded on-chain and sent to the venue.

Code overview

  • Bill creation - creates a bill for a venue and stores its total.
  • Item management - associates items and prices with a bill.
  • Split calculation - calculates the amount owed for selected items.
  • USDC settlement - transfers each guest’s payment to the venue.
  • Payment tracking - prevents an item from being paid for more than once.

Built on Arc

  • Arc Mainnet · Chain ID 5042
  • Solidity smart contract
  • USDC payments
  • USDC gas fees
  • No backend or database

Used by

Arc-de-Split app - the interface for venues and guests.

Build and test locally

Requires Foundry.

forge build
forge test

License

MIT © 2026 no-hive. See LICENSE.


Frame 91

About

Smart contract for creating restaurant bills and settling item-based USDC payments on Arc.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages