- Check if a user is whitelisted for an NFT mint based on their Ethereum Mainnet wallet.
- Read what NFTs or tokens the user holds in their Ethereum Mainnet wallet.
Abstract Global Linking Site
Link an Ethereum Mainnet wallet to your Abstract Global Wallet.
Abstract Global Linking Site Testnet
Link a Sepolia Testnet wallet to your testnet Abstract Global Wallet.
How It Works
1
Link wallets
On Ethereum Mainnet, users submit a transaction that calls the delegateAll function on the
DelegateRegistry contract to initialize a link between their Ethereum Mainnet wallet and their Abstract Global Wallet:Once submitted, the delegation information is bridged from Ethereum to Abstract via the BridgeHub
contract to become available on Abstract.You can trigger this flow in your application by using the linkToAgw function.
2
Check linked wallets
To view the linked EOAs for an AGW and vice versa, the ExclusiveDelegateResolver
contract can be used, which contains the following functions to read delegation information:
This information can be read using the SDK methods; getLinkedAgw and getLinkedAccounts.
exclusiveWalletByRights
exclusiveWalletByRights
Given an EOA address as input, returns either:Use the following
- ✅ If the EOA has an AGW linked: the AGW address.
- ❌ If the EOA does not have an AGW linked: the EOA address.
rights
value to check the AGW link:delegatedWalletsByRights
delegatedWalletsByRights
Given an AGW address as input, returns a list of L1 wallets that have linked to the AGW.
Use this to check what EOAs have been linked to a specific AGW (can be multiple).Use the following
rights
value to check the AGW link:exclusiveOwnerByRights
exclusiveOwnerByRights
Given an NFT contract address and token ID as input, returns:Use the following
- ✅ If the NFT owner has linked an AGW: the AGW address.
- ❌ If the NFT owner has not linked an AGW: the NFT owner address.
rights
value to check the AGW link: