solana-with-rpc-optimizations/sdk
Alexander Meißner ee7e411d68
Replaces `KeyedAccount` by `BorrowedAccount` in `system_instruction_processor`. (#23217)
* Adds InstructionContext::check_number_of_instruction_accounts() and InstructionContext::get_instruction_account_key().
Bases check_sysvar_account() on instuction account indices.

* Adds instruction_account_indices enums to system_instruction_processor.

* Reorders parameters and adds InstructionContext.

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 1).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 2).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 3).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 4).

* Replaces KeyedAccount by BorrowedAccount in system_instruction_processor (part 5).

* Code cleanup
2022-02-19 02:06:33 +01:00
..
benches Refactor: move instructions sysvar serialization out of Message (#22544) 2022-01-20 17:33:49 +08:00
bpf Bump bpf-tools to v1.23 2022-02-03 15:50:18 -08:00
cargo-build-bpf Add sbf-tools version to cargo target cache name on CI agents 2022-02-09 03:26:56 +00:00
cargo-test-bpf Pacify clippy 2022-01-21 19:12:57 -08:00
docker-solana Fix solana docker image 2021-10-09 20:35:39 +01:00
macro Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
program Document message APIs (#22873) 2022-02-11 11:47:36 -07:00
src Replaces `KeyedAccount` by `BorrowedAccount` in `system_instruction_processor`. (#23217) 2022-02-19 02:06:33 +01:00
tests Add initial wasm bindings for `Instruction`, `SystemProgram` and `Transaction` 2021-12-09 15:53:58 -08:00
.gitignore Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
Cargo.toml chore: bump borsh from 0.9.2 to 0.9.3 (#23033) 2022-02-09 12:02:57 -07:00
README.md Add new logos to README files and docs (#20049) 2021-09-21 13:35:36 -06:00
build.rs
package.json Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00

README.md

Solana

Solana SDK

Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.

More information about Solana is available in the Solana documentation.

The Solana Program Library provides examples of how to use this crate.

Still have questions? Ask us on Discord