Skip to content

ERC721 setApprovalForAll approves the account.address instead of account.publicKey or user.address #813

Answered by moldy530
DWboutin asked this question in Issues
Discussion options

You must be logged in to vote

ah so the user?.address?.toLowerCase() returns the underlying signer address. the account.address is the address for the NFT itself.

It's rare that you would actually use the user.address and should be using the account.address as the account is where data is stored. the user.address is the owner of the account, but that wallet is just a traditional EOA and doesn't hold any of the assets

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DWboutin
Comment options

Answer selected by DWboutin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants