SPL Token Group Interface JS API
npm install @solana/spl-token-group@solana/spl-token-groupA TypeScript interface describing the instructions required for a program to implement to be considered a "token-group" program for SPL token mints. The interface can be implemented by any program.
- TypeScript Docs
- FAQs (Frequently Asked Questions)
- Install
- Build from Source
Please ask questions in the Solana Stack Exchange: https://solana.stackexchange.com/
If you've found a bug or you'd like to request a feature, please
open an issue.
``shell`
npm install --save @solana/spl-token-group @solana/web3.js`
_OR_shell`
yarn add @solana/spl-token-group @solana/web3.js
0. Prerequisites
* Node 16+
* NPM 8+
1. Clone the project:
`shell`
git clone https://github.com/solana-labs/solana-program-library.git
2. Navigate to the library:
`shell`
cd solana-program-library/token-group/js
3. Install the dependencies:
`shell`
npm install
4. Build the library:
`shell`
npm run build
5. Build the on-chain programs:
`shell``
npm run test:build-programs