Great video man! i am really thankful. I watched many other videos and it was so complicated to follow and understand, although i have over 8 years experience as dotnet and web developer... with your video i was able to understand it very well, thanks agaibn
OK Artur Here is The Feedback ...... GREAT JOB. 1/ NOT too Complicated NOT too silly Simple ! 2/ The Spec is close to a DApp I have been trying to Prototype. 3/ Nobody else had solved the Move Ether from the Wallet without using the Remix Value Box in the Deploy section. 4/ Now we are left with the problem of re-using the Deployed Contract once we've closed down Remix for the night. How do we relink up to it ? 5/ I loved your interaction with the Contract Address from Etherscan. I hadn't see that before so please do more of that. 5/ Can the Contract be run from Etherscan without using REmix once it has been deployed. I'd like to see that as it will build up my Etherscan skills. Dude. H
I write my first smart contract for a crowdsale I setup usdt as the accepted payment option but when I test the buy token function it send fractional amount if usdt to the funding wallet. How can I set to that it sends the whole amount
hey artur , i saw u are using Rinkeby testnet , may i know why ? i always thought ropsten is better idk, which would u think is best for testing a smart contract ? thanks!
I am new to blockchain technology; I was following your tutorial to write my first smart contract. While deploying the smart contract, I was stuck because Rinkeby's wallet was empty to pay the gas fee. Please suggest how to fill some ETH in my Rinkeby wallet for testing. Do I need real ETH in the Rinkeby Test Network to deploy the smart contract and test the code? This way, the learning will be very costly to the new developers. Please suggest some workaround for new developers.
How do you recover the deployed contract if it disappeared? I changed pages and my deployed and funded contract disappeared. I still have the address and can verify the contract. I am unable to view, stop, start or withdrawal on the contract because it's not longer there in remix. Any ideas would be helpful. Thank you.
if you made a mistake in contracts it won't be deployed since the script or version are not compatible, but if you referring to values that is different story.
Hi Mate! Let me ask, how can I put anykind of Github Repo's to Remix, or how can I put anyone Folders from my Computer to Remix also?? Thanks forwards!
Hi thanks great video , just an issue how do we get back to the smart contract in REMIX few days later ?indeed the deployed contract is not in the remix application anymore . Is there a link with the browser refreshing/cleaned , How can I interact again with this contract in a new browser?
Sure thing. Any backend language may use smart contracts. Just include right library, provide smart contract address, network, ABI code and you good to go :)
hey, thanks for the video, I learned a lot from it. If you see this, I am having trouble figuring out why the message "Only owner can withdraw" is not appearing in my error message although the error message does appear. I just can't seem to get it to return the nice labels even though it will not let addresses other than owner withdraw. Is there anything I should try? I've rewatched this video many times and am not seeing where I've gone wrong
Hi great video, what will it cost to deploy a ERC-721 contract I've made it on rinkeby testnet and made a lazy minting dapp. when I tried to mint that on my website it shows the fee as 650$. is it contract deploying fee ? Or did I make something wrong m (I will try it on mainnet in remix to see the deoploying fee)
$650 sounds super expensive. Not sure to tbh... I'd advise you to deploy contract and do minting on Rinkeby. Then check gas spendings in the block explorer and just calculate them for mainnet average base fee. It should give you better overview on costs.
Hi Artur, would the withdraw process be the same from a bnb based contract as I deposited some funds into a contract, however cannot seem to withdraw them and overall find them :(
Well it depends on your contract code. If contract "knows" how to use funds sent to it then it's all good. However if you moved coins to token that doesn't know how to withdraw/transfer them then I'm afraid funds are lost forever...
@@ArturChmaro i'm no expert, but your balance variable could go out of sync with the real balance. If you'd replace line 13 with balance += msg.value * 2 (it's an absurd case, I know) this would be obvious since address(this).balance would have a different value than balance
I'm not BSC expert, but from my point of view BUSD is just an ERC20, so your contract has to be aware of how to deal with ERC20 (collect, withdraw and transfer them). Just include ERC20 interface and that's it :)
Hi dear Admin, could I ask you how to change Metadata in solidity 0.4.24 in order to compile a new contract with a different name, symbol, total supply? I have just got stuck. I do really appreciate if possible kindly instruct me to sort out the problem and compile the file. Thank you, sir ☺
You have to customize code a bit. Just add variables to store tax values, calculate the tax and forward it to other address or just hold it within the contract ;)
@@ArturChmaro hi arthur, would you mind to show example please :) Besides, I’ve seen some of the project disable the sell function for the first 15mins, they claimed that is to anti bot, so we can set that ‘sell’ function on or off in here too?
Just copy-paste address of the contract and import it to Remix IDE. It works for contracts deployed to networks only (doesn't work for JS VM deployed contracts)
@@ArturChmaro would be great to go deeper and understand (for us) how the contract could receive multiple tokens, such as eth, matic, etc , btw btc can be included as well on the same contract ? I guess we have to deploy 1 contract per chain so each coin has unique address per coin?? Nevertheless not clear about non ETH world as BTC, immense thanks as always
Wei refers to the smallest denomination of ether (ETH), the currency used on the Ethereum network. For instance, 1 ether (ETH) is equivalent to 1* 10^18 wei
Hello Artur. Really like this video presentation. I get everything to work. Plus my smart contract shows 57.000 ether on the VM network. When I check the contract in Ethers it shows a balance of 57.054160009418068523 Ether and Tokens equal 0: I can't switch to the Injected web3 network. Any suggestions? Thxs Henry
Have you deployed contract to Javascript VM and then tried to call it from ethers? I'm afraid it won't work. You have to deploy contract to testnet and then call from ethers.
🎁 Web3 Starter for JS Devs (free email course): @t
How can I contact you because i need help
Oh my god, I've been like 3 days looking for a guide like this, thank you for sharing and explaining so clearly!
Glad it helped you ;)
that was a GREAT tutorial ! Thank you for making all your explanations so clear - it's very very helpful. thanks again Artur !
Glad it was helpful!
the sound quality and words clarity is awesome ...
Glad you liked it!!
Great intro to Remix.IDE and basic smart contracts!
Glad you like it!
Solid video, thank you. Very easy to learn with a great teacher!
Glad you enjoyed it!
Great video man! i am really thankful. I watched many other videos and it was so complicated to follow and understand, although i have over 8 years experience as dotnet and web developer... with your video i was able to understand it very well, thanks agaibn
Glad it helped!
good content. Clearly and thoroughly illustrates basic concepts! liked and subscribed
Awesome, thank you!
Very clear explanation of Smart Contract in minimum possible time. Thanks for making this.
Glad you enjoyed it!
Glad I found your video bro. Easy to understand.
my English is not good, but i understand completely, what you say, thank you for your simple but professional explication.
Glad that my video helped you Hadi!
OK Artur Here is The Feedback ...... GREAT JOB. 1/ NOT too Complicated NOT too silly Simple ! 2/ The Spec is close to a DApp I have been trying to Prototype. 3/ Nobody else had solved the Move Ether from the Wallet without using the Remix Value Box in the Deploy section. 4/ Now we are left with the problem of re-using the Deployed Contract once we've closed down Remix for the night. How do we relink up to it ? 5/ I loved your interaction with the Contract Address from Etherscan. I hadn't see that before so please do more of that. 5/ Can the Contract be run from Etherscan without using REmix once it has been deployed. I'd like to see that as it will build up my Etherscan skills. Dude. H
I write my first smart contract for a crowdsale I setup usdt as the accepted payment option but when I test the buy token function it send fractional amount if usdt to the funding wallet. How can I set to that it sends the whole amount
hey artur , i saw u are using Rinkeby testnet , may i know why ? i always thought ropsten is better idk, which would u think is best for testing a smart contract ? thanks!
Thanks for the upload!
No problem! 😉
Real solid job my friend :D
Thanks mate 😃
Thank you for your video! Quick question: Why can't we create contracts on remix for production? What are the concerns again?
Very helpful, thank you!
You're welcome!
Thanks a lot for your video. Very useful. I have a question: is it possible to use a smart contract for a booking website to track stuff?
I am new to blockchain technology; I was following your tutorial to write my first smart contract. While deploying the smart contract, I was stuck because Rinkeby's wallet was empty to pay the gas fee. Please suggest how to fill some ETH in my Rinkeby wallet for testing. Do I need real ETH in the Rinkeby Test Network to deploy the smart contract and test the code? This way, the learning will be very costly to the new developers. Please suggest some workaround for new developers.
After writing my smart contract in remix ide, how do i save it into my harddisk? I cannot save the code anywhere.
Awesome 👍
How do you recover the deployed contract if it disappeared? I changed pages and my deployed and funded contract disappeared. I still have the address and can verify the contract. I am unable to view, stop, start or withdrawal on the contract because it's not longer there in remix. Any ideas would be helpful. Thank you.
there is option to load contract from address. Just make sure the code is the same and paste the address of contract in Deploy > Contract > At address
Artur, great tutorial. What if I made a mistake and deployed in Remix before my contract was updated? What can I do?
if you made a mistake in contracts it won't be deployed since the script or version are not compatible, but if you referring to values that is different story.
I’m getting the error for function withdraw(uint amount, address payable destaddr) public {
Great starter, thanks
You're welcome!
Sir plz show me how to write bnb smart contract code for flash loans
Hi Mate! Let me ask, how can I put anykind of Github Repo's to Remix, or how can I put anyone Folders from my Computer to Remix also?? Thanks forwards!
Hi thanks great video , just an issue how do we get back to the smart contract in REMIX few days later ?indeed the deployed contract is not in the remix application anymore . Is there a link with the browser refreshing/cleaned , How can I interact again with this contract in a new browser?
Just write down address and import it to Remix after deploying to testnet ;)
@@ArturChmaro thanks for reply can we DM? or give me a link how to do it thanks again
Great video Thanks!
Glad you liked it!
can we use this contract directly from server side like php?
Sure thing. Any backend language may use smart contracts. Just include right library, provide smart contract address, network, ABI code and you good to go :)
Why the contract should count its own balance? Isn't there any variable that already has the value of contracts balance?
It's just an example of how to store/read values from contract. You may of course fetch balance using address.balance :)
@@ArturChmaro thanks! I just learned smart contract from your video.
How can I make a function to collect the fee (1% of each transaction) into a new wallet address to use the fees for buyback periodically ?
Thanks man!
No problem!
Hey man. I love your video. Do you know how I can stop a mint that has not had the consideration included, and now sits in pending state.
hey, thanks for the video, I learned a lot from it. If you see this, I am having trouble figuring out why the message "Only owner can withdraw" is not appearing in my error message although the error message does appear. I just can't seem to get it to return the nice labels even though it will not let addresses other than owner withdraw. Is there anything I should try? I've rewatched this video many times and am not seeing where I've gone wrong
Hi great video, what will it cost to deploy a ERC-721 contract I've made it on rinkeby testnet and made a lazy minting dapp. when I tried to mint that on my website it shows the fee as 650$. is it contract deploying fee ? Or did I make something wrong m (I will try it on mainnet in remix to see the deoploying fee)
$650 sounds super expensive. Not sure to tbh... I'd advise you to deploy contract and do minting on Rinkeby. Then check gas spendings in the block explorer and just calculate them for mainnet average base fee. It should give you better overview on costs.
Hi Artur, would the withdraw process be the same from a bnb based contract as I deposited some funds into a contract, however cannot seem to withdraw them and overall find them :(
Well it depends on your contract code. If contract "knows" how to use funds sent to it then it's all good. However if you moved coins to token that doesn't know how to withdraw/transfer them then I'm afraid funds are lost forever...
hello sir, why my gas fee is high than yours? can you please help me on this situation?
please do you have any video arbitrage and earn Eth from arbitrage
Loved the video, Can you show me the direction if I want to deploy a smart contract on DigiByte?
Haven't heard of this digi thing
Nice 👍🏻 I understood
Glad it helped
what if i dont have any eth in may metamask can i still mkae this smart contaract program?
You can, but not on real network. For production you need real crypto
great video! isn't it better to track the account's balance through address(this).balance?
Why better?
@@ArturChmaro i'm no expert, but your balance variable could go out of sync with the real balance. If you'd replace line 13 with balance += msg.value * 2 (it's an absurd case, I know) this would be obvious since address(this).balance would have a different value than balance
Can you record an alternative to faucet ropsten? That doesn't work any longer. Thanks
Try chainlink faucets or polygon Mumbai :)
good content! thanks!
Deployed on BSC, how a contract can recive BUSD? Thanks anyway for an answer
I'm not BSC expert, but from my point of view BUSD is just an ERC20, so your contract has to be aware of how to deal with ERC20 (collect, withdraw and transfer them). Just include ERC20 interface and that's it :)
very useful bro thanks
Happy to help Pankaj!
I have a smart contract I deployed and need help withdrawing the funds to the proper account if you can help me would be greatly appreciated
How to add eth in metamask
Great video man. how can i add. max buy limit. set custom tax for buys and sells and also send those tax to a designated wallet?
Will try to shoot video on that soon ;)
Hello ben i have one question : How to do Unlockable Content with smart contracts?
You can just add it as private function that may be called by owner only.
this contract is not on the real blockchain right ?? how to deploy it on the real blockchain , please reply
I need help can we change a contract once it has been deployed
Not possible if the contract is not prepared for it.
@@ArturChmaro where I can send pictures
@@ArturChmaro I need help
could i know your theme in vscode
Hi dear Admin, could I ask you how to change Metadata in solidity 0.4.24 in order to compile a new contract with a different name, symbol, total supply? I have just got stuck. I do really appreciate if possible kindly instruct me to sort out the problem and compile the file. Thank you, sir ☺
Not sure I got you right. Can you upload code somewhere and provide the link?
hi artur, how do we set the buy and sell tax over here?
You have to customize code a bit. Just add variables to store tax values, calculate the tax and forward it to other address or just hold it within the contract ;)
@@ArturChmaro hi arthur, would you mind to show example please :)
Besides, I’ve seen some of the project disable the sell function for the first 15mins, they claimed that is to anti bot, so we can set that ‘sell’ function on or off in here too?
HOW DO I RE-ACCESS A CONTRACT IF THE BROWSER CLOSES TO END IT?
Just copy-paste address of the contract and import it to Remix IDE. It works for contracts deployed to networks only (doesn't work for JS VM deployed contracts)
Does this work also for creating smart contract for polygon in order to sell nfts on opensea?
Yep, just set your provider to Polygon and that's it. You can deploy straight from REMIX.
Thank you
Welcome!
So is this a way to make money ?
is it compatible in ERC1155?
yes
@@ArturChmaro would be great to go deeper and understand (for us) how the contract could receive multiple tokens, such as eth, matic, etc , btw btc can be included as well on the same contract ? I guess we have to deploy 1 contract per chain so each coin has unique address per coin?? Nevertheless not clear about non ETH world as BTC, immense thanks as always
Can I do this with just 30$
Hey can you explain why the notation of the withdawal amount is 1 with many zeros behind instead of , e.g 0.1 as I would expect.
Wei refers to the smallest denomination of ether (ETH), the currency used on the Ethereum network. For instance, 1 ether (ETH) is equivalent to 1* 10^18 wei
Hello Artur. Really like this video presentation. I get everything to work. Plus my smart contract shows 57.000 ether on the VM network. When I check the contract in Ethers it shows a balance of
57.054160009418068523 Ether and Tokens equal 0:
I can't switch to the Injected web3 network. Any suggestions? Thxs Henry
Have you deployed contract to Javascript VM and then tried to call it from ethers? I'm afraid it won't work. You have to deploy contract to testnet and then call from ethers.
WELL DONE. H
Thanks!
Can you help me with something!
bro how to get ether test net?
Just google for "rinkeby faucet" or {testnet name} faucet ;)
This is vulnerable to reentrancy
15:21
Artur do you have telegram? I want to talk with you
Sure, ping me at @chmarus
Artur Hi ... Dude .. See you on Twitter then Email ... H