@motleylabs/mtly-nightmarket
An easy to use TypeScript API for interacting with the nightmarket.io marketplace contract.
This API is used by the Night Market front end.
Contributing
We welcome contributions to Night Market from the community -- please open a pull request!
Feel free to join the Motley DAO Discord to talk to the team and other community members.
All contributions are automatically licensed under the Apache 2.0 license.
Installation
You can install the package with NPM or using Yarn.
Using NPM
npm install @motleylabs/mtly-nightmarket
Using Yarn
yarn add @motleylabs/mtly-nightmarket
Beta channel
The beta
branch is available by using the @motleylabs/mtly-nightmarket@beta
package.
Getting Started
All marketplace actions are implemented as functions of the NightmarketClient
.
Each action returns the instructions to add to a Solana Web3.js VersionedTransaction
.
Example usge of the API can be found in the examples
directory.