You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a DApp where the Admin should be able to control a creator's IP Assets. The creator wallets are created & controlled by the DApp. To do this, I want the Admin to call the executeWithSig on the creator's IP Account, using the creator's signature, in order to set all permissions so that the admin can fully control the creator's IP Asset
I tried looking into createSetPermissionSignature, but I believe there is an issue with it. In this function, this.wallet is the Admin's account because they are the one sending the transaction. However on this line, this.wallet is also used to generate the signature, but I believe it should be the creator's wallet instead because they are the one granting permission.
In summary, we should add an argument to createSetPermissionSignature that accepts user's Wallet, so we can sign with that wallet.
The text was updated successfully, but these errors were encountered:
I have a DApp where the Admin should be able to control a creator's IP Assets. The creator wallets are created & controlled by the DApp. To do this, I want the Admin to call the
executeWithSig
on the creator's IP Account, using the creator's signature, in order to set all permissions so that the admin can fully control the creator's IP AssetI tried looking into createSetPermissionSignature, but I believe there is an issue with it. In this function,
this.wallet
is the Admin's account because they are the one sending the transaction. However on this line,this.wallet
is also used to generate the signature, but I believe it should be the creator's wallet instead because they are the one granting permission.In summary, we should add an argument to
createSetPermissionSignature
that accepts user's Wallet, so we can sign with that wallet.The text was updated successfully, but these errors were encountered: