- In this tutorial we created a basic truffle project.
- After initializing the project we create a new "HelloWorld" Contract.
- We then compile the contract.
- Then we create our first migration file.
- Once migration file is ready, we initiate the dev chains (with some default values).
- Last step is to deploy the helloworld contact to the chain.
- We learn to instantiate the contract instance and call its function.
- In this tutorial we expand on the Helloworld contract and add constructor, getter and setter functions for a message variable.
- We then assign a condition to allow a minimum eth amount to be transacted along with function call. We also learn how to call these functions.
- We create more functions and also ensure that the calls are made by the owner.
- Finally we create another contract and then instantiate the second contract from the first one using the same migration file.
- In this module we learn how to create test cases and assert the expected outcomes of each test.
- Speedy nodes have been discontinued by Moralis.