Go to file
Jack May d4ad04b31f
Add vscode to .gitignore (#38)
2020-06-16 20:26:23 -07:00
ci Add utf8 memo program (#27) 2020-06-05 20:13:15 -06:00
memo Add utf8 memo program (#27) 2020-06-05 20:13:15 -06:00
token Add utf8 memo program (#27) 2020-06-05 20:13:15 -06:00
.gitignore Add vscode to .gitignore (#38) 2020-06-16 20:26:23 -07:00
.travis.yml Add utf8 memo program (#27) 2020-06-05 20:13:15 -06:00
LICENSE First cut of token program (#1) 2020-05-29 15:00:47 -07:00
README.md Reorganize repository in preparation for more programs (#20) 2020-06-05 12:34:17 -06:00
bpf-sdk-install.sh Reorganize repository in preparation for more programs (#20) 2020-06-05 12:34:17 -06:00
do.sh Reorganize repository in preparation for more programs (#20) 2020-06-05 12:34:17 -06:00

README.md

Build status

Solana Program Library

The Solana Program Library (SPL) is a collection of on-chain programs targeting the Sealevel parallel runtime. These programs are tested against Solana's implementation of Sealevel, solana-runtime, and deployed to its mainnet. As others implement Sealevel, we will graciously accept patches to ensure the programs here are portable across all implementations.

Building

These programs cannot be built directly via cargo and instead require the build scripts located in Solana's BPF-SDK.

Download or update the BPF-SDK by running:

$ ./do.sh update

To build all programs, run:

$ ./do.sh build

Or choose a specific program:

$ ./do.sh build <program>

Testing

Unit tests contained within all projects can be built via:

$ ./do.sh test

Or:

$ ./do.sh test <program>

Clippy

Clippy is also supported via:

$ ./do.sh clippy

Or:

$ ./do.sh clippy <program>