Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 673 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 673 Bytes

Overview

There are 3 main components:

  1. Aqua class. Creates a instance that allows developer to create sales, add sale modules and add templates. Exposes the three main contracts: AquaFactory, SaleLauncher and TemplateLauncher
  2. Subgraph class. Accepts the graphqhl endpoint and offers methods to read from the Subgraph.
  3. Sales module. Exports helper functions to interact with Aqua Sales

Others:

  1. Exports xDai and Rinkeby networks config.
  2. Exports ABI encoders
  3. Exports types

Examples

This library is used to start a new sale over cli, see create-fixed-price-sale.md and examples folder in general