JavaScript library for configuring, staging and minting Origyn NFTs from a local directory.
Each release of csm
is compatible with a specific version of the Origyn NFT standard
. The table below shows the compatibility between the two.
CSM Version | Origyn NFT Version |
---|---|
1.0.0-beta.6 - 1.1.0 | 0.1.4 |
1.0.0-beta.5 | 0.1.3 |
npm i @origyn/csm
If you have a local repository of the csm code, you can make npm point to its build using:
npm i <path-to-csm>
Start by importing the csm
in your code.
import { config, stage, mint } from '@origyn/csm';
For a full example see https://github.com/ORIGYN-SA/minting-starter.