📌Registry
Overview
ERC6551Registry
is a contract that facilitates the creation of ERC6551 accounts using the Create2
opcode for deterministic address generation. It allows users to deploy new accounts with specific implementation details and initialization data.
Methods
createAccount
createAccount
Creates a new ERC6551 account.
Parameters
Name | Type | Description |
---|---|---|
|
| The contract implementation address. |
|
| Chain ID. |
|
| Token contract address. |
|
| Token ID. |
|
| Salt for address generation. |
|
| Initialization data for the account. |
Returns
address
- The address of the newly created account.
account
account
Computes the address of an ERC6551 account.
Parameters
Name | Type | Description |
---|---|---|
|
| The contract implementation address. |
|
| Chain ID. |
|
| Token contract address. |
|
| Token ID. |
|
| Salt for address generation. |
Returns
address
- The computed account address.
Last updated