Wallet Linking
linkToAgw
Function to link an Ethereum Mainnet wallet to an Abstract Global Wallet.
The AbstractClient includes a linkToAgw
method that can be used to create a link between an Ethereum Mainnet wallet and an Abstract Global Wallet.
Usage
Parameters
The address of the Abstract Global Wallet to link to.
Whether to enable or disable the link between the wallets.
The Abstract chain to create the link on (e.g. abstractTestnet
).
The account to use for the transaction.
Returns
The transaction hash of the L1 transaction that initiated the link.
A function that returns a Promise resolving to the L2 transaction hash once the L1 transaction is confirmed.
Was this page helpful?