Many thanks for this easy to follow introduction. Have been using truffle but from my perspective, I think that these solidity tests are cleaner and easier to understand. Also cannot help thinking that on chain deployment of solidity tests on test networks would be an advantage in that it would help mitigate security risks, and be a good starting point for code auditors.
Hey Nadir, so say you have multiple contracts in your project, 2 erc20 and 2 erc721 contracts, can you structure this way: src/ -erc20/ --erc20-1.sol --erc20-2.sol -erc721/ --contract1.sol --contract2.sol This kind of setup is a must for the project, is the the appropriate way? Thanks!
Hi all, can somebody tell me if I want to debug and find values of local variables inside called method on fork mainnet, how to read inject inside that code and see line by line what is going on. This ofcourse under assumption that I have the source code
Watching this on september 24 2022 and the ERC721 code has changed, the 'mint' method is now '_mint' and the function is now an internal function and as a result, the tests throws a type error member not found. Any fix? @Nader Dabit
In the test instead of having ERC721 erc721 change it to MyNFT erc721. You will notice in the contract MyNFT is defined to inherit from ERC721, and MyNFT has the mint method.
After watching this very well explained intro to Foundry, I can say that I'm gonna keep using hardhat. Thanks Nader!!
Excellent tutorial! As foundry quickly evolves, it´s nice to have updated and detailed material like this one! Thanks a lot!
hi Nadir, I remember we met at Devit conference in Thessaloniki. Your content is always interesting and original, please continue 😊
This was a great intro to foundry, it's a bit similar to hardhat🥂🥂🥂
Great work, I was just wondering what Foundry is, and I am seeing your tutorial 🔥
thank you so much for this tutorial, hope to see more tutorials on Foundry
Many thanks for this easy to follow introduction. Have been using truffle but from my perspective, I think that these solidity tests are cleaner and easier to understand. Also cannot help thinking that on chain deployment of solidity tests on test networks would be an advantage in that it would help mitigate security risks, and be a good starting point for code auditors.
Please make another foundry video. You made it so simple and well explained
Loved it! Thanks Nader! Now I KNOW Foundry!!
Fundamentals of course ;)
this is really a fantastic tutorial, I've referred back to it several times and it's been an invaluable resource!
Great tutorial! Thanks a lot, Nader!
448th..Thanks Nader. You are the best teacher and easy to understand. Would you mind creating more tutorials on ethereum/foundry?
Wish I had seen this sooner!
Very good tutorial! Thank you
good to get started...
excellently done sir
What is the name of the code editor theme you were using in this tutorial? It looks cool
this is very well presented.
can you share the theme of your vs code
Great content!
nice!
Hey Nadir,
so say you have multiple contracts in your project, 2 erc20 and 2 erc721 contracts, can you structure this way:
src/
-erc20/
--erc20-1.sol
--erc20-2.sol
-erc721/
--contract1.sol
--contract2.sol
This kind of setup is a must for the project, is the the appropriate way? Thanks!
What VS Code theme are you using ser? Gibing hacker feel 😄
Hi all, can somebody tell me if I want to debug and find values of local variables inside called method on fork mainnet, how to read inject inside that code and see line by line what is going on. This ofcourse under assumption that I have the source code
Hello,is it possible to make video reviewing new seaport protocol contacts,should be interesting for all
can I have the name of your vscode theme?
Please make tutorial for EstateRegistry API Decentraland to creating editable and updateble nft land
So its a good way to move away from JavaScript system?
I like this color theme - what is it?
cyberpunk theme
@@prizeboy thanks ma broda!
Watching this on september 24 2022 and the ERC721 code has changed, the 'mint' method is now '_mint' and the function is now an internal function and as a result, the tests throws a type error member not found. Any fix? @Nader Dabit
In the test instead of having ERC721 erc721 change it to MyNFT erc721. You will notice in the contract MyNFT is defined to inherit from ERC721, and MyNFT has the mint method.
@@DadepoAderemi I already fixed it. Thanks for the response