Challenge: Create a Contract with Attributes and Functions
Develop a Solidity contract named Challenge featuring private variables and functions. Learn to write constructors with argument checks and handle errors. Practice deploying contracts using Hardhat scripts to deepen your smart contract development skills.
We'll cover the following...
We'll cover the following...
Problem statement
Create a contract named Challenge with the following attributes and functions:
A
privatevariable calledtargetAmount, ...