__ __
/\ \/\ \
___ \_\ \ \ \/'\
/'___\ /'_` \ \ , <
/\ \__//\ \L\ \ \ \\`\
\ \____\ \___,_\ \_\ \_\
\/____/\/__,_ /\/_/\/_/
The Catalog Development Kit (CDK) is a small set of tools to easily and safely interact with Catalog contracts and related Zora market contracts. The CDK is written in TS and can be used in any JS environment.
This repository is based on the Zora ZDK (original version).
The CDK has these primary exports plus some types:
- Catalog
- Utils
- Addresses
- Metadata
- AsksV11
- ZoraModuleManager
- OffersV1
- ReserveAuctionETH
- ReserveAuctionFindersETH
- ReserveAuctionListingETH
- ReserveAuctionERC20
- ReserveAuctionFindersERC20
- ReserveAuctionListingERC20
yarn add @catalogworks/cdkgit clone https://github.com/catalogworks/cdk.gitcd cdkyarnTo build: (for publishing/local testing and use)
yarn buildBuild output is located in the generated ./dist directory.
Tests are written in Jest. using ts-jest. Unit tests are located in the tests folder.
To run the tests locally:
in a seperate terminal:
yarn chainthen:
yarn testCoverage reports can be generated by running:
yarn coverageReports are located in the ./coverage directory.
View: LICENSE
Zora related code is licensed under MIT
This package is designed specifically for usage at Catalog, and development for this package is handled internally. Creating an issue is welcome for any security related contributions from developers outside of our organization.
Please create a fork of this repository for your own personal needs.
- @catalogworks/catalog-contracts
- @catalogworks/zorav3-with-types
- Ethers
- sjcl
- tiny-invariant
- tiny-warning
- ts-node