Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 776 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 776 Bytes

Contribute

The SmartContract accepts contributions in eth from people and then divides the Eth up evenly and distributes it to the people who contributed. Here's the link to the deployed contract etherscan.

Project setup

npm install

Running tests

npx hardhat test

Deployment on Rinkedby testnet

Create an .env file on root project level and fill in the project url(setup a test project on Alchemy) and the wallet address's private key

TEST_ALCHEMY_URL = "ALCHEMY_TEST_PROJECT_URL"
TEST_PRIVATE_KEY = "WALLET_ADDRESS_PRIVATE_KEY"

Finaly to deploy run

 npx hardhat run scripts/deploy.js --network rinkeby