@solana/spl-account-compression

v0.1.10
SPL Account Compression Program JS API

fmt

prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'

docs

rm -rf docs/ && typedoc --out docs

lint

set -ex; npm run pretty; eslint . --ext .js,.ts

test

start-server-and-test start-validator http://127.0.0.1:8899/health run-tests

build

rm -rf dist/ && tsc -p tsconfig.json

pretty

prettier --check '{,{src,test}/**/}*.{j,t}s'

lint:fix

npm run pretty:fix && eslint . --fix --ext .js,.ts

test:e2e

start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:e2e

run-tests

jest tests --detectOpenHandles

pretty:fix

prettier --write '{,{src,test}/**/}*.{j,t}s'

deploy:docs

yarn docs && gh-pages -d docs

test:events

start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:events

run-tests:e2e

jest accountCompression.test.ts --detectOpenHandles

test:accounts

start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:accounts

start-validator

solana-test-validator --reset --quiet --bpf-program cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK ../target/deploy/spl_account_compression.so --bpf-program noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV ../target/deploy/spl_noop.so

run-tests:events

jest tests/events --detectOpenHandles

test:merkle-tree

jest tests/merkleTree.test.ts --detectOpenHandles

run-tests:accounts

jest tests/accounts --detectOpenHandles
npm i @solana/[email protected]

Metadata

  • Apache-2.0
  • >=16
  • Solana Labs Maintainers
  • released 7/28/2023

Downloads