@void_devourers/mpl-rewards-client
v0.2.0
Published
My project description
Downloads
21
Readme
JavaScript client for Mpl Project Name
A Umi-compatible JavaScript library for the project.
Getting started
- First, if you're not already using Umi, follow these instructions to install the Umi framework.
- Next, install this library using the package manager of your choice.
npm install @metaplex-foundation/mpl-project-name
- Finally, register the library with your Umi instance like so.
import { mplProjectName } from '@metaplex-foundation/mpl-project-name'; umi.use(mplProjectName());
You can learn more about this library's API by reading its generated TypeDoc documentation.
Setting up Benchmarks
The GitHub workflow will automatically run benchmarks on pushes to the main
branch, however it needs a gh-pages branch to deploy the hosted graph website to. Run the commands below to setup the gh-pages branch.
git checkout --orphan gh-pages
git reset --hard
git commit --allow-empty -m "Initializing gh-pages branch"
git push origin gh-pages
git checkout master
Afterwards, the webpage will be available at https://<GITHUB_ORG_OR_USERNAME>.github.io/<REPO_NAME>/dev/bench/
Contributing
Check out the Contributing Guide the learn more about how to contribute to this library.