Smart Contract Development with Foundry

Опубликовано: 22 Июнь 2022
на канале: Nader Dabit
20,073
539

In this video you'll learn how to build, test, and deploy smart contracts with Solidity using Foundry. We'll start with an overview of the various CLIs and libraries that make up Foundry, what they do, and how to install them.

🔗 Foundry Tutorial - https://nader.mirror.xyz/6Mn3HjrqKLhH...
🔗 Foundry Cheatsheet - https://github.com/dabit3/foundry-che...
🔗 Foundry Book - https://book.getfoundry.sh/
🔗 Foundry GitHub - https://github.com/foundry-rs/foundry

We'll then spin up a new project, walk through the file structure, and create an example smart contract. From there we'll create and run tests for the contract. Next, we'll run a local test Ethereum network, deploy the contract to the network, and use cast to call end execute transactions to the test network.

We'll then deploy the to Optimism to show how to deploy to a live network. Finally, we'll create an ERC721 contract and learn how to mock users to test out various functions like minting a token, transferring a token, and burning a token.

By the end of this video, you should have a good understanding of how Foundry works and how to use it to build, test, and deploy smart contracts.

0:00 - Introduction
03:15 - Creating a new project
04:13 - Remappings
05:35 - Compiling and ABIs
06:00 - Creating the first contract
08:13 - Writing tests
14:28 - Deploying to the local network
18:33 - Using cast to make contract calls
20:59 - Deploying to Optimism
23:06 - Testing an ERC721 contract


Смотрите видео Smart Contract Development with Foundry онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Nader Dabit 22 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 20,073 раз и оно понравилось 539 людям.