ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / createContractAddress

Function: createContractAddress()

createContractAddress(from, nonce): Address

Defined in: packages/util/src/address.ts:133

Generates an address for a newly created contract.

Parameters

from

Address

The address which is creating this new address

nonce

bigint

The nonce of the from account

Returns

Address