Skip to content

FCC web3 Development codecamp project. It is a crowdfunding smart contract.

Notifications You must be signed in to change notification settings

sandrasong/fund-me-contract

Repository files navigation

Fund me contract with Hardhat

This is a FCC web3 code camp project. It allows people to crowdfunding, and owner to withdraw the fund.

Deploying the contract by:

npx hardhat deploy

Deploying to localhost:

npx hardhat node

then, run command in another terminal window:

npx hardhat deploy --network localhost

Deploying to Sepolia testnet:

npx hardhat deplopy --network sepolia

Scripts

npx hardhat run scripts/fund.ts --network localhost

or

npx hardhat run scripts/withdraw.ts --network localhost

Testing

Unit test

npm run test

Staging test on testnet

npm run test:staging

About

FCC web3 Development codecamp project. It is a crowdfunding smart contract.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published