HardcoreGamble
nft-mix
HardcoreGamble | nft-mix | |
---|---|---|
1 | 5 | |
3 | 823 | |
- | - | |
1.8 | 3.1 | |
almost 2 years ago | 12 days ago | |
Solidity | Solidity | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
HardcoreGamble
nft-mix
-
How is this solidity function calling another solidity function without referencing it?
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 can't get API3 QRNG to select a random enum value and mint an NFT based on this enum choice
I tried to make a contract that mints a token from an enum of options https://gist.github.com/ChristianOConnor/0ae15b021521c9583dde6c3cc782d4d3. This code fails at every turn. I started with the code from this video https://youtu.be/MFgMpA819DU. I didn't want the strength or intelligence to be generated dynamically, I just had an array of 3 character types that I wanted chosen at random. From my contract: enum Classifier{FIRST, SECOND, THIRD}. I used this contract as a reference for how to select at random from an enum https://github.com/PatrickAlphaC/nft-mix/blob/main/contracts/AdvancedCollectible.sol. This Patrick Collins contract uses Chainlink but I swapped that out with API3. My contract is a complete failure. What am I doing wrong?
-
Brownie gives me this error - ValueError(f"'{value}' is not a valid ETH address") from None When using a function involving Chainlink
I'm using this program to make an NFT https://github.com/PatrickAlphaC/nft-mix and I get this error when I run create_collectable.py
- A real life example (practical) of inheritance use in Solidity?
- What is the best IDE for minting NFTs with Solidity?
What are some alternatives?
ape - The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
commissions - A Repository Containing Log's Commissions
libharberger - A dapptools/foundry-ready library for charging Harberger taxes on partial common non-fungible property.
proof-of-life - Circom Implementation of Conway's Game of Life
chainlink-mix - Working with smart contracts with eth-brownie, python, and Chainlink.
eth-denver-hackathon
Avara - Always Vivid, Always Rising Above - BSC
NFT-On-Chain-Metadata - ERC721 and ERC1155 with on-chain metadata for SVG and HTML based NFTs
flex-protocol - [onchain] Decentralized payment links, enabled by smart contracts.
FizzBuzzSolidity - This is my first attempt going it alone and creating something without a tutorial in solidity using brownie and python. It was deployed to both a local net and the Kovan test net
social-recovery-wallet - Social Recovery Wallet that hides the identities of Guardians until recovery.
contracts - Collection of smart contracts deployable via thirdweb