nft-mix
nft-mix copied to clipboard
deploy.py `from brownie import smart_lottery,config, network from scripts.help_scripts import get_accounts, get_contract, fund_with_link import time def deploy_lottery(): account = get_accounts() # usd=get_contract("eth_usd") # vrfcoordinta =get_contract("VRFCoordinator") smart_lottery.deploy(get_contract("eth_usd"), get_contract("VRFCoordinator"), get_contract('Link_Token') , config["networks"][network.show_active()]["fee"], config["networks"][network.show_active()]["keyhash"],...
Changes to SimpleCollectable.sol to be easier to read and save gas by 1. getting rid of redundant tokencounter set to zero in the constructor 2. using calldata to reduce gas...
So when i go to deploy my NFT no matter how many times i deploy it comes back as tokenId is 0, like my token counter is not adding one....
`main()` is not included in the file. Should be: ```python def main(): with Path(filepath).open("rb") as fp: image_binary = fp.read() response = requests.post( PINATA_BASE_URL + endpoint, files={"file": (filename, image_binary)}, headers=headers, )...
Hi, I was trying to run the `create_metadata.py`, but got the error saying the `len(Advanced_Collectible)-1` is out of range. More details of the error is shown as below. I tried...
 in the advanced collectible, it works fine till deploying and funding with link but throws when createCollectible **this is how the solidity looks** function createCollectible() public returns (bytes32){ bytes32...
``` Thoms-MBP:nft thom.escobar$ brownie run scripts/simple_collectible/create_collectible.py --network rinkeby Brownie v1.18.1 - Python development framework for Ethereum NftProject is the active project. File "brownie/_cli/run.py", line 51, in main return_value, frame =...
`Reason for being yanked: This version claims to support Python 2 but does not Building wheels for collected packages: cytoolz Building wheel for cytoolz (setup.py) ... error ERROR: Command errored...
Hello, thanks for this repository, I'm currently learning by it but I found out the project uses a bit old versions of ChainLink and Solidity. I'm writing my own project...