Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 749 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 749 Bytes

Multisig Solana Program

Build

cargo build-bpf --manifest-path=./program/Cargo.toml --bpf-out-dir=dist/program

Deploy

cargo build-bpf --manifest-path=./program/Cargo.toml --bpf-out-dir=dist/program

Resuming failed deploy

solana-keygen recover -o dist/program/multisig-buffer-keypair.json
solana program deploy --buffer dist/program/multisig-buffer-keypair.json dist/program/multisig.so

Run tests

cargo test-bpf --manifest-path=./program/Cargo.toml

Build WASM bindings

wasm-pack build --target web --out-name index program -- --features wasm

Build Rust bindings

cargo build --release --manifest-path=./program/Cargo.toml --features=bindings