A simple scaffold to bootstrap sBPF Assembly programs.
Please make sure you have the latest version of Solana Command Line Tools installed.
cargo install --git https://github.com/deanmlittle/sbpf.git
To view all the commands you can run, type sbpf help
Usage: sbpf <COMMAND>
Commands:
init Create a new project scaffold
build Compile into a Solana program executable
deploy Build and deploy the program
test Test deployed program
e2e Build, deploy and test a program
clean Clean up build and deploy artifacts
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
You can override the default linker with a custom linker file by including it in the src directory with the same name as your program. For example:
src/example/example.s
src/example/example.ld
PRs welcome!