Deployer

scalus.cardano.deploy.Deployer
object Deployer

Deploys a compiled Cardano smart contract as a reference script UTXO.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Deployer.type

Members list

Value members

Concrete methods

def deploy(contractClassName: String, network: String, blockfrostApiKey: String, mnemonic: String): String

Deploy a Contract's script as a reference script UTXO. Blocks the calling thread.

Deploy a Contract's script as a reference script UTXO. Blocks the calling thread.

Value parameters

blockfrostApiKey

Blockfrost API key

contractClassName

fully qualified class name of the Contract singleton, including the trailing "$" (e.g. "myapp.MyContract$")

mnemonic

BIP-39 mnemonic for signing; the reference-script UTXO is created at the sender's own base address derived from this mnemonic

network

Cardano network: "preview", "preprod", or "mainnet"

Attributes

Returns

transaction hash hex string