Begin your journey here, the "Easy" difficulty for SolidityNirvana
Clone this repository
git clone https://github.com/Solidity-Nirvana/Easy
Install the submodules (while in the project directory):
cd Easy
git submodule update --init --recursive
Linux users may need to add sudo
command to the beginning
Install foundry-rs
MacOS/Linux
curl -L https://foundry.paradigm.xyz | bash
After running this command, close your terminal and open a new instance, then run this command to install foundry-rs:
foundryup
Windows
If you're on Windows, you will need to install and use Git BASH or WSL, as your terminal, since Foundryup currently does not support Powershell or Cmd.
We recommend installing WSL with Ubuntu-20.04 or Ubuntu-22.04 Then run the command:
curl -L https://foundry.paradigm.xyz | bash
After running this command, close your terminal and open a new instance, then run this command to install foundry-rs:
foundryup
We recommend creating a WSL shortcut for your desktop (or directory near your projects). This way, when you open WSL through this icon, the starting directory will allow you to easily navigate to your project.
From there, assuming you're using Visual Studio IDE, you can run the command code .
to open Visual Studio
once in your project directory (the folder you cloned this repository)
There's a Visual Studio IDE extension called WSL that allows you to run WSL directly through the IDE. You may need to reinstall the solidity extension by Juan Blanco for Visual Studio IDE.
Enroll at SolidityNirvana and watch the "Introduction" episode.