solana-with-rpc-optimizations/sdk
Alexander Meißner 97c2732d02
Refactor: Cleanup InvokeContext (#20785)
* Move blockhash and fee_calculator in ThisInvokeContext instead of using a reference.

* Moves tx_wide_compute_cap into InvokeContext::push().

* Adds ThisInvokeContext::new_mock() constructor.

* Adds missing loader account in uses of MockInvokeContext.

* Use keyed_account_at_index() when accessing keyed_accounts.

* Makes sysvar interface consistent between ThisInvokeContext and MockInvokeContext,
in order to add InvokeContext::get_sysvars().

* Adds InvokeContext::set_blockhash() and InvokeContext ::set_fee_calculator().

* Adds new_mock_with_features.

* Makes ancestors optional in ThisInvokeContext.

* Adds prepare_mock_invoke_context() and mock_process_instruction().
2021-10-21 20:57:42 +02:00
..
benches add checked instructions sysvar api (#20790) 2021-10-19 21:01:58 -07:00
bpf Proposal: log binary data for Solidity 2021-09-22 07:59:06 +01:00
cargo-build-bpf Remove @brief annotations from Rust API docs (#20769) 2021-10-19 15:48:15 -06:00
cargo-test-bpf Bump version to 1.9.0 2021-10-06 17:57:41 -07:00
docker-solana Fix solana docker image 2021-10-09 20:35:39 +01:00
macro Bump version to 1.9.0 2021-10-06 17:57:41 -07:00
program add checked instructions sysvar api (#20790) 2021-10-19 21:01:58 -07:00
src Refactor: Cleanup InvokeContext (#20785) 2021-10-21 20:57:42 +02:00
.gitignore
Cargo.toml solana-sdk now builds for wasm32-unknown-unknown 2021-10-13 13:15:33 -07:00
README.md Add new logos to README files and docs (#20049) 2021-09-21 13:35:36 -06:00
Xargo.toml
build.rs

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