Skip to main content

Crate anchor_cli

Crate anchor_cli 

Source

Modules§

config
rust_template

Macros§

home_path

Structs§

Opts

Enums§

ClusterCommand
Command
ConfigCommand
IdlCommand
KeygenCommand
KeysCommand
ProgramCommand

Constants§

DEFAULT_RPC_PORT
Default RPC port
DOCKER_BUILDER_VERSION
VERSION
WEBSOCKET_PORT_OFFSET
WebSocket port offset for solana-test-validator (RPC port + 1)

Statics§

AVM_HOME

Functions§

build
create_files
Create files from the given (path, content) tuple array.
entry
expand
get_recommended_micro_lamport_fee
Get the recommended priority fee from the RPC client, falling back to 0 if unavailable
override_or_create_files
Override or create files from the given (path, content) tuple array.
prepend_compute_unit_ix
Prepend a compute unit ix, if the priority fee is greater than 0.
verify

Type Aliases§

Files
Array of (path, content) tuple.