Class: Exchange

Exchange(settings)

Implements a basic Exchange.

Constructor

new Exchange(settings)

Create an instance of the Exchange. You may run two instances at once to simulate two-party contracts, or use the Fabric Market to find and trade with real peers.
Parameters:
Name Type Description
settings Object Map of settings to values.
Properties
Name Type Description
fees Object Map of fee settings (all values in BTC).
Properties
Name Type Description
minimum Object Minimum fee (satoshis).
Source:
Returns:
Exchnge