-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mint restriction: Signature-based minting #3
Comments
After discussion with Hadrien, we decide to implement it the following way:
|
Not to do in the same PR but nice to have: |
Unfortunately, it's not possible to iterate |
What about using an iterable map? Open zeppelin has one. |
Another idea: use directly
Less code reusability, but much simpler and gas-efficient |
won't work for a contract, see https://github.com/rarible/protocol-contracts/blob/b1b1593686fc78ceecab123124059acd908fafe1/tokens/contracts/erc-1271/ERC1271Validator.sol#L24 requires the
|
Good point. |
Waiting for #2 to be done first |
Implement a signature-based minting so any backend can sign a specific authorization to their users.
The text was updated successfully, but these errors were encountered: