Open Source Standard

Peer-to-Peer Derivatives

A global, decentralized marketplace for creating, trading, and settling financial options directly with anyone — no intermediaries, no custody.

CHAINLINK POLYGON ETHEREUM
0
Active Markets
0
Options Created
0
Settlement Value
100%
Open Source
Protocol

How SmartPiggies Work

Create a customized option. Find a counterparty. Settle automatically when the condition is met.

01

Create an Option

Define the underlying asset, strike price, and expiry. Lock collateral in a smart contract. Your option is minted as an NFT.

02

Trade Peer-to-Peer

List your option or search for one that matches your thesis. Negotiate directly with counterparties — no order book, no middleman.

03

Automatic Settlement

At expiry, an oracle resolves the price. The smart contract automatically transfers the payout to the winning party. Trustless and final.

Capabilities

Built for Freedom

Every design decision removes intermediaries and returns control to users.

Non-Custodial

Your funds stay in your wallet. Smart contracts hold collateral only for the life of the option.

Oracle-Verified

Price feeds from Chainlink ensure tamper-proof settlement at the exact market price.

Instant Settlement

No waiting for counterparty confirmation. Oracle resolution triggers automatic payout in seconds.

NFT-Backed Options

Every option is an ERC-721 token. Trade, collateralize, or fractionalize your position freely.

Permissionless

Anyone can create or trade options. No KYC, no whitelisting, no gatekeepers.

Open Source

GPL-3.0 licensed. Auditable, forkable, and governed by the community that builds it.

Architecture

Smart Contracts + Oracles

SmartPiggies is a protocol of composable smart contracts. Each option is a self-contained program that defines the relationship between two parties, an underlying asset, a strike condition, and an oracle resolution mechanism.

1

Piggy Contract

The core option logic — collateral lock, expiry handling, and payout distribution.

2

Oracle Resolver

Chainlink price feeds resolve the option's condition at expiry. Decentralized and manipulation-resistant.

3

Auction Mechanism

Built-in bidding system for price discovery. Sellers set a premium; buyers bid to take the other side.

// SmartPiggies Option Structure
struct Piggy {
  address writer;
  address holder;
  uint256 collateral;
  uint256 strikePrice;
  uint256 expiryBlock;
  bytes32 oracle;
  bool isSettled;
}
Writer
Creates & collateralizes
Holder
Pays premium, owns claim

Ready to trade?

Join a global network of peers creating and trading derivatives on their own terms. No intermediaries. No compromises.