Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@solana/spl-memo

solana-labs66.6kApache-2.00.2.5TypeScript support: included

SPL Memo Program JS API

readme

@solana/spl-memo

A TypeScript library for interacting with the SPL Memo program.

Install

npm install --save @solana/spl-memo @solana/web3.js

OR

yarn add @solana/spl-memo @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/memo/js
  6. Install the dependencies:

    npm install
  7. Build the library:

    npm run build
  8. Run the tests:

    npm run test