it uses the verified random to declare the winner
user can enter raffle at a given time the raffle will end the random winner is calculated
Check them out
- Sepolia testnet address on (0x652fccd0af69a45543ee7f328e1a3009c5d1fa70)
- Avalance testnet address on (0xe813781e2cbd5a027f68d8b2a1b3944f51b67725)
To use this repo locally , you need to have the following installed on your machine
- Foundry , foundry can be install using the documentation here
- Git
use the commannds in the MakeFile
$ make install
$ make deploy
$ make deploy --network sepolia
#### Foundry
**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**
Foundry consists of:
- **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network.
- **Chisel**: Fast, utilitarian, and verbose solidity REPL.
## Documentation
https://book.getfoundry.sh/
## Usage
### Build
```shell
$ forge build
$ forge test
$ forge fmt
$ forge snapshot
$ anvil
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>