Random Mint function #42
Answered
by
willemneal
Akshay1921
asked this question in
Q&A
-
This repo is absolutely useful though one thing I havent been able to figure out is how to randomize the mint function meaning I minted a testnet contract 2 times and what I got was 1.png and 2.png but I wanted to randomize that process . Is it possible with a pre-defined function written in the contract? |
Beta Was this translation helpful? Give feedback.
Answered by
willemneal
Feb 21, 2022
Replies: 1 comment 2 replies
-
By default the minting is random. There is a Raffle, which allows you to randomly pick one of the remaining token_ids (integers in some range). Perhaps you got lucky? How big was your collection and which methods did you call? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Akshay1921
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default the minting is random. There is a Raffle, which allows you to randomly pick one of the remaining token_ids (integers in some range). Perhaps you got lucky? How big was your collection and which methods did you call?