Skip to content

This is a sample project for building a smart contract on the Ethereum network using the Solidity programming language. The smart contract allows users to send waves to the contract and keeps track of the total number of waves sent. The contract also stores the wave messages from users in arrays using structs.

License

Notifications You must be signed in to change notification settings

micro-hawk/wavey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Wavey

This is a sample project for building a smart contract on the Ethereum network using the Solidity programming language. The smart contract allows users to send waves to the contract and keeps track of the total number of waves sent. The contract also stores the wave messages from users in arrays using structs.

Technologies Used

  • Solidity
  • Hardhat (for local testing and deployment)
  • Metamask (for interacting with the contract on the Ethereum network)

Getting Started

To run this project on your local machine, follow these steps:

  1. Clone the repository to your local machine.
git clone https://github.com/micro-hawk/wavey.git
  1. Install the dependencies by running npm install.
cd wavey
npm install
  1. Update the hardhat.config.js file to use your preferred local network configuration.

  2. Run npx hardhat compile to compile the smart contract.

npm hardhat compile
  1. Run npx hardhat test to run the test suite.

  2. Deploy the smart contract to a testnet or the Ethereum mainnet using npx hardhat run wave.js --network <network-name>.

npx hardhat run wave.js --network rinkeby
  1. Connect Metamask to the network where the contract is deployed.

  2. Use the web app to interact with the deployed contract and send waves to the contract.

Resources

Contributors

About

This is a sample project for building a smart contract on the Ethereum network using the Solidity programming language. The smart contract allows users to send waves to the contract and keeps track of the total number of waves sent. The contract also stores the wave messages from users in arrays using structs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published