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.
@oneminutescrolling8 ай бұрын
how to use ehters js how did not state it in video
@MilesArray10 ай бұрын
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 Жыл бұрын
Thanks so much, i have completed this video. It is a practical way to build DApp. Your template is working perfectly.
@ShivamGupta-xw6gh Жыл бұрын
how to deploy it on goerli network is says you have insufficient funds
@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 Жыл бұрын
i got it from your comment section Thank you !! ❤
@icicap Жыл бұрын
I am also facing same error. please guide me
@codeeaterweb3971 Жыл бұрын
Which version you are using?
@musfirahsaleem5299 Жыл бұрын
how you solve this error?
@amansharma4684 Жыл бұрын
getting this same error how did you solved this can you please elaborate
@berlinjino3957 Жыл бұрын
Bro we need react tutorial you the one who can teach that more clearly than anyone in the KZbin
@shortsdaily47002 ай бұрын
finaly an indian god for blockchain
@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]
@bablu19219 ай бұрын
Looks like alchemy has removed Goerli network, what is the other substitute for the same?
@codeeaterweb39719 ай бұрын
Sepolia
@rekhapatil304 Жыл бұрын
getting error with "hardhat run". help
@sanjayamendis50717 ай бұрын
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)
@Codeeater216 ай бұрын
Please see the pinned comment
@snehapandya25246 ай бұрын
How you solved this error ? I am also facing same error
@ImproveProgrammingLogic5 ай бұрын
replace chai.deployed() with await chai.waitForDeployment()
@amayuruupanith133619 күн бұрын
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 Жыл бұрын
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)
@ImproveProgrammingLogic5 ай бұрын
There is a connection problem
@TechPeep13 күн бұрын
you can name this project as a Crowd Funding Website for Developer
@TheGaneshshow Жыл бұрын
Thank you sir, I completed the course sucessfully:)
@codeeaterweb3971 Жыл бұрын
Great 👍
@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. 😔🥲
@devkavathiya912011 ай бұрын
I also this error please solve
@antnguyenvanchien125311 ай бұрын
@@devkavathiya9120 I also have the error, hope you can help me😥
@lathakl183011 ай бұрын
Yes, please help me to resolve. i have tried so many times.
@bablu19219 ай бұрын
change it to chai.waitForDeployment()
@bablu19219 ай бұрын
@@lathakl1830 @haidarmohammad8510 change it to chai.waitForDeployment()
@emmanuelareiza9699 Жыл бұрын
Thank You Ser , Greatting from Colombia
@sajidsafeer4119 ай бұрын
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
@boombasticms8 ай бұрын
I have the same issue, the command "npx hardhat run scripts/deploy.js" isn't working...
@pramodkumar166110 ай бұрын
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.
@codeeaterweb397110 ай бұрын
In which step you are facing problem?
@thejeshwar76809 ай бұрын
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 ?
@kelwinshen4 ай бұрын
same here, do you already solve that?
@mentalcreed06 Жыл бұрын
cant we do the same app but on local testnet ? and without spending real money to post message ?
@codeeaterweb3971 Жыл бұрын
I am also doing the same in the application. I haven't spent any money
@BhagyashriKhedkar-h7sАй бұрын
Script file is not displying
@shankarravi50069 ай бұрын
Is available test account for meta mask???
@ImproveProgrammingLogic5 ай бұрын
Use Ganache or Hardhat for fake Eth
@PalaveeChavan6 ай бұрын
What version we should use because your videos version is not working now
@Codeeater216 ай бұрын
Please see the pinned comment
@vacantvalley-u6q9 ай бұрын
TypeError: Cannot read properties of undefined (reading 'Web3Provider'). I'm getting this error. What should I do?
@shrimanvj83102 ай бұрын
hey have u solve that
@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 Жыл бұрын
Check your wallet balance
@piyushmahajan1477 Жыл бұрын
@@codeeaterweb3971 ya it's zero so how can I increase it, is there any way I can?
@moac8 Жыл бұрын
@@piyushmahajan1477 use faucets
@lathakl183011 ай бұрын
I am followed steps properly but i'm getting error that is "TypeError: chai.deployed is not a function"
@codeeaterweb397111 ай бұрын
Are you using the same dependencies as I am? Please see the pinned comment
@NalinTrivedi-b5o10 ай бұрын
yes sir, we are using exact same dependencies@@codeeaterweb3971
@NalinTrivedi-b5o10 ай бұрын
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 Жыл бұрын
Great explanation!!! Thank you. You are Great 😊
@razorjhon2622 Жыл бұрын
why does hardhat doesn't work with nextjs , i always get an error importing hardhat into next js api or frontend ?
@codeeaterweb3971 Жыл бұрын
I haven't used it. I have to check for his.
@razorjhon2622 Жыл бұрын
@@codeeaterweb3971 thank you please let us know your thought about this
@klausmickelson-6887 Жыл бұрын
Thanks, how one Account is disconnecting automatically after connecting to other account in metamask??
@sadam_khan Жыл бұрын
did you implement it successfully?
@codeeaterweb3971 Жыл бұрын
Cross check with github repo
@sehajpreetkaur1823 Жыл бұрын
It's showing network goerli doesn't exist....how to fix this...plz rply
@codeeaterweb3971 Жыл бұрын
Use sepolia
@sehajpreetkaur1823 Жыл бұрын
@@codeeaterweb3971 is there any tutorial for it.??
@sehajpreetkaur1823 Жыл бұрын
What changes to make in the code ??
@codeeaterweb3971 Жыл бұрын
@@sehajpreetkaur1823 just use sepolia for contract deployment
@brijeshadeshara6157 Жыл бұрын
I got this error in console "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'buyChai')" after clicking on pay button
@codeeaterweb3971 Жыл бұрын
Where are you getting this error?
@brijeshadeshara6157 Жыл бұрын
@@codeeaterweb3971 solved sir. Thanks
@k4kml388 Жыл бұрын
But how you solve this .
@Winter_Snowflakes Жыл бұрын
@@k4kml388 have you solved this error ? help asap
@manusharma5198 Жыл бұрын
@@brijeshadeshara6157 How did you solved this error ?
@jerrywang3225 Жыл бұрын
Thanks for your clear explanation.
@hnazmul Жыл бұрын
Wow. Second Channel.
@prathameshilag2676 Жыл бұрын
how much money or crypto whatever i am paying to buy tea... how i am selecting that..???
@codeeaterweb3971 Жыл бұрын
We are having that in the smart contract
@sahilpujari5735Ай бұрын
Tutorial really helpful thanks for it
@abirkolin4702 Жыл бұрын
thanks brother! It was a great tutorial. Thanks a lot!
@markmark8007 Жыл бұрын
Sorry ,but I can not get facuet for my address ,can you give me a 0.01 georliETH for testing?
@codeeaterweb3971 Жыл бұрын
Hey use sepolia
@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 Жыл бұрын
Yes the length of the message will influence the gas fee. Instead of string you can go for a fixed number of bytes.
@jerrywang3225 Жыл бұрын
@@codeeaterweb3971 Thanks
@Hidden_name1 Жыл бұрын
i'm copying the exactly same thing but getting alot of errors
@codeeaterweb3971 Жыл бұрын
checked the pinned comment
@NalinTrivedi-b5o10 ай бұрын
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
@keshavpatilkp86064 ай бұрын
@-secret-sun- not working
@shrimanvj83102 ай бұрын
@@keshavpatilkp8606 have you solved this
@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 Жыл бұрын
Know at least the fundamentals and useState and useEffect hook for this project.
@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 Жыл бұрын
These are tools for the Blockchain Developers. Making the work easy for them.
@sanskarbomble75548 ай бұрын
How can I do it in sepolia
@codeeaterweb39718 ай бұрын
Simply Change network to sepolia
@sanskarbomble75548 ай бұрын
@@codeeaterweb3971 can you please provide a video on it, as many students may face this issue because goerli requires money
@vimalwebs11 ай бұрын
Sorry!! I feel you have butchered ReactJs by using querySelector.
@codeeaterweb397111 ай бұрын
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.
@vimalwebs11 ай бұрын
@@codeeaterweb3971, You have used useState in other places. I love your content. I'm just saying that it's wrong practice.
@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 Жыл бұрын
Are you using ether js 5 version?
@tkcreations6628 Жыл бұрын
@@codeeaterweb3971 I’m using version 6.7.1
@moac8 Жыл бұрын
can u make an update for sepolia and newer version of ethers pls ? thanks for this video
@codeeaterweb3971 Жыл бұрын
Sure
@moac8 Жыл бұрын
@@codeeaterweb3971 thaks beacause I've an error until i change ethers.Web3Provider(ethereum) and i don't found solution
@40_pravalgautam15 Жыл бұрын
at 1:03:04 on clicking pay my metamask did not appear
@codeeaterweb3971 Жыл бұрын
check your function and whether smart contract instance is there or not
@DEVANGDIXIT-t3rАй бұрын
i am having the same problem. do you able to solve it?
@hariv3658 Жыл бұрын
sir please use english lang for all video my kind request
@DappDeveloper Жыл бұрын
Awesome hai sir
@yazidthedev4281 Жыл бұрын
God bless you.
@larbibenyakhou Жыл бұрын
Thank You Very Much 😍😍
@rockbelleh6237 Жыл бұрын
Tnks alot i appreciate u alot
@HealthyReviewer001 Жыл бұрын
Awsome sir
@gurejalectures Жыл бұрын
Please make videos in hindi
@codeeaterweb3971 Жыл бұрын
Please refer my Hindi channel - code eater
@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 Жыл бұрын
Use lower version of ether js
@CryptoNVA Жыл бұрын
@@codeeaterweb3971 How and which ?
@bablu19219 ай бұрын
I'm getting Deployed contract address: undefined
@sajidsafeer4119 ай бұрын
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
@akshatchaube12134 ай бұрын
@@sajidsafeer411 did you figure it out ?
@sajidsafeer4114 ай бұрын
@@akshatchaube1213 not yet.
@nathanuseni19532 ай бұрын
Replace address with target if you used chai.waitfordeployment...
@UgyenTshering-o3d7 ай бұрын
what do you really want to teach us? nothing special ..no goal of the project
@codeeaterweb39717 ай бұрын
Yes, there was a goal for the project to help beginners feel comfortable about the Blockchain technology.
@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!