docs.rs failed to build trezoa-system-interface-3.2.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Trezoa System Interface
This crate contains instructions and constructors for interacting with the System program.
The System program can be used to create new accounts, allocate account data, assign accounts to owning programs, transfer lamports from System Program owned accounts and pay transaction fees.
Getting Started
From your project folder:
This will add the trezoa-system-interface dependency with the bincode feature enabled to your Cargo.toml file. The bincode feature contains the instruction constructors to create instructions for the System program.
Examples
Creating an account:
use RpcClient;
use ;
use instruction;
use Result;
Transfer lamports between accounts:
use RpcClient;
use Pubkey;
use ;
use instruction;
use Result;
More examples can be found on the crate documentation.