@dxdao/aqua
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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

Package Sidebar

Install

npm i @dxdao/aqua

Weekly Downloads

11

Version

0.1.6

License

MIT

Unpacked Size

65.7 kB

Total Files

24

Last publish

Collaborators

  • adamazad