@solana/spl-account-compression
v0.4.1build
rm -rf dist/ && tsc -p tsconfig.json
build:program
cargo build-sbf --manifest-path=../programs/account-compression/Cargo.toml && cargo build-sbf --manifest-path=../programs/noop/Cargo.toml
lint
set -ex; eslint . --ext .js,.ts
lint:fix
eslint . --fix --ext .js,.ts
docs
rm -rf docs/ && typedoc --out docs
deploy:docs
npm run docs && gh-pages --dest account-compression/sdk --dist docs --dotfiles
start-validator
solana-test-validator --reset --quiet --bpf-program cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK ../target/deploy/spl_account_compression.so --bpf-program noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV ../target/deploy/spl_noop.so --account 27QMkDMpBoAhmWj6xxQNYdqXZL5nnC8tkZcEtkNxCqeX pre-batch-init-tree-account.json
run-tests
jest tests --detectOpenHandles
run-tests:events
jest tests/events --detectOpenHandles
run-tests:accounts
jest tests/accounts --detectOpenHandles
run-tests:e2e
jest accountCompression.test.ts --detectOpenHandles
test:events
start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:events
test:accounts
start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:accounts
test:e2e
start-server-and-test start-validator http://127.0.0.1:8899/health run-tests:e2e
test:merkle-tree
jest tests/merkleTree.test.ts --detectOpenHandles
test
start-server-and-test start-validator http://127.0.0.1:8899/health run-tests
npm i @solana/spl-account-compression
Metadata
- Apache-2.0
- >=16
- Solana Labs Maintainers
- released 9/25/2024