-
## Description
Create a lottery contract to airdrop ERC20 tokens in any amount from any contract to one (or more) addresses from a list. Try not to hard code any parameter.
## Must have
- Functio…
-
Hey folks,
I've been stuck on this for the last day and have checked all of my code against Patrick's code. The only other ticket I found for this issue, someone realized they spelled something wr…
-
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_…
-
I will like to add a solidity smart contract that is basically a blockchain-based lottery.
Users can participate by giving a fee and the in the end a random user is chosen from the participants to be…
-
## Description
Hi 👋 I thought of creating a feature that would use the same principle as the `Factory Pattern` in Solidity. And I wanted to know if other people had already thought about this or if a…
-
Several issues confused me here , thank for helpping!
First one:
To deploy contract lottery you need pass in the parameter priceFeedAddress into the Constructor to initialize.
To get pricefeed a…
-
Hi,
I'm following the course Solidity, Blockchain, and Smart Contract Course and I cannot pass the test_can_end_lottery test in the development network, I didn't test the other networks.
It look…
-
The issue is different imported contract require different version of comipiler and they are not compatitble.
when compile the lottery.sol ,met this comipler error,
as a rookie to development ,d…
-
#### A lottery smart contract should perform several key functions to ensure the fairness and transparency of the lottery process. Here are some of the things a lottery smart contract should do:
- …
-
An idea came to my mind how we could improve the wizard UX. Instead of having a plain code display with a list of contracts to choose from, let's divide the wizard into 3 parts/dialogs:
1. Display …