bg

Real World Trade Protocol

A peer-to-peer protocol for buying and selling off-chain goods on Ethereum.

Program the economy

Sell to anyone with a few lines of code.

Easily become purchasable by DAOs.

import { ethers } from 'ethers';
import { OrderBook } from 'rwtp';

// Connect to Ethereum
const provider = new ethers
  .providers.Web3Provider(window.ethereum);
const book = new ethers
  .Contract(OrderBook.address, OrderBook.abi, provider);

// Create a sell order
book.createOrder(
    provider.address, 
    usdcAddress,
    100 // 100 USDC staked
);