Тёмный

Web3 Tutorial : The 2 ways to Send Ether to smart contract 

EatTheBlocks
Подписаться 164 тыс.
Просмотров 15 тыс.
50% 1

Опубликовано:

 

11 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@coolplayer2512
@coolplayer2512 4 года назад
Well explained Julien. Thanks for sharing.
@cryptotester5042
@cryptotester5042 2 года назад
Hi Julien, this tutorial shows the implementation, fine... but how to write a test function to test this locally (ganache)? Thanks in advance.
@MukeshKumar-co5ky
@MukeshKumar-co5ky 3 года назад
Where is cheat sheet actually? the links only redirects to a page where 4-5 points are written and a subscribe news letter button
@bluex217
@bluex217 2 года назад
Hey Julien, thank you! I've purchased your 6 figure blockchain developer course and have just completed the frontend of the MultisigWallet. I love the course, but there's just 1 question I can't seem to find a straight answer to and it's confusing me.. In this video, you've sent ether from metamask (EOA address) to contract, makes sense.. But at the end of this video, you sent ether directly from 1 EOE to another EOA address using web3.js library.. In your MultisigWallet application (haven't completed deploy to Mainnet part yet) you send the ether from EOA -> contract and then contract transfers to another EOA. My questions are: 1. This doesn't work in my application after the quorom reached; the ether not sent to recipient address. 2. What is the "best" way to send eth from EOA->EOA? Should always use the sendTransaction of web3.js or ethers.js or is it more flexible to use a smart-contract?
@EatTheBlocks
@EatTheBlocks 2 года назад
Hello :) We provide support by email (email at the bottom of the video description), or via our private discord server :) Please reach out to us through these channels :)
@bluex217
@bluex217 2 года назад
@@EatTheBlocks will do!
@maypatsawee4420
@maypatsawee4420 2 года назад
Thank you
@thomaskane8444
@thomaskane8444 2 года назад
hello, i noticed your sendTransaction() to a normal address at the end didn't seem to have any specification for Gas. Can this kind of transaction automatically estimate gas or am I missing something?
@MotherCoin
@MotherCoin 3 года назад
Thanks
@piercetaylor8505
@piercetaylor8505 3 года назад
after the deployment of the contract will the script run automatically? if not how do I get it to run after the deployment, automatically?
@Lion-eh8pd
@Lion-eh8pd 4 года назад
While running node index.js I am getting error - UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getId' of undefined
@larryfine4719
@larryfine4719 4 года назад
Just use the address of the contract.
@raghav7633
@raghav7633 4 года назад
But how to get back the ether sent to smart contract for instance, upon winning of team a all ether send to player 1 address or player 2
@EatTheBlocks
@EatTheBlocks 4 года назад
get back the ether? I dont understand the question. once you sent some ether, its just... sent... and you cant have it anymore. Like if you give 1 dollar to someone else, its not yours anymore.
@raghav7633
@raghav7633 4 года назад
@@EatTheBlocks actually i am really confused even asked questions on ethereum stackexchange I am building a betting application and i want to deduct ether from both account on bet I was thinking of using sendrawtransaction And then i am using oraclize to query and on callback given by oraclize transfer the ether but how do i implement this Like take ether and then distribute after getting result Any idea how to send the ether and then distribute it back ?
@raghav7633
@raghav7633 4 года назад
@@EatTheBlocks isn't there any way to just take ether and then give me upon getting a result? By generating transaction or could you help me how to achieve this?
@EatTheBlocks
@EatTheBlocks 4 года назад
@@raghav7633 I dont understand what you want to do :( It's probably easier to ask your question on the forum: forum.eattheblocks.com/
@EatTheBlocks
@EatTheBlocks 4 года назад
@@raghav7633 "take ether" => what does this mean? who take ether? We have to be very specific when we talk of smart contract otherwise there are millions intepretations possible. example: "player 1 sends ether to smart contract, later the smart contract sends ether to player2 when event X occur". something like this
@kimberlyself2409
@kimberlyself2409 3 года назад
Pls can you help me with the whole process to send ETH to another wallet address. Pls I really need ur help I accidentally sent eth from binance using bep20 which is not supported by my other wallet which is a custodial wallet, I don't private pls help out
@EatTheBlocks
@EatTheBlocks 3 года назад
contact the support of your other wallet
@kimberlyself2409
@kimberlyself2409 3 года назад
I have contact then . but they said is a custodial wallet. Pls can't I send it using the video
Далее
Gas Optimization in Solidity: 10 tips
8:01
Просмотров 13 тыс.
5 Nooby Coding Mistakes You NEED To Avoid
19:45
Просмотров 10 тыс.
The Problem With Microservices
17:47
Просмотров 435 тыс.
The Biggest Mistake Beginners Make When Web Scraping
10:21