Projects / Wave Portal

Mon Nov 29 2021


Wave Portal

leave a wave!

Building the contract

The contract for the Wave Portal was built with the assistance of buildspace's intro to solidity project.

Building the front end

The buildspace project walks through building a front end in React. I opted instead to use Vue so that I could house my project on this site.

Adding control for after launch

I decided to extend the project a little after getting the project working. I added some admin functions to allow the owner of the contract to set the prize amount and frequency of rewards after deploying the contract.

Verifying the contract

Finally, I wanted to have the source code of my contract verified on Etherscan. I initially faced a challenge getting hardhat verify to work, but discovered it was due to needing to clear cache. After I figured this out it was a simple: - npx hardhat clean - npx hardhat verify and my contract was verified. Here it is on Etherscan

Jonah Campbell © 2022