0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
25 stars 22 forks source link

Handle `aux` parameter for well-known notes #382

Open igamigo opened 2 weeks ago

igamigo commented 2 weeks ago

What should be done?

For now, the aux parameter has been hardcoded to Felt::ZERO for well-known notes.

How should it be done?

Expose the aux parameter for CLI commands, and inner structs TransactionTemplate.

When is this task done?

When the user can define the aux field of well-known notes's metadata

Additional context

No response

mFragaBA commented 1 week ago

do we need to expose the aux parameter to the CLI? The aux field feels unintuitive for that user and more suited to consumers of the library crate. That being said, I haven't seen too many use cases of the aux field yet so I might be missing something