c6931dcb07
* Renaming - credit-only/credit-debit to read-only/read-write - debitable to writable * Remove credit handling, making credit-only accounts read-only * Update programs to remove deprecated credit-only account designation * Use readonly and writable instead of underscored types |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
cbindgen.toml |
README.md
Solana SDK-C
This crate exposes a C API to Solana functions written in Rust. The crate generates a static library, and uses cbindgen
to generate a header file during the build. To generate both:
$ cd <path/to/solana/repo>/sdk-c
$ SOLANA_H_OUT_DIR="$(pwd)/include" cargo build
This will generate the static library in <path/to/solana/repo>/target/deps
and the header file in
<path/to/solana/repo>/sdk-c/include
.