Thanks for the tutorial, slowly slowly ab samaj aa raha hai ki Blockchain kaise function karta hai backend mein... Thanks for your knowledgeable tutorials
Kshitij you are an amazing teacher. I watched a similar tutorial for ethers.js on Dapp university the content was good but the way they explained stood nowhere infront of your teaching. Keep it up.
The function in which we are taking inputs from users(means we are doing some changes) are write functions and the functions which we are calling simply are read functions.
@53:45 timestamp - if we were using other node service providers like alchemy then using windows.ethereum object of metamask would not have helped ? should we have provided complete URL of our alchemy node like in beginning we used infura ?
sir in ethscan it is showing that eth has been sent from contract to another account but later when i run interaction.js to check contract balance it shows no deduction
I am having issue in sending ether from contract to other accout. Instead of deducting amount from contract balance, it is deducting it from my account which is interacting with contract using metamask. Why?
Issue Solved!, If someone has same problem. I changed sendThUser to this. function sendEthUser(address receiver, uint256 amount) public payable { address payable to = payable(receiver); to.transfer(amount); } by passing amount in msg.value was not working, and we also have to make that receiver payable by type casting.
53:34 write BrowserProvider at line 101 in version v6 54:14 If anyone is facing problem while running coding especially running version v6 he/she must use await at line 103
8:22 sec mein apne readblockchain.js jaise hi banaya to package.json and node modules and package-lock.json fine ban gaya.. mera create nahin hua .. i am stuck jub react application run kar raha hoon.. bol raha hai ke Missing Script "start" ..
Sir apke pass eath the toh apne deploy kar diya hamara pass toh eath hi nahi hsi metamask me toh hamara smart contract toh deploy hi nahi hua kya karu tutorial chod ke jana pada kyuki deploy nahi hua smart contract
Sir @1:06:20 I think pehle account 1 se 0.1 Eth transfer hua Contract me... Phir contract se goerliAccount me transfer hua...kyonki 0.3888 eth tha Account 1 me and after transaction 0.2881 eth bacha.
I was planning to start learning Solidity. But I have seen so much hate towards web3 in youtube space. Some people are believing this blockchain technology willn't be there in the long run. Please give your thoughts. Thank you
Some people are hating that you haven't started. I will tell you some good points you might start with Web3. But what I will suggest is to have your own research and opinion. That would be much better in the long run :)
one thing is wrong in smart contract on sendEthUser it will take the value from main account we need to use "this" keyword to specify that we are sending amount from this contract otherwise it use main account balance. I checked again and again this why my main account balance is cutting then i figure it . solution function sendEthUser(address payable _user, uint _amount) public { require(address(this).balance >= _amount, "insufficient balance"); _user.transfer(_amount); } function parseEther(string memory _amount) internal pure returns (uint256) { bytes memory byteValue = bytes(_amount); uint256 value = 0; for (uint256 i = 0; i < byteValue.length; i++) { uint256 digit = uint256(uint8(byteValue[i])); require(digit >= 48 && digit
you are correct. Its very wrong what he mentioned. We can clearly see account balance changed from 0.38 to 0.28 for account 1 which he said is just fees. entirely wrong. This confused me a lot and I am pretty sure other beginners might be confused too. Pretty unprofessional of him to gloss over this and not correct it. smh
Sir why Testnets are free? because they are also running node like our mainnet, Operational cost may required to maintain testnets.. could you please explain the mechanism.
Testnets are free to use because they are intended for testing and development purposes, and are not intended for real transactions or value exchange. Because of this, the cost of operating a testnet is typically much lower than the cost of operating a mainnet. Testnets are usually maintained by volunteers or by organizations that are interested in supporting the development of the Ethereum ecosystem. These organizations may provide resources and infrastructure to support the testnet, such as servers and bandwidth, in order to make it easier for developers to test and build on the Ethereum platform. In addition to the lower cost of operation, testnets may also be funded by grants or sponsorships from organizations that are interested in supporting the development of Ethereum and blockchain technology. These organizations may see the value in supporting testnets as a way to encourage innovation and advancement in the field. Overall, the cost of operating a testnet is typically much lower than the cost of operating a mainnet, and testnets are typically funded through a combination of volunteer efforts, sponsorships, and grants. This allows testnets to be provided to developers and users at no cost, while still supporting the ongoing development and testing of Ethereum-based applications.
@@AnandJNair-qy6wg Yeah but like our mainnet we are using the network storage to run contracts and there may be some nodes are present where our testnets are running, So who is paying the cost of running testnet nodes? Because Testnet is also distributed network. I hope you understand my question.
@@shrinathpadave8593 Yes, I understand your question. In a testnet, nodes are used to host and run contracts, just as they are on the mainnet. However, the nodes on a testnet are usually run by volunteers or by organizations that are interested in testing and developing new features, software, or applications. These volunteers or organizations are responsible for the cost of running the testnet nodes, which may include costs such as hardware, electricity, and internet connectivity.
You are right. Ignore his reply below because he is wrong. Modify the code of sendEthUser in solidity contract as below: function sendEthUser(address receiver, uint256 amount) public payable { address payable to = payable(receiver); to.transfer(amount); }
Can web3.js/Ethers.js/truffle work with react native? I have just started with blockchain and solidity so i am a bit confused. Can't i just separate all the blockchain and smart contract interactions/logic from the the frontend and handle them on the backend like on an express server?
bro I want to get the balance of the contract but Its giving me error that sending the transaction require a signer although I am only reading the value and us said while reading you only require only provider and infura
@@Codeeater21 bro first of all thank u very much for reply then I am making from end of your lottery solidity smart contract, and when I read balance by using provider I ask me that it require the signer, and when I use the signer It gives me the following error. Error: unknown account #0 (operation="getAddress", code=UNSUPPORTED_OPERATION, version=providers/5.7.2) kindly help me with it....
Assalamualaikum sir! Block chain k lea node js or react dono parhna q zaroori ha? Can you explain the complete roodmap to become a block chain developer?
sir , as we are using async await. So does it mean etherjs methods are asynchrnous in nature because that's why we are using await so that second line will execute only after one ends? and sir there is a correction it's ethers.js not ether.js, maybe it could affect the search results.
Yes we will need addons in future courses.
Excited for the rest of this course
The teachings on this channel are always top notch so informative and easy to understand, it's very hard to find good content online these days
Most Awaited Course ❤️
Thanks for the tutorial, slowly slowly ab samaj aa raha hai ki Blockchain kaise function karta hai backend mein... Thanks for your knowledgeable tutorials
Wow 😱 Thank You Sir
I'm waiting for this course 😍
Sir you always inspire me to learn.
Your videos are superb 🤠
yes, pls follow ur ppt points style, it's easy to use and understand information
Alchemy is a great alternative of infura . UI is also pritty good . I have also used BuildBear which is nice.
Correct 💯
just cleared some big doubts that was popping in my head from past many days . Thanks sir ...
yeah that is absolutely helpful for a student to catch up what they learned by this kind of awesome note.
khithij sir , providing one of best course in free
Yes we will need addons in future courses.
Yes notes will be a good step..
Thank you
I'm super excited
22:55 quicknode rpc
Kshitij you are an amazing teacher. I watched a similar tutorial for ethers.js on Dapp university the content was good but the way they explained stood nowhere infront of your teaching. Keep it up.
Remarkable video sir, Thanks a lot
yes sir I'm super excited
Yes sir I want Notes this is a good activity
32:24 accountBalance() contractBalance() getValue()
The function in which we are taking inputs from users(means we are doing some changes) are write functions and the functions which we are calling simply are read functions.
Correct 💯
yes we need notes
notes help a lot
That was pretty informative :))
32:30 functions that are performing read only are getValue,contractBalance and accountBalance (as all these are of type view)
Correct 💯
which will be better to learn ethereum solidity or ICP motoko......pls ans from the job perspective as well
next course plz chainlink ya moralis pe🙏
I am excited
Really useful for developer like us
Thankyou ❤️
Wao... Great info
@53:45 timestamp - if we were using other node service providers like alchemy then using windows.ethereum object of metamask would not have helped ? should we have provided complete URL of our alchemy node like in beginning we used infura ?
sir in ethscan it is showing that eth has been sent from contract to another account but later when i run interaction.js to check contract balance it shows no deduction
Awesome content 💜
I am having issue in sending ether from contract to other accout. Instead of deducting amount from contract balance, it is deducting it from my account which is interacting with contract using metamask. Why?
Issue Solved!, If someone has same problem. I changed sendThUser to this.
function sendEthUser(address receiver, uint256 amount) public payable {
address payable to = payable(receiver);
to.transfer(amount);
}
by passing amount in msg.value was not working, and we also have to make that receiver payable by type casting.
infura alternative is quicknode, alchemy etc
Thanks for sharing your knowledge with us sir 👨💻⏩⚡🚀🎯✅
sir, I install eather.js but sir node module or package.jsons .. file download nai howi sath can you plz tell me
How i can download separate
53:34 write BrowserProvider at line 101 in version v6
54:14 If anyone is facing problem while running coding especially running version v6 he/she must use await at line 103
iam exited
getValue() , contractBalance() , accountBalance() - only read function.
Correct 💯
Correct 💯
Read Operation
1)getvalue
2)contractBalance()
3)accountBalance()
Thank You so much :)
Haan aur hand written
notes banega toh , good for us
Can we not use infura/alchemy these are 3rd party software which is required payment for production base project ?
getvalue() ..contractBalance()... accountBalance () are three functions which can read
Correct 💯
Metamask internally uses Infura to interact with the Blockchain
Bhaiya please attach ppt slides to other videos too in the description.
It's there
ganache is alternative for infura
22:36 - QuickNode, Alchemy
Correct 💯
23:00 Ans is Alchemy is another blockchain provider that Infura
Correct 💯
8:22 sec mein apne readblockchain.js jaise hi banaya to package.json and node modules and package-lock.json fine ban gaya.. mera create nahin hua .. i am stuck jub react application run kar raha hoon.. bol raha hai ke Missing Script "start" ..
Dost wo ether.js ko install krne se baane hai... install ether.js first
brilliant Work done by this guy by providing ppt .keep it up .best wishes from Pakistan
Sir apke pass eath the toh apne deploy kar diya hamara pass toh eath hi nahi hsi metamask me toh hamara smart contract toh deploy hi nahi hua kya karu tutorial chod ke jana pada kyuki deploy nahi hua smart contract
You can get eth from Sepolia faucet
Sir @1:06:20 I think pehle account 1 se 0.1 Eth transfer hua Contract me... Phir contract se goerliAccount me transfer hua...kyonki 0.3888 eth tha Account 1 me and after transaction 0.2881 eth bacha.
Yes
well you should mention that in your video as its incomplete/incorrect information you showed. @@Codeeater21
Excited Sir Thank You
yes sir please have ppts in future courses too
This notes will be very helpful.. Thanks
nice this is very helping..
ypeError: Cannot read properties of undefined (reading 'JsonRpcProvider')
at Object. sir ye error aa ra hai smjh nhi aara kya problem hai
Use ether 5.7.2 version
We want notes!! 🔥🔥
alternative for infura is alchemy api
Correct 💯
I was planning to start learning Solidity. But I have seen so much hate towards web3 in youtube space. Some people are believing this blockchain technology willn't be there in the long run. Please give your thoughts.
Thank you
Some people are hating that you haven't started. I will tell you some good points you might start with Web3.
But what I will suggest is to have your own research and opinion. That would be much better in the long run :)
22:40 Ankr is alternative of Infura
view function ---->only read the blockchain but can't modified on blockchain
22:46
alchemy
while using web3provider it shows this error
Cannot read properties of undefined (reading 'web3provider')
Use ether js 5th version
Cannot read properties of undefined (reading 'JsonRpcProvider') ****error***
Downgrade ethersjs to 5th version
@@Codeeater21 kar liya bina downgrade kiye😁😁
bhai muje bhi same error mar raha hai kya karu step by step batana bhai pleasss🥲🙏@@builderatoz63
Thank you sir for most detail course of Blockchain development in Hindi/Urdu and also for Replying on Instagram, Love From Pakistan 💖
seahorse basic to advance with 2,,3 projact dapp
can we please have a playlist having all full course videos in the whole channel
There is by the name of Blockchain mastery
We can also use Alchemy(alternative of Infura).
Correct 💯
👏👏👏👏👏👏thaliya bhai
var error = new Error(message); yeh error araha hai sir jab bhi mein node InteractonSC.js run karaha hun
Should i take a course on cryptography for blockchain or your video of 33min in cryptography is enough?
33 min is beginner stuff. If you are looking for depth then definitely you can go for a course. I will also a course on it. But it will take time.
bhai seahorse framework ka course banaiye , sari youtube me uski videos nai hai so apke liye b acha hai or humari bi help hujyegi hindi course
one thing is wrong in smart contract on sendEthUser it will take the value from main account we need to use "this" keyword to specify that we are sending amount from this contract otherwise it use main account balance. I checked again and again this
why my main account balance is cutting then i figure it .
solution
function sendEthUser(address payable _user, uint _amount) public {
require(address(this).balance >= _amount, "insufficient balance");
_user.transfer(_amount);
}
function parseEther(string memory _amount) internal pure returns (uint256) {
bytes memory byteValue = bytes(_amount);
uint256 value = 0;
for (uint256 i = 0; i < byteValue.length; i++) {
uint256 digit = uint256(uint8(byteValue[i]));
require(digit >= 48 && digit
you are correct.
Its very wrong what he mentioned.
We can clearly see account balance changed from 0.38 to 0.28 for account 1 which he said is just fees. entirely wrong.
This confused me a lot and I am pretty sure other beginners might be confused too.
Pretty unprofessional of him to gloss over this and not correct it. smh
Sir why Testnets are free? because they are also running node like our mainnet, Operational cost may required to maintain testnets.. could you please explain the mechanism.
Testnets are free to use because they are intended for testing and development purposes, and are not intended for real transactions or value exchange. Because of this, the cost of operating a testnet is typically much lower than the cost of operating a mainnet.
Testnets are usually maintained by volunteers or by organizations that are interested in supporting the development of the Ethereum ecosystem. These organizations may provide resources and infrastructure to support the testnet, such as servers and bandwidth, in order to make it easier for developers to test and build on the Ethereum platform.
In addition to the lower cost of operation, testnets may also be funded by grants or sponsorships from organizations that are interested in supporting the development of Ethereum and blockchain technology. These organizations may see the value in supporting testnets as a way to encourage innovation and advancement in the field.
Overall, the cost of operating a testnet is typically much lower than the cost of operating a mainnet, and testnets are typically funded through a combination of volunteer efforts, sponsorships, and grants. This allows testnets to be provided to developers and users at no cost, while still supporting the ongoing development and testing of Ethereum-based applications.
@@AnandJNair-qy6wg Yeah but like our mainnet we are using the network storage to run contracts and there may be some nodes are present where our testnets are running, So who is paying the cost of running testnet nodes? Because Testnet is also distributed network.
I hope you understand my question.
@@shrinathpadave8593 Yes, I understand your question. In a testnet, nodes are used to host and run contracts, just as they are on the mainnet. However, the nodes on a testnet are usually run by volunteers or by organizations that are interested in testing and developing new features, software, or applications. These volunteers or organizations are responsible for the cost of running the testnet nodes, which may include costs such as hardware, electricity, and internet connectivity.
@@AnandJNair-qy6wg Okay Thank you so much ❤🙌
ab maza aaega na biru😍😍😍😍
Sir the react app you are compiling gets compiled just by saving it or you are writing any command??
Alchemy can be used in place of infura
Correct 💯
Bhaiya ye contract ka balance or account balance me confusion ho rha h balance to user ka hota h ????
Watch solidity course
You are right. Ignore his reply below because he is wrong.
Modify the code of sendEthUser in solidity contract as below:
function sendEthUser(address receiver, uint256 amount) public payable {
address payable to = payable(receiver);
to.transfer(amount);
}
Thanks Sir 💖💖💖💖
Alchemy is alternative of infura
which extension are you using sir for the auto syntax suggestion here ?
Quick Node is better
And the concept of providing ppt is good 👍
Keep it up Sir ☺️
Correct 💯
Quick node
finallyyyyyyy
Can web3.js/Ethers.js/truffle work with react native? I have just started with blockchain and solidity so i am a bit confused. Can't i just separate all the blockchain and smart contract interactions/logic from the the frontend and handle them on the backend like on an express server?
alchemy is alternative and currently widely used
Correct 💯
Alchemy is another alternative with infura
bro I want to get the balance of the contract but Its giving me error that sending the transaction require a signer although I am only reading the value and us said while reading you only require only provider and infura
Use etherjs version 5
@@Codeeater21 bro first of all thank u very much for reply then
I am making from end of your lottery solidity smart contract, and when I read balance by using provider I ask me that it require the signer, and when I use the signer It gives me the following error.
Error: unknown account #0 (operation="getAddress", code=UNSUPPORTED_OPERATION, version=providers/5.7.2)
kindly help me with it....
Assalamualaikum sir!
Block chain k lea node js or react dono parhna q zaroori ha?
Can you explain the complete roodmap to become a block chain developer?
I already have created a video on it
@codeEater Do infura use full node, Light node, Archieve ... ?
Light node
sir 1:07:00 par aapne "private" key bola hai uski jagah "public" nahi hoga?
Infura Alternative: Alchemy
Alchemy, Quicknode
Correct 💯
sir , as we are using async await. So does it mean etherjs methods are asynchrnous in nature because that's why we are using await so that second line will execute only after one ends? and sir there is a correction it's ethers.js not ether.js, maybe it could affect the search results.
Yes asynchronous.
Thanks I have updated:)
I am excited for this course
Alternate to Infura- Chainstack