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
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

I can’t use the whole power of my gpu

My gpu wattage can go up to 110w but the miner uses only 55w what can I do for that?

Categories
Cryptocurrency Ethereum Mastering Development

Smart contract for selling log-in subscription service

If not ethereum, which smart contract token would be best suited for fulfilling the sale of a month-long anonaymous subscription for cryptocurrency that enables the buyer to have their own username and password for a website? how can this be done versus selling website subscriptions by credit card payment. Would it make more sense to […]

Categories
Cryptocurrency Ethereum Mastering Development

Smart contract for selling log-in subscription service

If not ethereum, which smart contract token would be best suited for fulfilling the sale of a month-long anonaymous subscription for cryptocurrency that enables the buyer to have their own username and password for a website? how can this be done versus selling website subscriptions by credit card payment. Would it make more sense to […]