Call Other Contracts | Solidity 0.8

  Рет қаралды 22,898

Smart Contract Programmer

Smart Contract Programmer

Күн бұрын

Пікірлер: 42
@CITYBOY5950
@CITYBOY5950 2 жыл бұрын
I love how you don’t waste our time and keep the lessons succinct Great channel and explanations
@TheHummChannel
@TheHummChannel 2 жыл бұрын
Halfway to flash loan
@hernanphillip334
@hernanphillip334 2 жыл бұрын
HAHAHHAa how it turned out?
@Bruhne
@Bruhne Жыл бұрын
Got it! I had been avoiding it for awhile because I didn’t feel I was ready for it. I’ll go back over it later or tomorrow, or both.
@yellemonster
@yellemonster 2 жыл бұрын
This is the exact, specific tutorial I have been searching for! Thank you sir :D
@kotlaarunkumar4251
@kotlaarunkumar4251 11 ай бұрын
very informative n precise
@videowizards1
@videowizards1 2 жыл бұрын
YOU ARE THE MAN
@DeepKulshreshtha
@DeepKulshreshtha 2 жыл бұрын
You kept it simple. That was helpful .. thanks.
@matteotambussi
@matteotambussi 2 жыл бұрын
great educational format!
@jonyrambo8326
@jonyrambo8326 2 жыл бұрын
easy to understand good to be teacher,,
@NishantSingh-zx3cd
@NishantSingh-zx3cd 2 жыл бұрын
Good work brother!
@Bruhne
@Bruhne Жыл бұрын
I enjoy this payable stuff much more than working with arrays lol.
@MrPrajyod
@MrPrajyod 2 жыл бұрын
We can also create Interface and invoke other contracts.
@alidadgar445
@alidadgar445 2 жыл бұрын
Hello. Thank you for your good tutorials. Please provide a tutorial on how to split a source file into smaller pieces of code in separate files. Thank you
@TheVicj92
@TheVicj92 11 ай бұрын
Great video!! Question. What argument are you passing in when you use the contract type as parameter instead of contract address?
@smartcontractprogrammer
@smartcontractprogrammer 11 ай бұрын
contract type is same as address
@TheVicj92
@TheVicj92 11 ай бұрын
@@smartcontractprogrammer Got it. Thanks!
@d.s.5690
@d.s.5690 2 жыл бұрын
Very informative videos, thank you. I have a question, inside the getX method you say: TestContract(_test).getX(); This doesn't mean that you call the constructor of the TestContract? I'm a java dev and this looks like a constructor. I know that in Solidity a constructor is called only when you deploy a contract, and you cannot call it later.
@ZAHID543
@ZAHID543 2 жыл бұрын
Good work sir. Kindly make a video on call and delegate call .
@sdfsfsfd437
@sdfsfsfd437 2 жыл бұрын
Great videos!
@Ts2pc
@Ts2pc 2 жыл бұрын
Very Good! It took me much time to compare this and the solidity 0.5 one.
@masaa2906
@masaa2906 2 жыл бұрын
How about the encoding method? Could you do a video on that?
@santiagoviana2671
@santiagoviana2671 2 жыл бұрын
Good, thanks. Question: can I call deployed contract on mainnet or some testnet?
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
Yes
@santiagoviana2671
@santiagoviana2671 2 жыл бұрын
​ @Smart Contract Programmer Haha, thanks. But how? Is there an example? I would to use a deployed contract function for do a validation.
@Xeway
@Xeway 2 жыл бұрын
Thanks for this video, but I don't understand the difference with Interfaces :/
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
use call to call other contracts without declaring an interface
@smnt
@smnt 2 жыл бұрын
What do you do if you're calling a method that is not defined in your code, e.g. the safeMint() method of an external NFT contract? Presumably those types won't work then
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
use interface
@pitt8221
@pitt8221 2 жыл бұрын
Nice vid, is it possible to call contract function created by other people? If I have the contract address, function name and args. Thank you.
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
yes
@crypto_peng
@crypto_peng 2 жыл бұрын
what is the diff between this "Call Other Contracts" and using "Interface"? Thanks
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
Interface does require you to have the code of the contract that you're calling. Syntax is the same
@Ts2pc
@Ts2pc 2 жыл бұрын
Do we need to define a fallback function in Testcontract contract?
@unaiiglesias9901
@unaiiglesias9901 2 жыл бұрын
is it possible to create a function in contract A, that only can be call by contract B? Thanks
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
Yes, require(msg.sender == contract B)
@sql7002
@sql7002 2 жыл бұрын
Thankssssss🙏🙏🙏🙏
@karich21
@karich21 2 жыл бұрын
How do I call an existing contract using remix? The existing contract was deployed 3 days ago on remix's Javascript VM (London) environment. I have the contract's address. Thanks for your help.
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
Use interface and load the contract on remix
@tnyamwanza
@tnyamwanza Жыл бұрын
How can you be contacted, I have some questions
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
www.smartcontract.engineer/contact
@DuaneScarlett
@DuaneScarlett 2 жыл бұрын
You do awesome work, I love your channel, can you do another video like this using ethers js, especially the part about calling a payable function with arguments, thanks
Call | Solidity 0.8
7:45
Smart Contract Programmer
Рет қаралды 21 М.
Send ETH | Solidity 0.8
6:11
Smart Contract Programmer
Рет қаралды 25 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 136 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 54 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 125 МЛН
Delegatecall | Solidity 0.8
9:26
Smart Contract Programmer
Рет қаралды 25 М.
Calling Parent Constructors | Solidity 0.8
5:02
Smart Contract Programmer
Рет қаралды 10 М.
Unmasking deadrosesxyz $1M in 2024 after only 1,5 year in web3sec
47:47
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 832 М.
Ethereum Secrets: Update Smart Contracts with these 11 Methods! (also Proxy Patterns and Hands-On)
1:19:48
Ethereum-Blockchain-Developer | BlockOnAir
Рет қаралды 22 М.
Solidity Tutorial: Call function of other contract
11:30
EatTheBlocks
Рет қаралды 35 М.
Access Control | Solidity 0.8
11:40
Smart Contract Programmer
Рет қаралды 14 М.
How I Made JavaScript BLAZINGLY FAST
10:10
ThePrimeagen
Рет қаралды 222 М.
Interface | Solidity 0.8
3:14
Smart Contract Programmer
Рет қаралды 22 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН