Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ProbeOTC - Over-the-Counter Trading Desk

Smart contract for escrow-based OTC trades on ProbeChain Rydberg Testnet.

Contract: OTCDesk.sol

Large trades with escrow, partial fills, and privacy (no public orderbook, only events).

Features

  • createOrder - Create a sell order with tokens escrowed in the contract
  • fillOrder - Buy tokens from an order (partial or full fills)
  • cancelOrder - Cancel and reclaim unsold tokens
  • Protocol fees - Configurable fee in basis points (default 0.3%)
  • Privacy-preserving - No public orderbook view; discovery via events only

Network

Setup

npm install
cp .env.example .env
# Edit .env with your private key
npm run compile
npm run deploy