Skip to content

A smartContract accepts contributions in eth from people and then divides the Eth up evenly and distributes it to the people who contributed

Notifications You must be signed in to change notification settings

davidkathoh/Contribute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A smartContract accepts contributions in eth from people and then divides the Eth up evenly and distributes it to the people who contributed

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published