Hi all.
in erc721
How to allow users to mint a specific tokenid range?
For example users can only mint anything between 100-200.
But from 1-99 only the contract owner can mint
Oct 30, 2022, 7:42 PM
premint
Oct 30, 2022, 7:43 PM
Can I do it without premint?
Oct 30, 2022, 7:43 PM
create something like a modifier that only allows the owner to mint. mint 99. then disable the modifier
Oct 30, 2022, 7:43 PM
What if mint will not be incrementally modified, but random
Eg, 4, 99, 164, 73, etc
Not 1, 2, 3, 4
Not 1, 2, 3, 4
Oct 30, 2022, 7:45 PM
Sounds like a terrible idea
but try it
and see what happens
Oct 30, 2022, 7:47 PM
Or can I have a custom range for incremental? Not 1, 2, 3, 4
But it starts from 100 and then 101, 102, 103?
But it starts from 100 and then 101, 102, 103?
Oct 30, 2022, 7:54 PM
when you generate the random number
modify the value for the modulo operation
Oct 30, 2022, 8:29 PM
In access control, can a role be automatically granted to a user?
And not granted by admin
And not granted by admin
Oct 30, 2022, 9:23 PM