Full-Stack Dapp using Solidity, Ether.js, Hardhat, and React JS | Code Eater - Blockchain | English

  Рет қаралды 39,723

Code Eater Web3

Code Eater Web3

Күн бұрын

Пікірлер: 148
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Facing Errors 🔴🔴 If you are facing any errors then please use the same dependency version as I am using here - github.com/kshitijofficial/coffeDapp/blob/main/package.json and github.com/kshitijofficial/coffeDapp/blob/main/client/package.json Most of the time the error are because of ethers.js. So please use ethers js 5 version only.
@oneminutescrolling
@oneminutescrolling 8 ай бұрын
how to use ehters js how did not state it in video
@MilesArray
@MilesArray 10 ай бұрын
Great video on building a full-stack dApp with Solidity, Ether.js, Hardhat, and React JS. It's impressive how these tools come together to create something so powerful. For any devs watching, don't forget how SubQuery can make handling data a breeze, adding even more efficiency to your projects. It’s a game-changer for the web3 space!
@ronrawi7129
@ronrawi7129 Жыл бұрын
Thanks so much, i have completed this video. It is a practical way to build DApp. Your template is working perfectly.
@ShivamGupta-xw6gh
@ShivamGupta-xw6gh Жыл бұрын
how to deploy it on goerli network is says you have insufficient funds
@tkcreations6628
@tkcreations6628 Жыл бұрын
sir !! "npx hardhat run scripts/deploy.js" give me an error like these "TypeError: chai.deployed is not a function at main" can you help me sir !.. i tried but can't solved it 😥
@tkcreations6628
@tkcreations6628 Жыл бұрын
i got it from your comment section Thank you !! ❤
@icicap
@icicap Жыл бұрын
I am also facing same error. please guide me
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Which version you are using?
@musfirahsaleem5299
@musfirahsaleem5299 Жыл бұрын
how you solve this error?
@amansharma4684
@amansharma4684 Жыл бұрын
getting this same error how did you solved this can you please elaborate
@berlinjino3957
@berlinjino3957 Жыл бұрын
Bro we need react tutorial you the one who can teach that more clearly than anyone in the KZbin
@shortsdaily4700
@shortsdaily4700 2 ай бұрын
finaly an indian god for blockchain
@jopadjr
@jopadjr Жыл бұрын
302nd...Thanks mate. You are the best teacher of blockchain I have encountered. Just a quick question, at 1:07:02, line number 11, I did not get why you added [contract]
@bablu1921
@bablu1921 9 ай бұрын
Looks like alchemy has removed Goerli network, what is the other substitute for the same?
@codeeaterweb3971
@codeeaterweb3971 9 ай бұрын
Sepolia
@rekhapatil304
@rekhapatil304 Жыл бұрын
getting error with "hardhat run". help
@sanjayamendis5071
@sanjayamendis5071 7 ай бұрын
hi, when i want to run the deploy the smart contract i get the error. npx hardhat run scripts/deploy.js TypeError: chai.deployed is not a function at main (E:\chaiidapp\scripts\deploy.js:8:14)
@Codeeater21
@Codeeater21 6 ай бұрын
Please see the pinned comment
@snehapandya2524
@snehapandya2524 6 ай бұрын
How you solved this error ? I am also facing same error
@ImproveProgrammingLogic
@ImproveProgrammingLogic 5 ай бұрын
replace chai.deployed() with await chai.waitForDeployment()
@amayuruupanith1336
@amayuruupanith1336 19 күн бұрын
import { ethers } from "hardhat"; async function main() { const Chai = await ethers.getContractFactory("chai"); const chai = await Chai.deploy(); await chai.waitForDeployment() console.log("Chai deployed to:", `${await chai.getAddress()}`); } main().catch((error) => { console.error(error); process.exitCode = 1; }); use this code
@manusharma5198
@manusharma5198 Жыл бұрын
I followed your code, and I'm getting error on clicking "Pay" like: Uncaught (in promise) Error: contract runner does not support sending transactions (operation="sendTransaction", code=UNSUPPORTED_OPERATION, version=6.7.1)
@ImproveProgrammingLogic
@ImproveProgrammingLogic 5 ай бұрын
There is a connection problem
@TechPeep
@TechPeep 13 күн бұрын
you can name this project as a Crowd Funding Website for Developer
@TheGaneshshow
@TheGaneshshow Жыл бұрын
Thank you sir, I completed the course sucessfully:)
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Great 👍
@haidarmohammad8510
@haidarmohammad8510 Жыл бұрын
While using this command "npx hardhat run scripts/deploy.js" I am getting this error"TypeError: chai.deployed is not a function at main" . Please help me Sir. I have tried many times. But I couldn't solve it. I copied the code of package.json from description. But it also couldn't resolve the error. Please help. 😔🥲
@devkavathiya9120
@devkavathiya9120 11 ай бұрын
I also this error please solve
@antnguyenvanchien1253
@antnguyenvanchien1253 11 ай бұрын
​@@devkavathiya9120 I also have the error, hope you can help me😥
@lathakl1830
@lathakl1830 11 ай бұрын
Yes, please help me to resolve. i have tried so many times.
@bablu1921
@bablu1921 9 ай бұрын
change it to chai.waitForDeployment()
@bablu1921
@bablu1921 9 ай бұрын
@@lathakl1830 @haidarmohammad8510 change it to chai.waitForDeployment()
@emmanuelareiza9699
@emmanuelareiza9699 Жыл бұрын
Thank You Ser , Greatting from Colombia
@sajidsafeer411
@sajidsafeer411 9 ай бұрын
Sir I am encountering the issue of undefined after deployment. PS C:\Users\Sky Computer\Desktop\Chai Dapp> npx hardhat run scripts/deploy.js Deployed contract address: undefined. Please guide me how I can fix it. Thanks
@boombasticms
@boombasticms 8 ай бұрын
I have the same issue, the command "npx hardhat run scripts/deploy.js" isn't working...
@pramodkumar1661
@pramodkumar1661 10 ай бұрын
When you make a project, do not skip any step of it, because if even one step is skipped, you are not able to go to the next step.
@codeeaterweb3971
@codeeaterweb3971 10 ай бұрын
In which step you are facing problem?
@thejeshwar7680
@thejeshwar7680 9 ай бұрын
Error: contract runner does not support sending transactions (operation="sendTransaction", code=UNSUPPORTED_OPERATION, version=6.11.1) i got this error what should i do ?
@kelwinshen
@kelwinshen 4 ай бұрын
same here, do you already solve that?
@mentalcreed06
@mentalcreed06 Жыл бұрын
cant we do the same app but on local testnet ? and without spending real money to post message ?
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
I am also doing the same in the application. I haven't spent any money
@BhagyashriKhedkar-h7s
@BhagyashriKhedkar-h7s Ай бұрын
Script file is not displying
@shankarravi5006
@shankarravi5006 9 ай бұрын
Is available test account for meta mask???
@ImproveProgrammingLogic
@ImproveProgrammingLogic 5 ай бұрын
Use Ganache or Hardhat for fake Eth
@PalaveeChavan
@PalaveeChavan 6 ай бұрын
What version we should use because your videos version is not working now
@Codeeater21
@Codeeater21 6 ай бұрын
Please see the pinned comment
@vacantvalley-u6q
@vacantvalley-u6q 9 ай бұрын
TypeError: Cannot read properties of undefined (reading 'Web3Provider'). I'm getting this error. What should I do?
@shrimanvj8310
@shrimanvj8310 2 ай бұрын
hey have u solve that
@piyushmahajan1477
@piyushmahajan1477 Жыл бұрын
i am getting this error: reason: 'insufficient funds for intrinsic transaction cost', code: 'INSUFFICIENT_FUNDS', error: ProviderError: insufficient funds for gas * price + value what to do
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Check your wallet balance
@piyushmahajan1477
@piyushmahajan1477 Жыл бұрын
@@codeeaterweb3971 ya it's zero so how can I increase it, is there any way I can?
@moac8
@moac8 Жыл бұрын
@@piyushmahajan1477 use faucets
@lathakl1830
@lathakl1830 11 ай бұрын
I am followed steps properly but i'm getting error that is "TypeError: chai.deployed is not a function"
@codeeaterweb3971
@codeeaterweb3971 11 ай бұрын
Are you using the same dependencies as I am? Please see the pinned comment
@NalinTrivedi-b5o
@NalinTrivedi-b5o 10 ай бұрын
yes sir, we are using exact same dependencies@@codeeaterweb3971
@NalinTrivedi-b5o
@NalinTrivedi-b5o 10 ай бұрын
bro i was facing the same error but when i installed the exact same dependencies i repeat exacttt as he is doing , your issue will be resolved
@gojosaturo5806
@gojosaturo5806 Жыл бұрын
Great explanation!!! Thank you. You are Great 😊
@razorjhon2622
@razorjhon2622 Жыл бұрын
why does hardhat doesn't work with nextjs , i always get an error importing hardhat into next js api or frontend ?
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
I haven't used it. I have to check for his.
@razorjhon2622
@razorjhon2622 Жыл бұрын
@@codeeaterweb3971 thank you please let us know your thought about this
@klausmickelson-6887
@klausmickelson-6887 Жыл бұрын
Thanks, how one Account is disconnecting automatically after connecting to other account in metamask??
@sadam_khan
@sadam_khan Жыл бұрын
did you implement it successfully?
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Cross check with github repo
@sehajpreetkaur1823
@sehajpreetkaur1823 Жыл бұрын
It's showing network goerli doesn't exist....how to fix this...plz rply
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Use sepolia
@sehajpreetkaur1823
@sehajpreetkaur1823 Жыл бұрын
@@codeeaterweb3971 is there any tutorial for it.??
@sehajpreetkaur1823
@sehajpreetkaur1823 Жыл бұрын
What changes to make in the code ??
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
@@sehajpreetkaur1823 just use sepolia for contract deployment
@brijeshadeshara6157
@brijeshadeshara6157 Жыл бұрын
I got this error in console "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'buyChai')" after clicking on pay button
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Where are you getting this error?
@brijeshadeshara6157
@brijeshadeshara6157 Жыл бұрын
@@codeeaterweb3971 solved sir. Thanks
@k4kml388
@k4kml388 Жыл бұрын
But how you solve this .
@Winter_Snowflakes
@Winter_Snowflakes Жыл бұрын
@@k4kml388 have you solved this error ? help asap
@manusharma5198
@manusharma5198 Жыл бұрын
@@brijeshadeshara6157 How did you solved this error ?
@jerrywang3225
@jerrywang3225 Жыл бұрын
Thanks for your clear explanation.
@hnazmul
@hnazmul Жыл бұрын
Wow. Second Channel.
@prathameshilag2676
@prathameshilag2676 Жыл бұрын
how much money or crypto whatever i am paying to buy tea... how i am selecting that..???
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
We are having that in the smart contract
@sahilpujari5735
@sahilpujari5735 Ай бұрын
Tutorial really helpful thanks for it
@abirkolin4702
@abirkolin4702 Жыл бұрын
thanks brother! It was a great tutorial. Thanks a lot!
@markmark8007
@markmark8007 Жыл бұрын
Sorry ,but I can not get facuet for my address ,can you give me a 0.01 georliETH for testing?
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Hey use sepolia
@jerrywang3225
@jerrywang3225 Жыл бұрын
Will the length of the message influence our gas fees? Is there a way to limit the length of the message for user input? Thanks
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Yes the length of the message will influence the gas fee. Instead of string you can go for a fixed number of bytes.
@jerrywang3225
@jerrywang3225 Жыл бұрын
@@codeeaterweb3971 Thanks
@Hidden_name1
@Hidden_name1 Жыл бұрын
i'm copying the exactly same thing but getting alot of errors
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
checked the pinned comment
@NalinTrivedi-b5o
@NalinTrivedi-b5o 10 ай бұрын
someone please help me, after running npx hardhat run scripts/deploy.js it is showing that chai.deployed is not a function need help please
@keshavpatilkp8606
@keshavpatilkp8606 4 ай бұрын
@-secret-sun- not working
@shrimanvj8310
@shrimanvj8310 2 ай бұрын
@@keshavpatilkp8606 have you solved this
@suryam_29
@suryam_29 Жыл бұрын
Brother, How much react should I know, to start to learn this video??? I knew solidity very well. But, I don't know Javascript so, i am on the to finish it.... But, within it, again React ... 😢😢
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Know at least the fundamentals and useState and useEffect hook for this project.
@southredmondtoxik1885
@southredmondtoxik1885 Жыл бұрын
Bro why do we you hardhat or truffle like those. These names confused me😢 what are the advantages of using hardhat or truffle?
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
These are tools for the Blockchain Developers. Making the work easy for them.
@sanskarbomble7554
@sanskarbomble7554 8 ай бұрын
How can I do it in sepolia
@codeeaterweb3971
@codeeaterweb3971 8 ай бұрын
Simply Change network to sepolia
@sanskarbomble7554
@sanskarbomble7554 8 ай бұрын
@@codeeaterweb3971 can you please provide a video on it, as many students may face this issue because goerli requires money
@vimalwebs
@vimalwebs 11 ай бұрын
Sorry!! I feel you have butchered ReactJs by using querySelector.
@codeeaterweb3971
@codeeaterweb3971 11 ай бұрын
While creating a tutorial I need to make sure that I am doing as beginner-friendly as possible. As the video is more focused on Blockchain going into nuances of react will create confusion for students who are starting with blockchain.
@vimalwebs
@vimalwebs 11 ай бұрын
@@codeeaterweb3971, You have used useState in other places. I love your content. I'm just saying that it's wrong practice.
@tkcreations6628
@tkcreations6628 Жыл бұрын
1.03.08 when I try to console my transaction the error is "Uncaught (in promise) TypeError: contract.buyChai is not a function" could you please help me sir !!
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Are you using ether js 5 version?
@tkcreations6628
@tkcreations6628 Жыл бұрын
@@codeeaterweb3971 I’m using version 6.7.1
@moac8
@moac8 Жыл бұрын
can u make an update for sepolia and newer version of ethers pls ? thanks for this video
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Sure
@moac8
@moac8 Жыл бұрын
@@codeeaterweb3971 thaks beacause I've an error until i change ethers.Web3Provider(ethereum) and i don't found solution
@40_pravalgautam15
@40_pravalgautam15 Жыл бұрын
at 1:03:04 on clicking pay my metamask did not appear
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
check your function and whether smart contract instance is there or not
@DEVANGDIXIT-t3r
@DEVANGDIXIT-t3r Ай бұрын
i am having the same problem. do you able to solve it?
@hariv3658
@hariv3658 Жыл бұрын
sir please use english lang for all video my kind request
@DappDeveloper
@DappDeveloper Жыл бұрын
Awesome hai sir
@yazidthedev4281
@yazidthedev4281 Жыл бұрын
God bless you.
@larbibenyakhou
@larbibenyakhou Жыл бұрын
Thank You Very Much 😍😍
@rockbelleh6237
@rockbelleh6237 Жыл бұрын
Tnks alot i appreciate u alot
@HealthyReviewer001
@HealthyReviewer001 Жыл бұрын
Awsome sir
@gurejalectures
@gurejalectures Жыл бұрын
Please make videos in hindi
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Please refer my Hindi channel - code eater
@villageadventurebd3826
@villageadventurebd3826 Жыл бұрын
TypeError: no matching function (argument="key", value="deployed", code=INVALID_ARGUMENT, version=6.6.2) at makeError (C:\chaiapp ode_modules\ethers\src.ts\utils\errors.ts:670:21) at assert (C:\chaiapp ode_modules\ethers\src.ts\utils\errors.ts:694:25) at assertArgument (C:\chaiapp ode_modules\ethers\src.ts\utils\errors.ts:706:5) at Interface.getFunctionName (C:\chaiapp ode_modules\ethers\src.ts\abi\interface.ts:542:23) at buildWrappedMethod (C:\chaiapp ode_modules\ethers\src.ts\contract\contract.ts:334:34) at Object.get (C:\chaiapp ode_modules\ethers\src.ts\contract\contract.ts:747:39) at main (C:\chaiapp\scripts\deploy.js:9:14) at processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 'INVALID_ARGUMENT', argument: 'key', value: 'deployed' } This error show. plz help
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Use lower version of ether js
@CryptoNVA
@CryptoNVA Жыл бұрын
@@codeeaterweb3971 How and which ?
@bablu1921
@bablu1921 9 ай бұрын
I'm getting Deployed contract address: undefined
@sajidsafeer411
@sajidsafeer411 9 ай бұрын
I am encountering the same issue of undefined after deployment. PS C:\Users\Sky Computer\Desktop\Chai Dapp> npx hardhat run scripts/deploy.js Deployed contract address: undefined
@akshatchaube1213
@akshatchaube1213 4 ай бұрын
@@sajidsafeer411 did you figure it out ?
@sajidsafeer411
@sajidsafeer411 4 ай бұрын
@@akshatchaube1213 not yet.
@nathanuseni1953
@nathanuseni1953 2 ай бұрын
Replace address with target if you used chai.waitfordeployment...
@UgyenTshering-o3d
@UgyenTshering-o3d 7 ай бұрын
what do you really want to teach us? nothing special ..no goal of the project
@codeeaterweb3971
@codeeaterweb3971 7 ай бұрын
Yes, there was a goal for the project to help beginners feel comfortable about the Blockchain technology.
@rnuregistro2368
@rnuregistro2368 Жыл бұрын
Thank you very much. Almost good with everything: I cannot get the date OK from the timestamp, it says "Invalid Date": new Date(memo.timestamp * 1000).toLocaleString() Am I missing something here? Thanks!
@codeeaterweb3971
@codeeaterweb3971 Жыл бұрын
Check your memo.timestamp value
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,7 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,2 МЛН
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 16 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,8 МЛН
Build Your First Blockchain App Using Ethereum Smart Contracts and Solidity
1:31:07
JavaScript Authentication Tutorial - No Backend Needed!
35:04
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,7 МЛН