@breadheads/bgl-game-pot
v0.2.0
Published
A way to accept and pay out tokens for participation in games.
Downloads
128
Readme
JavaScript client for Bgl Game Pot
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/bgl-game-pot
- Finally, register the library with your Umi instance like so.
import { bglGamePot } from '@metaplex-foundation/bgl-game-pot'; umi.use(bglGamePot());
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.