Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SorobanContractDeployer ¶
type SorobanContractDeployer interface {
DeployContract(ctx context.Context, wasmPath string, salt [32]byte) (string, error)
}
SorobanContractDeployer is the minimal surface needed to upload Soroban WASM and create a contract instance (contract ID string).
type StellarDeps ¶
type StellarDeps struct {
Deploy SorobanContractDeployer
Invoker bindings.Invoker
}
StellarDeps bundles deploy-time and runtime chain I/O used by Soroban operations. The same *deployment.Deployer satisfies both interfaces; use FromDeployer to wire it without expanding the public Deployer API.
func FromDeployer ¶
func FromDeployer(d *deployment.Deployer) StellarDeps
FromDeployer returns deps backed by d for both deploy and invoke/simulate. If d is nil, both fields are nil; callers must not use such a value.
Click to show internal directories.
Click to hide internal directories.