-
I'm probably missing something obvious, but since I can choose to mint to a custom account, as defined in the VC, I would like to be able to associate the token to that account within the policy such that the mint and transfer will be successful. However, when I choose the token action block the only option I have for Associate is "Default". Is there a way to make the association to a custom account within the policy, prior to the mint event, that I am missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @CyndyMo, there is an example of this in the Remote Work GHG policy. In this policy the target user Hedera account is inputted into a VC at the org registration stage, and then the token is associated with this account ( account private key is required for this). In summary, to add token association to an account you'd need:
|
Beta Was this translation helpful? Give feedback.
Hi @CyndyMo, there is an example of this in the Remote Work GHG policy. In this policy the target user Hedera account is inputted into a VC at the org registration stage, and then the token is associated with this account ( account private key is required for this). In summary, to add token association to an account you'd need:
tokenConfirmationBlock
.Custom
option for the account.Account Id
field.