View Source Soroban.Contract.DeployContract (Soroban v0.8.0)
DeployContract
implementation to deploy contract from a wasm file.
Link to this section Summary
Link to this section Types
@type get_response() :: {:ok, Soroban.RPC.GetTransactionResponse.t()}
@type invoke_host_function() :: Stellar.TxBuild.InvokeHostFunction.t()
@type send_response() :: {:ok, Soroban.RPC.SendTransactionResponse.t()}
@type wasm_id() :: binary()
Link to this section Functions
@spec deploy(wasm_id :: wasm_id(), secret_key :: binary()) :: send_response()
@spec get_contract_id(get_response()) :: binary()