包详细信息

@solana/spl-token-group

solana-labs851.1kApache-2.00.0.7

SPL Token Group Interface JS API

自述文件

@solana/spl-token-group

A 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.

Links

FAQs

How can I get support?

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.

Install

npm install --save @solana/spl-token-group @solana/web3.js

OR

yarn add @solana/spl-token-group @solana/web3.js

Build from Source

  1. Prerequisites

  2. Node 16+

  3. NPM 8+

  4. Clone the project:

    git clone https://github.com/solana-labs/solana-program-library.git
    
  5. Navigate to the library:

    cd solana-program-library/token-group/js
    
  6. Install the dependencies:

    npm install
    
  7. Build the library:

    npm run build
    
  8. Build the on-chain programs:

    npm run test:build-programs