One issue I ran into was at timestamp 33:40. After npx hardhat compile I received an error about private key too short, after troubleshooting it was at line 17 of the config file. For some reason "accounts : ['0x{PRIVATE_KEY}']" wasn't working but I got it to work with "accounts: [PRIVATE_KEY]... Putting this comment here in case anyone else has that issue. Great video!
Very helpful video. I would recommend mentioning what you're doing around 15:53 when you jump into hardhat. I had to go back and sort out what was going on through the text that is with the video on the website. The Metamask setup was very slow and thorough, but this very involved step of hardhat was skipped entirely. Thank you
make folder 📁 npm init, package.json file appears, npm install -save-dev hardhat and node_modules and package-lock.json. all good til here, then npx hardhat and I get GLOBAL OPTIONS. What am I doing wrong ?
The video is fine but the text of it should probably be updated to what is currently available. Also it seems my "HelloWorld" is in a loop of some kind during the deployment.
At 33:37 while compiling i got two errors (1)* Invalid value undefined for HardhatConfig.networks.sepolia.url - Expected a value of type string. (2)* Invalid account: #0 for network: sepolia - private key too short, expected 32 bytes i have saved the API_URL in string form in file .env , i don't understand why this error is comping up? and why its showing private key is too short its not in my hand metamask provided me that please help
Awesome. Would be cool if you could eventually cover on to creating our own tokens from scratch, web3 implementations with our contracts and a an exercise where we create simple LP farm or a pancakeswap clone.
Is there anything like this for BSC? I am learning programming and smart contracts. I want to learn interact with an unpublished smart contract (on BSC) without the UI/website, it’s been a very difficult search but it seems like your videos could be relevant to me. Do you have any advice?
Ive tried this tutorial after the ETH merge, ropsten is no longer available so was advised to use goerli, however, when I try to deploy the contract I get an error 100 message saying goerli doesn't exist... anyone had the same issue?
Update your hardhat config file (add options for goerli network in "networks" field and defaultNetwork: "goerli"). Use deploy script with flag --network goerli.
@@gtopanga4935 If you see something like "HH100: Selected network doesn't exist" then that means this is a standard hardhat error (hardhat have nice explanation about errors in their documentation). Anyway, try the same tutorial from Alchemy docs (not the video) for goerli - works fine for me.
constructive feedback: - keep your headshot overlay mounted in the bottom right corner. It's distracting when you move it around all the time. - don't get lost in unnecessary "side tutorials" like vscode shortcuts. There are countless tutorials you can just reference for this. - pay a designer to spend 5-10min polishing your slide deck. It will add that extra touch to make these vids the goto standard.
For people struggling to deploy it through Visual Code Studio: Error HH100: Network goerli doesn't exist. I fixed it by deploying the HelloWorld.sol file through remix. There you can compile and deploy quite easily. I think there is something with the API provided by Alchemy else I have no clue why I got this issue whatever I did...You can also verify it easily once deployed through Remix.
HELLO WORLD!! - Albert
One issue I ran into was at timestamp 33:40. After npx hardhat compile I received an error about private key too short, after troubleshooting it was at line 17 of the config file. For some reason "accounts : ['0x{PRIVATE_KEY}']" wasn't working but I got it to work with "accounts: [PRIVATE_KEY]... Putting this comment here in case anyone else has that issue. Great video!
check for typo errors in your PRIVATE_KEY variable name
mine problem is opposite to yours its saying too long. How did you solved it?
Thank you
He seems very honest and inspirational. I would definitely like to hire him to help me.
Albert, you are an inspiration! Keep these videos coming!
Very helpful video. I would recommend mentioning what you're doing around 15:53 when you jump into hardhat. I had to go back and sort out what was going on through the text that is with the video on the website. The Metamask setup was very slow and thorough, but this very involved step of hardhat was skipped entirely.
Thank you
I was so confused what he went to until I read this lol thank you
I had HH100 all the time even though I did everything correctly.
Eventually I just saved all files I made in VS and ran it again. It worked!
thanks for great tutorial. you made it easy to understand.
Awesome! Wow. You guys made this so easy.
Glad we could help :) - Albert
I really like the way you teach, thank you!
could you show an interaction with a payable function?
Love your videos man!
Awesome work Albert! I hope to be part of the Alchemy team one day.
my hero Albert !!! big love
thanks Ken!!! - Albert
@@AlchemyPlatform omg the great cool guy is in the house!
Thanks dude. You're the best.
happy to help :)
I don't understand what happens at 15:54. What is the program that you opened and how to download it?
Thanks for the update
I'm trying to deploy the contract using "npx hardhat run scripts/deploy.js --network ropsten" but then tells me that Network Ropsten dosnt exist.
me too! how did u fixed it?
Hi, have you been able to fix the issue. I also receive the same response
Save files in VS. It will work. Even though now you can only do this with goerli network
Hey, i think the reason is u might have missed installing some of the hardhat dependencies, i faced a similar problem and realized this
make folder 📁 npm init, package.json file appears, npm install -save-dev hardhat and node_modules and package-lock.json. all good til here, then npx hardhat and I get GLOBAL OPTIONS. What am I doing wrong ?
Same!! Did you ever figure this out??
How do you deploy the contract without private key, i've managed to get users to signed but i want them to use their wallet to deploy the contract.
Awesome video. Thanks bro
glad it was useful!
why we need this smart contract? where could we use?
Hello! After running the script, tells me error hh100 network ropsten doesn't exist
check Stack Overflow or Ethereum Stackexchange for solutions!
Is there a way to make metamask prompt for a password on deployment instead of placing your private key in the code?
Anyone encounter an issue that couldn't get the private key in metamask when writing .env file?
Siga firme com os videos! Te desejo toda sorte com o seu canal! Siga firme com os videos!
te desejo toda sorte com o teu canal!
muito obrigado!
- Albert
What is the tool you used to write the ETH to wei conversion @15:26 ?
The video is fine but the text of it should probably be updated to what is currently available. Also it seems my "HelloWorld" is in a loop of some kind during the deployment.
At 33:37 while compiling i got two errors (1)* Invalid value undefined for HardhatConfig.networks.sepolia.url - Expected a value of type string.
(2)* Invalid account: #0 for network: sepolia - private key too short, expected 32 bytes
i have saved the API_URL in string form in file .env , i don't understand why this error is comping up?
and why its showing private key is too short its not in my hand metamask provided me that
please help
Thanks Albert.
you're welcome :)
sir please make an klaytn smart contract. there is no video on youtube
i see you run on mac os; it is same for windows os?
Hello! I have a contract for OpenSea, can I edit the code in Remix?
Awesome. Would be cool if you could eventually cover on to creating our own tokens from scratch, web3 implementations with our contracts and a an exercise where we create simple LP farm or a pancakeswap clone.
Great ideas!
- Albert
I've found this video very helpful :) ruclips.net/video/XOvtnDx1m5c/видео.html
Ropsten is deprecated on Alchemy (network dropdown selection)
yes! use Goerli now
ropstenn is deprecated in alchemy now
Cool! I love Alchemy
hey bro i wanna ask u if i should my nft name in the place of hello world or what ?
Is there anything like this for BSC? I am learning programming and smart contracts.
I want to learn interact with an unpublished smart contract (on BSC) without the UI/website, it’s been a very difficult search but it seems like your videos could be relevant to me.
Do you have any advice?
on the moment of deploy "Error HH100: Network ropsten doesn't exist" uh oh
i got rid of this error by updating the solidity version
Save files in VS. It will work.
Why is this metamask needed?
Pls teach us intermediate level project next
subscribe to the channel and check out the other videos! :)
Ive tried this tutorial after the ETH merge, ropsten is no longer available so was advised to use goerli, however, when I try to deploy the contract I get an error 100 message saying goerli doesn't exist... anyone had the same issue?
Update your hardhat config file (add options for goerli network in "networks" field and defaultNetwork: "goerli"). Use deploy script with flag --network goerli.
@@georgevoorhes2243 thanks for the response! I'm sure I've done this but still no luck. I must be missing something else...
@@gtopanga4935 If you see something like "HH100: Selected network doesn't exist" then that means this is a standard hardhat error (hardhat have nice explanation about errors in their documentation). Anyway, try the same tutorial from Alchemy docs (not the video) for goerli - works fine for me.
@@georgevoorhes2243 i get hh8 even thou i change everything to goerli
constructive feedback:
- keep your headshot overlay mounted in the bottom right corner. It's distracting when you move it around all the time.
- don't get lost in unnecessary "side tutorials" like vscode shortcuts. There are countless tutorials you can just reference for this.
- pay a designer to spend 5-10min polishing your slide deck. It will add that extra touch to make these vids the goto standard.
Hello Albert I have one Channel in Europe about technology softwares and you want make a video collab?
How do I deploy this on remix?
we have another video on the channel for this!
Wait do you work for the actual Alchemy company?
yup!
For people struggling to deploy it through Visual Code Studio: Error HH100: Network goerli doesn't exist.
I fixed it by deploying the HelloWorld.sol file through remix. There you can compile and deploy quite easily. I think there is something with the API provided by Alchemy else I have no clue why I got this issue whatever I did...You can also verify it easily once deployed through Remix.
Save files in VS. It will work.
when I run this command npm i --save-dev @nomiclabs/hardhat-ethers"ethers@^5.0.0" it cannot find the package does anyone else had this issue??
Hi. I keep getting this error in my terminal when i want to deploy my contract - Error HH100: Network ropsten doesn't exist.
me too! I am having the same error. Can someone give any advice, please?