Deploys contract files to a randomly generated account
// Deploy the contract with identifier
ContractDeployer.deploy<MyContractTypeDef>('mycontract');
Contract identifier, typically the contract filename minus the extension
Deployed contract instance
Deploys contract files to a specified account
// Create a new account
const account = await AccountManager.createAccount();
// Deploy the contract `mycontract` to the account
ContractDeployer.deployToAccount<MyContractTypeDef>('mycontract', account);
Contract identifier, typically the contract filename minus the extension
Account to apply contract code
Deployed contract instance
Deploys contract files to a specified account name
// Deploy the `mycontract` contract to the account with name `mycontractname`
ContractDeployer.deployWithName<MyContractTypeDef>('mycontract', 'mycontractname');
Contract identifier, typically the contract filename minus the extension
Account name
Deployed contract instance
Generated using TypeDoc
Provides a set of methods to manage contract deployment