Crate soroban_rs

Source

Re-exports§

pub use stellar_rpc_client;

Modules§

macros
xdr

Structs§

AccountConfig
Configuration options for setting up or modifying a Stellar account.
AuthorizedCallsForContract
ClientContractConfigs
Configuration for client interaction with a deployed contract
Contract
Represents a Soroban smart contract
ContractId
Env
The environment for Soroban operations.
EnvConfigs
Configuration for a Soroban environment.
GetTransactionResponse
MockGetTransactionResponse
MockTransactionMeta
MockTransactionResult
MultisigAccount
Represents a multisig account.
Operations
Factory for creating Soroban operations.
Parser
Signer
A transaction signer for Soroban operations.
SingleAccount
Represents a single-signature account.
SorobanTransactionResponse
Extended transaction response with methods to extract Soroban-specific data
TransactionBuilder
Builder for creating and configuring Stellar transactions.

Enums§

Account
Represents either a single-signature or multisig account.
Guard
ParseResult
ParserType
SorobanHelperError
Errors that can occur when using the Soroban helpers library.

Traits§

IntoScVal
A trait for converting native rust values into a ScVal.

Functions§

all_signers
Returns a collection of mock signers for testing
create_contract_id_val
create_mock_contract_event
create_mock_set_options_tx_envelope
mock_account_entry
Creates a mock account entry with specified account ID
mock_contract_id
Creates a mock contract ID for testing
mock_env
Creates a mock environment with configurable responses
mock_signer1
Creates the first mock signer with a predefined private key
mock_signer2
Creates the second mock signer with a predefined private key
mock_signer3
Creates the third mock signer with a predefined private key
mock_simulate_tx_response
mock_transaction
mock_transaction_envelope
mock_transaction_response
mock_transaction_response_with_account_entry
mock_transaction_response_with_return_value