Function: calculateAddress()
function calculateAddress(
shardId,
code,
salt): Uint8Array
Calculates an address.
Parameters
Parameter | Type | Description |
---|---|---|
|
| The ID of the shard containing the address. |
|
| The bytecode to be deployed at the address. |
|
| Arbitrary data for address generation. |
Returns
Uint8Array
The address.
Defined
@nilfoundation/niljs/src/utils/address.ts:44