-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I wanted to create an NFT that chooses between an enum of 3 different NFT types. Also I wanted this choice to be decided at random so the minter doesn't know what type of NFT they'll get. I followed this NFT as a guide https://github.com/PatrickAlphaC/nft-mix/blob/main/contracts/AdvancedCollectible.sol. The only significant change that I made was switching Chainlink to API3 as my random number provider. I used a basic API3 implementation to get the random number like this https://github.com/Ashar2shahid/eth-denver-hackathon/blob/master/contracts/Requester.sol. I was able to Franken-code the 2 contracts together to get this:
I wanted to create an NFT that chooses between an enum of 3 different NFT types. Also I wanted this choice to be decided at random so the minter doesn't know what type of NFT they'll get. I followed this NFT as a guide https://github.com/PatrickAlphaC/nft-mix/blob/main/contracts/AdvancedCollectible.sol. The only significant change that I made was switching Chainlink to API3 as my random number provider. I used a basic API3 implementation to get the random number like this https://github.com/Ashar2shahid/eth-denver-hackathon/blob/master/contracts/Requester.sol. I was able to Franken-code the 2 contracts together to get this:
Related posts
-
I can't get API3 QRNG to select a random enum value and mint an NFT based on this enum choice
-
Space and Time присоединяется к программе Chainlink BUILD для ускорения внедрения Web3 Analytics корпоративного уровня. Перевод на русский язык
-
Weekly Wrap: This Week In Chainlink June 7 - June 13
-
Chainlink Oracle Security Considerations
-
Who are the companies working on improving the Web3 user experience?