Overview


Contracts

Data Markets

XBR Data Markets interact with the XBR Network calling:

  1. XBRNetwork.register to register in the XBR network

  2. XBRNetwork.createMarket to open a new market

  3. XBRNetwork.openPaymentChannel to open a payment channel, depositing an amount of XBR token. this returns a new XBRChannel SC

  4. XBRChannel.close to close a payment channel.

Data Providers

XBR Data Providers interact with the XBR Network calling:

  1. XBRNetwork.register to register in the XBR network

  2. XBRNetwork.joinMarket to join a market, depositing an amount of XBR token as a security and for the market maker to open a payment channel with this data provider

  3. XBRNetwork.requestPayingChannel to request a payment channel receiving money from the market maker, depositing an amount of XBR token. this returns a new XBRChannel SC

  4. XBRChannel.close to close a payment channel.

Data Consumers

XBR Data Consumers interact with the XBR Network calling:

  1. XBRNetwork.register to register in the XBR network

  2. XBRNetwork.joinMarket to join a market, depositing an amount of XBR token as a security

  3. XBRNetwork.openPaymentChannel to open a payment channel, depositing an amount of XBR token. this returns a new XBRChannel SC

  4. XBRChannel.close to close a payment channel.