Companion
object Companion
Functions
Link copied to clipboard
Link copied to clipboard
suspend fun deployFromExternalRef(executableOwner: String, tag: ByteArray, constructorArgs: List<SCValXdr> = emptyList(), source: String, signer: KeyPair, network: Network, rpcUrl: String, salt: ByteArray = secureRandomBytes(32), loadSpec: Boolean = true): ContractClient
suspend fun deployFromExternalRef(executableOwner: String, tag: String, constructorArgs: List<SCValXdr> = emptyList(), source: String, signer: KeyPair, network: Network, rpcUrl: String, salt: ByteArray = secureRandomBytes(32), loadSpec: Boolean = true): ContractClient
Deploys a contract instance from a CAP-85 external reference (Protocol 28) and returns a ContractClient for it.
Link copied to clipboard
suspend fun deployFromWasmId(wasmId: String, constructorArgs: List<SCValXdr> = emptyList(), source: String, signer: KeyPair, network: Network, rpcUrl: String, salt: ByteArray = secureRandomBytes(32), loadSpec: Boolean = true): ContractClient
Deploy a contract from an existing WASM ID (ADVANCED - Step 2 of 2).
Link copied to clipboard
Create a ContractClient for a contract with spec loaded from the network (RECOMMENDED).
Link copied to clipboard
Create a ContractClient without loading the contract spec from the network.