We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

0

The approval is likely working, but you're checking for a Transfer event after you call approve. Change that section to check for an Approval event and it should work.


2

Since solidity 0.5 keccak256 is expecting bytes as input and you are passing an uint. You can use abi.encodePacked to convert an arbitrary input to bytes. keccak256(abi.encodePacked( (rw() / (10**20) ) % (10**12) ) )


0

I compiled a list of mobile wallets that make it possible to change the network to a testnet (Goerli, Kovan, Rinkeby or Ropsten): Coinbase Wallet Cipher Browser MetaMask Mobile (you currently cannot connect to localhost because they only allow https dapps) Status


0

You need to pass --rpcvhosts * too


0

As of March 2019, Mist is deprecated. So better use Metamask wallet instead of Mist. Also use Ganache and truffle instead of Geth because you can find more support online for these. Also you can deploy with truffle on any test networks like Ropsten, Kovan etc., but I suggest you use ganache because it is more faster as it has auto mining. And also maybe ...


0

You missed the return keyword in C2. function getX() public view returns (int) { return c1.getX(); } Also, it's confusing to see a variable y in C1's getter, which seems to be there by mistake. Better remove it, like so: function getX() public view returns (int) { return x; }


1

Coinbase Wallet (https://wallet.coinbase.com/) does support this. Go to settings -> advanced -> active network


1

Infura only supports a subset of the Ethereum JSON-RPC endpoints that web3 knows about. You can see the list in Infura's documentation. The RPC that web3.personal.UnlockAccount is trying to use is called [personal_unlockAccount][2]. The personal module is all about maintaining a local wallet, including signing transactions and messages and creating new ...


0

this work for me open -a /Applications/Mist.app --args --rpc < path to geth.ipc > im using ios mojave


4

The seed phrase definitely is enough to recover your account. When installing MetaMask it prompts you to input a seed phrase or generate a new account. Then choose the seed phrase and copy it. As you mentioned it isn't working for you. Make sure you spelled everything correctly. The mnemonic phrase is 12 words. Are you sure you got all of them right? ...


0

As suggested here, log out of your metamask, switch your network to localhost 8545 (this option is already available) and then sign in using your ganache's mnemonic.


Top 50 recent answers are included