stellardeps

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL