From the course: Build an Ethereum Smart Contract with Go and Solidity

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Define the interface

Define the interface

- [Instructor] It's important to understand the elements or functions we're going to implement for contract. So let's take the first steps to lay out a project skeleton and put together the function signatures. Let's open a terminal and initialize the project with forge just like we did previously. We'll do this on our smart-contract folder. So let's do forge init english-auction and then hit Enter. Forge will then create a boilerplate project for us. Starting a project from a boilerplate can sometimes save you a lot of time. Then we can make changes to files based on our own needs. Let's now open the project in our IDE. We cd english-auction and then open it with our IDE. First of all, let's update the filename of our contract under the source folder. We'll rename it to EnglishAuction. We'll also rename the contract name as well to EnglishAuction. We then delete the content of the file and then do the same for the test. So rename the filename to EnglishAuction.t.sol. We'll rename the…

Contents