...
/Solution: Create a Contract That Accepts Payments
Solution: Create a Contract That Accepts Payments
Let's review the solution to this challenge.
Flowchart of a possible solution
For this challenge, you needed to create a contract that logs Payment Accepted when deployed as well as create a main function that sends 5000 Wei to a Hardhat generated address.
The image above shows how we can complete this challenge. We need to set the payable attribute in ...
Ask