New answers tagged

0

https://www.youtube.com/watch?v=xexCCBbnLQc This video explains how to do something like that using web3. Might wanna check it out. It takes care of the wallet creation part, but if you want to fund the wallets, you're gonna need a source for the funds. Do you want them to be funded in your local blockchain? If yes, you can simply configure hardhat to use ...


2

If your app is on React, you can use react-open-app to enable deep links. If not, you can still borrow its implementation to do it yourself as it's MIT licensed. Also, Metamask Deeplinks is a good tool to get your deeplinks.


0

I had the same problem and I compiled my .sol code more than once and I didn't updated the deployed address, but after updating the deployed address my code worked.


0

Seems I was doing similar tutorial, but received this error on different command However, I just tried one more time, after checking other command, and error dissapeared :O Maybe resetting contracts will work? And after this command it shows smthng like this, taking ether from Truffle


0

Solidity 0.8.0 has breaking changes: address payable is not a type anymore. Only address will be. payable(address) will ensure an address will be payable. payable(0) is valid and is an exception.


0

if someone only send ERC-20 token to the address and no etherum, then how I'll get ethereum to pay as gas fee to transfer the received ERC-20 token to cold wallet You buy ETH and deposit it on the address needing ETH. means if 10000 users do the same thing at the same time, will not it create a problem ? or is there any better solution for this ? Yes. ...


0

payable is a function modifier means it checks if a certain condition is met before starting to execute a function. the condition for a payable modifier is that the msg.value should not be null. means the transactions must contain some ether. any functions with the payable() as the modifier will only execute if the transaction has some ethers. and for the ...


1

I was able to compile it successfully via Remix using the compiler version 0.8.7. Most likely you might be using an older version that isn't able to compile the contract.


0

Simply use 137 for the chain id in your code and then @binance-chain/bsc-use-wallet will work.


0

Using a Factory Contract Just do this, because that's what everyone else (Gnosis Safe, SushiSwap, etc.) are doing.


1

I found the solution at least for me. If you are using the old CDNs, please upgrade them to; https://cdn.jsdelivr.net/npm/ethjs@0.4.0/dist/ethjs.min.js https://cdnjs.cloudflare.com/ajax/libs/web3/1.5.2/web3.min.js


Top 50 recent answers are included