ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / generateAddress

Function: generateAddress()

generateAddress(from, nonce): Uint8Array

Defined in: packages/util/src/account.ts:453

Generates an address of a newly created contract.

Parameters

from

Uint8Array

The address which is creating this new address

nonce

Uint8Array

The nonce of the from account

Returns

Uint8Array