horuslabsio / TBA

Token Bound Accounts in Cairo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make registry multi-implementation compatible

Darlington02 opened this issue · comments

Currently, the registry contract just stores a mapping of (token address, tokenID) to TBA address.
TODOs

  1. Expand create_account to be able to create as many implementations as possible for a particular NFT.
  2. Ensure create_account checks that the caller/msg.sender is the owner of the NFT, to prevent spams.
  3. remove mapping, thus get_account should be able to calculate account address if provided the implementation class hash, public key, etc.