Warning
The POAP SDK is still in the active initial development phase. Anything MAY change at any time.
This is a Developer Preview aimed primarily at existing integrators to gather early feedback. Documentation is in progress.
This product is in development and is not intended to be used in a production environment.
If you want to collaborate and leave us feedback, you can do so here
POAP.js is a collection of SDKs and utilities for interacting with the POAP ecosystem. The library provides a set of classes and methods to simplify working with it.
- Fetch one or multiple POAP tokens at once.
- Search for minted POAPs by their collector or the drop they belong to.
- Mint POAPs using synchronous or asynchronous processes.
- Reserve a POAP to an email address.
- Obtain mint status, POAP indexed status, and more.
- Create a Drop
- Update a Drop attributes
- Fetch a single Drop
- Fetch multiple Drops
- Search Drops
- Create a Moment attached to a Drop or a specific POAP
- Fetch multiple Moments
- Fetch a single Moment
- Interfaces to interact with POAP APIs
- POAP custom Providers so you can use without implementing one.
- PaginatedResult: A paginated interface that makes it easier to manage paginated results
- SecureFetch: A wrapper for headers that inserts the authentication with POAP.
To start developing the POAP Package Library, follow these steps:
- Clone the repository:
git clone https://github.com/poap-xyz/poap.js.git
- Have yarn installed:
npm install -g yarn
- Install dependencies:
yarn install
- Build the packages:
yarn build
- Run the tests:
yarn test
You can find the documentation in this link: POAP.js Documentation
The documentation is located in the docs
folder.
Contributions to the POAP Package Library are welcome. To contribute, please follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name.
- Make your changes and commit them with a clear and concise commit message.
- Create a pull request, describing the changes you made and why.
- Wait for a maintainer to review your pull request and provide feedback.
Please ensure that your code adheres to the project's code style and passes all tests before submitting a pull request.
See CONTRIBUTING.md
file for guidelines on how to get involved.
MIT © POAP