Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lottery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This project is apart of the Hardhat FreeCodeCamp video.
- You'll know you did it right if you can run `git --version` and you see a response like `git version x.x.x`
- [Nodejs](https://nodejs.org/en/)
- You'll know you've installed nodejs right if you can run:
- `node --version` and get an ouput like: `vx.x.x`
- `node --version` and get an output like: `vx.x.x`
- [Yarn](https://yarnpkg.com/getting-started/install) instead of `npm`
- You'll know you've installed yarn right if you can run:
- `yarn --version` and get an output like: `x.x.x`
Expand Down Expand Up @@ -132,7 +132,7 @@ yarn hardhat verify --constructor-args arguments.ts DEPLOYED_CONTRACT_ADDRESS
```

### Optional Charity Raffle
This repo also includes the option to deploy a raffle where players enter by donating to their choice of one of three charities. On deployment, the charity raffle contract is funded with the jackpot for the player winner. The Chainlink keepers end the charity raffle and the VRF picks a player winner. Once the lottery ends, the contract funder has the option to match the donation value of the charity that recieved the highest number of player donations. If there is a tie between charities with the highest donations, the VRF and keepers will settle the tie and declare the winner.
This repo also includes the option to deploy a raffle where players enter by donating to their choice of one of three charities. On deployment, the charity raffle contract is funded with the jackpot for the player winner. The Chainlink keepers end the charity raffle and the VRF picks a player winner. Once the lottery ends, the contract funder has the option to match the donation value of the charity that received the highest number of player donations. If there is a tie between charities with the highest donations, the VRF and keepers will settle the tie and declare the winner.

# Linting

Expand Down
2 changes: 1 addition & 1 deletion lottery/test/unit/CharityRaffle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ import { CharityRaffle, VRFCoordinatorV2Mock } from "../../typechain-types"
)
expect(await charityRaffle.getDonations(charity1.address)).to.equal("1")
})
it("donates enterance fee to chosen charity", async () => {
it("donates entrance fee to chosen charity", async () => {
// ideally would test one at a time, but tested once above
const charity1StartingBalance: BigNumber = await charity1.getBalance()
const charity2StartingBalance: BigNumber = await charity2.getBalance()
Expand Down
2 changes: 1 addition & 1 deletion stablecoin-project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ forge test
### Run Scripts

```shell
# In a seperate window
# In a separate window
anvil
# Run the interaction script on local network
forge script script/StableCoinInteraction.s.sol --rpc-url http://127.0.0.1:8545 --broadcast
Expand Down
2 changes: 1 addition & 1 deletion ultimate-nft-repo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ We go through creating 3 different kinds of NFTs.
- You'll know you did it right if you can run `git --version` and you see a response like `git version x.x.x`
- [Nodejs](https://nodejs.org/en/)
- You'll know you've installed nodejs right if you can run:
- `node --version` and get an ouput like: `vx.x.x`
- `node --version` and get an output like: `vx.x.x`
- [Yarn](https://yarnpkg.com/getting-started/install) instead of `npm`
- You'll know you've installed yarn right if you can run:
- `yarn --version` and get an output like: `x.x.x`
Expand Down
Loading