-
Notifications
You must be signed in to change notification settings - Fork 124
Description
It would be useful to expose a miden::protocol::asset::create_fungible_key procedure for the purpose of creating fungible asset keys. This would replace the following manually constructed keys:
https://github.com/0xMiden/protocol/blob/525b383/crates/miden-protocol/asm/shared_utils/util/asset.masm#L177
https://github.com/0xMiden/protocol/blob/525b383/crates/miden-protocol/asm/protocol/active_account.masm#L547
https://github.com/0xMiden/protocol/blob/525b383/crates/miden-protocol/asm/protocol/active_account.masm#L515
I think we should eventually move fungible asset definitions from miden::protocol to miden::standards, in which case the create_fungible_key would move along with it, ideally to something like miden::standards::fungible_asset::create_key.
Originally brought up by @mmagician in #2508 (comment).