Repository navigation
MIP-0004: Fungible Token Standard with UTxO #136
Replies: 4 comments 7 replies
|
From @kapke Shouldn't shielded and unshielded extensions be separate to not force supporting both styles if not desired by the contract authors? |
|
From @kapke: May be worth adding - the coin provided is an output, not input, so the value is determined by the DApp, not the shielded coin held in wallet. |
|
From @kapke: One thing worth mentioning - the tokens converted into native UTxOs are not controlled by the contract. They may be moved around freely without any control or oversight from the contract. |
|
If a mint circuit is provided, the implementation MUST authenticate the caller via a hash-based commitment rather than ownPublicKey(). The reference implementation declares: secretKey(): A witness function returning the caller's 32-byte authentication secret. The secret lives only in the caller's private state and never appears on-chain or in any disclosed circuit value. NOTE: This is not the only way to retrieve the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Please use this thread to discuss details and ideas regarding MIP-0004
One important note based on review -- all ledger fields are public. The
exportkeyword only denotes that the compiled artifacts will include a JS binding for the value to make it easily accessible to frontend implementations. Private values needing to be stored in the ledger should make use of Compact hashing or commit functionsContributors: @dvgui
All reactions