Categories
Bitcoin Cryptocurrency Mastering Development

Additional Bitcoins sent during a transaction

Ive spent a lot of time reading threads but can’t find anything that matches/explains this transaction that has got me worried: I sent 0.05 BTC from my Bitcoin core wallet to my coinbase wallet, but it has remained unconfirmed for 7 days (and counting now) because I set the transaction fee too low. I was […]

Categories
Bitcoin Cryptocurrency Mastering Development

Can somebody explain this privacy concern with Bitcoin once and for all?

I have a wallet.dat in Bitcoin Core. I generate a new receive address. I give it to some random person who knows my identity. They send me 1 satoshi to that address. How exactly can they then "know my Bitcoin balance and exactly who I do business with"? I have a wallet.dat in Bitcoin Core. […]

Categories
Cryptocurrency Ethereum Mastering Development

How can I make Withdrawal with Metamask api?

I have a system, people buy my erc20 tokens through this system. I want to automatically transfer the token to their wallet address when they buy it. how can I do that? Can this be done with the metamask api?

Categories
Cryptocurrency Ethereum Mastering Development

staticcall – what does this code do?

I’m lost, does anyone understand this code? assembly { success := staticcall(sub(gas(), 2000), 7, input, 0x80, r, 0x60) // Use "invalid" to make gas estimation work switch success case 0 { invalid() } }

Categories
Cryptocurrency Ethereum Mastering Development

How to get the return value of a transaction instead of the transaction receipt in brownie

I have a function in my smart contract called getRandomNumer, and it returns a bytes32. However, in brownie, when I make a transaction it returns the transaction receipt. How do I get the return value? requestId = vrf_consumer.getRandomNumber(get_seed, {‘from’: accounts[0]})

Categories
Cryptocurrency Ethereum Mastering Development

How do I retrieve funds sent to wrong address that doesn’t exist

I sent some funds to my MEW wallet but I fat fingered the address and sent it to a different address that does not seem to exist. How do I claim that address to retrieve funds I see sitting in the block.

Categories
Cryptocurrency Ethereum Mastering Development

Difference between Registrant and Controller of .eth domain?

Usually the registrant and controller are the same for .eth domains, meaning the same Ethereum address appears in both fields, so what does it mean when they are different? Finally, what or who is the Resolver?

Categories
Cryptocurrency Ethereum Mastering Development

Difference between Registrant and Controller of .eth domain?

Usually the registrant and controller are the same for .eth domains, meaning the same Ethereum address appears in both fields, so what does it mean when they are different? Finally, what or who is the Resolver?

Categories
Bitcoin Cryptocurrency Mastering Development

“At first, anyone could spend anyone’s coins”?

I’ve been watching this Bitcoin video: https://youtu.be/ZIugzFygviw?t=294 At the linked-to timestamp, he claims that: Due to bugs, at first, anyone could spend anyone’s coins! I’m not saying that I think he’s lying, but was Bitcoin really that buggy initially? That’s honestly a bit shocking to hear for me. I did think that Bitcoin was quite […]

Categories
Bitcoin Cryptocurrency Mastering Development

To test if my wallet.dat encryption password is correct, MUST I spend coins?

When a Bitcoin Core wallet is encrypted, you (apparently) have to enter the decryption passphrase only when trying to spend coins. You still get to "use" the wallet as in seeing all the transactions and labels. I’m worried that my saved passphrase (partially on the computer/paper and in my head) is not correct. But to […]