* Fix C headers (the name of the syscall was incorrect). * Add C SBF tests using the alt_bn128 syscall. * Fix the Rust SBF program: * Do not use serde and array-bytes, provide test cases as byte arrays directly. * Use the `custom_heap_default` macro. * Replace `bpf` with `sbf` in the crate name. * Execute both previously existing Rust tests and new C tests in `programs/sbf/tests`, so they are actually tested on CI. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
package.json |
README.md
Solana Program
Use the Solana Program Crate to write on-chain programs in Rust. If writing client-side applications, use the Solana SDK Crate instead.
More information about Solana is available in the Solana documentation.
Helloworld and the Solana Program Library provide examples of how to use this crate.
Still have questions? Ask us on Stack Exchange