@thruputchain/client
    Preparing search index...

    Function prepareContractDeployment

    • Hash canonical contract encoding and predict the address without creating an expiring transaction. Funding and initialization are explicit deployment options; this helper performs neither. The deployment nonce differs from the transaction nonce. Factory-created contracts remain factory calls with attached code.

      Parameters

      • input: {
            contract: Uint8Array<ArrayBufferLike> | Contract;
            deployer: ContractAddress;
            deploymentNonce?: Uint8Array<ArrayBufferLike>;
        }

      Returns ContractDeployment