An ERC-6551: Token Bound Accounts compliant smart contract wallet.
Sep 08, 2023
Apache-2.0, MIT, GPL-3.0-or-later, GPL-3.0-only
The Token Bound Account contract is an ERC-6551 and ERC-4337 compliant smart contract wallet. It can be cloned by the ERC-6551 registry contract to create token-bound account smart wallets which are associated with a specified ERC-721 NFT. The owner of the specified NFT token automatically owns the associated wallet. App developers can programmatically issue token-bound accounts to their users using the thirdweb SDK.
thirdweb's token-bound accounts have the following features by default:
The TokenBoundAccount smart wallet is a smart wallet that comes with all the basic benefits of account abstraction, and the owner of the associated NFT token is the owner of the wallet.
If the NFT is transferred, the ownership of the wallet is automatically transferred
On deploying this implementation smart contract, go to the ERC-6551 registry and use the createAccount method on the Explorer and pass the contract's address as the "Implementation" to create a token bound account smart wallet.
You can find the ERC-6551 registry for the Goerli testnet, here. The registry is deployed at the same address on these networks.
You can read more about token bound account smart wallets in this blogpost.
Hidden advanced parameters
No inputs required