This repository contains code that I wrote while following the Cryptozombie course (https://cryptozombies.io/), an online course that teaches people how to build decentralized applications (DApps) on the Ethereum blockchain.
I highly recommend the Cryptozombie course to anyone interested in learning about blockchain technology and Solidity programming. The interactive lessons and gamification make the learning experience fun and engaging, and I feel that the course has greatly improved my skills in this field. Thank you to the Cryptozombie team for creating such a valuable resource!
The repository is organized into directories corresponding to each lesson in the course. Each directory contains the code that I wrote for that lesson, including Solidity smart contracts (.sol files) and scripts for testing and interacting with the contracts (e.g. test.js and deploy.js).
Please note that this repository does not contain all the dependencies required to run the code. In order to run the code, you will need to install the required dependencies and set up a local Ethereum blockchain, such as Ganache.
To run the code in this repository, you will first need to install the required dependencies using npm:
npm install
You will also need to have a local Ethereum blockchain running, such as Ganache.
Once the dependencies are installed and the blockchain is running, you can compile and deploy the smart contracts using Truffle:
truffle compile
truffle migrate
Finally, you can start the development server to interact with the DApp:
npm run start
This will launch the DApp in your web browser.
Introduction to the Ethereum blockchain and smart contracts:
- Overview of the Ethereum blockchain and how it works
- Introduction to smart contracts and their role in building DApps
- Key features and benefits of the Ethereum blockchain
- Basics of the Solidity programming language
- Syntax and data types used in Solidity
- Defining functions and variables in Solidity
- Deploying smart contracts using Truffle and Ganache
- Interacting with deployed contracts using web3.js
- Querying the blockchain and listening for events with web3.js
- Executing transactions on the Ethereum network using web3.js
- Debugging and testing smart contracts to ensure they are working as intended
- Common pitfalls and best practices for testing smart contracts
- Using Remix and Truffle to catch and fix errors
Bourseau Julien - 2nd year student at Ensimag - julien.bourseau@gmail.com
Project Link: https://github.com/julienbrs/CryptoZombies