Files
modules/applications-economy/hyper-p2p-auction-gossip
2026-05-21 00:07:44 -04:00
..
2026-05-20 23:36:32 -04:00
2026-05-20 22:56:32 -04:00
2026-05-20 22:56:32 -04:00
2026-05-21 00:07:44 -04:00
2026-05-20 22:56:32 -04:00
2026-05-20 21:57:50 -04:00
2026-05-20 21:57:50 -04:00
2026-05-20 23:36:32 -04:00

hyper-p2p-auction-gossip

Distributed auction room over Hyperswarm gossip: open auctions, place bids, close with winner.

Category: Applications (economy)

Composes with: hyper-p2p-decentralized-oracle, hyper-p2p-credit-ledger

Protocol: auction-gossip/v1

When to use

P2P marketplaces that need bid visibility across peers on a shared topic.

When not to use

Centralized auction houses or single-node simulations without topic.

Quick start

const { HyperP2PAuctionGossip } = require('hyper-p2p-auction-gossip')
const auction = new HyperP2PAuctionGossip({ topic: 'my-auction-topic' })
await auction.ready()
auction.openAuction('lot-1', { item: 'vintage-bike' })
auction.placeBid('lot-1', 42)
await auction.close()

Docs

Test

npm install && npm test