Challenge: Create a Contract That Accepts Payments
Explore creating a Solidity contract named Challenge that logs payment acceptance and supports receiving payments. Learn to write a Hardhat run script to send Ether to the deployed contract and display the receiver information. This lesson helps you implement and test contracts that handle payments within the Web3 development environment.
We'll cover the following...
We'll cover the following...
Problem statement
In this challenge, complete the following tasks:
Create a contract named
Challengethat logs ...