Go to file
Tyera Eulberg b581366047
Memo: add Rust program id and bump version (#41)
* Add rust program id to memo

* Bump memo and sdk versions

* Use declare_id macro

* Bump solana version to pick up macro docs
2020-06-18 10:51:22 -06:00
ci Remove bpf-sdk handling from token package.json (#43) 2020-06-17 16:59:32 -06:00
memo Memo: add Rust program id and bump version (#41) 2020-06-18 10:51:22 -06:00
token Remove bpf-sdk handling from token package.json (#43) 2020-06-17 16:59:32 -06:00
.gitignore Add rustdocs (#39) 2020-06-17 11:25:19 -07:00
.travis.yml Add rustdocs (#39) 2020-06-17 11:25:19 -07:00
LICENSE Update contributors (#42) 2020-06-17 14:12:46 -07:00
README.md Update contributors (#42) 2020-06-17 14:12:46 -07:00
bpf-sdk-install.sh Reorganize repository in preparation for more programs (#20) 2020-06-05 12:34:17 -06:00
do.sh Fix usage (#45) 2020-06-17 16:13:48 -07:00
package-lock.json Add rustdocs (#39) 2020-06-17 11:25:19 -07: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>