Resources:
Cyfrin Updraft - Foundry Fundamentals
Foundry Smart Contract Lottery
Create Foundry project: forge init
Deploy: forge create
or forge script
forge script <script> --rpc-url <rpc_url> --account <account_name> --sender <address> --broadcast
Interact with contract: cast <subcommand>
Local blockchain testnet: anvil
.
├── foundry.toml
├── lib
│ └── forge-std
│ ├── foundry.toml
│ ├── lib
│ ├── LICENSE-APACHE
│ ├── LICENSE-MIT
│ ├── package.json
│ ├── README.md
│ ├── scripts
│ ├── src
│ └── test
├── README.md
├── script
│ └── Counter.s.sol
├── src
│ └── Counter.sol
└── test
└── Counter.t.sol
10 directories, 10 files