• Generates a contract address from the deployer's account and nonce.

    Parameters

    • sender: string

      The address of the deployer's account.

    • senderNonce: Numbers

      The nonce of the deployer's account.

    Returns string

    const address = utils.createAddress("0x36615Cf349d7F6344891B1e7CA7C72883F5dc049", 1);
    // address = "0x4B5DF730c2e6b28E17013A1485E5d9BC41Efe021"