Skip to main content
10 votes
Accepted

I accidentally sent a token to a token contract. Can I get it back?

If you sent a token to a contract address there’s no way to get them back even if the contract’s owner wanted. Unless said contract that received the tokens had implemented a function that allows it ...
pabloruiz55's user avatar
  • 7,676
9 votes

How do I transfer balance to another address? w/o syncing with network

If you want to send a transaction using a full node (you mentioned Geth and the CLI), the full node must be in sync You are correct that your alternative is to use a light wallet such as Jaxx
prodigious's user avatar
9 votes
Accepted

Approve contract to withdraw funds from users's wallet

You're right, your contract should not call the approve method itself, as it would become the msg.sender in the context of the token smart contract, which would cause your contract to self-approve. ...
clement's user avatar
  • 4,322
8 votes

Coinbase and Kraken Transfer Costs

I see what happened. 1ETH was transferred: from 0x2bF0011e4da5a841CE9459c0995Bb2646c4f1D21 (coinbase) to 0xd08436533f63b1342fB89198F963acD8589657AE (intermediary address) with a gas cost of (21000 * ...
Adam Dossa's user avatar
  • 1,297
7 votes
Accepted

Transfer an amount between two ethereum accounts using json-rpc

eth_sendTransaction can be used for sending Ether, for creating contracts and calling contract function. It all depends on the parameters. For just sending Ether, you'd want to fill the value, to and ...
kobigurk's user avatar
  • 413
7 votes

How do I transfer balance to another address? w/o syncing with network

In the end, you simply need to sign a transaction using the private key to that account and broadcast it to the network. There are a variety of ways to do so, depending on your skill level. GUI ...
tayvano's user avatar
  • 16k
7 votes
Accepted

Why are all NFTs created from Null Address on Opensea?

Because the standard says so. https://eips.ethereum.org/EIPS/eip-721 /// @dev This emits when ownership of any NFT changes by any mechanism. /// This event emits when NFTs are created (`from` == 0) ...
William Entriken's user avatar
4 votes

Can't Find My Token on Metamask

I am sure you would have resolved it by now, but I am just putting an answer here for someone who lands here seeking a solution to this question. Well, to see any new ERC20 tokens under the TOKENS ...
Naveen Gupta's user avatar
4 votes

How do I transfer balance to another address? w/o syncing with network

Use https://www.myetherwallet.com . You don't need to download the blockchain for this to work. It's meant to use client-side JavaScript. See What is the recommended way to safely store Ether? for ...
BokkyPooBah's user avatar
  • 40.3k
4 votes
Accepted

Is it possible to empty an Ethereum wallet?

If you're sending the ether to an EOA (externally-owned account, not a contract), then the gas used will always be 21000 gas, so it makes it easy to properly send the maximum. (I've personally done ...
user19510's user avatar
  • 28.1k
4 votes
Accepted

How does bitrex transfer ethereum coins to ETC and viceversa

If I have go ethereum and ethereum classic nodes & their respective wallets running on my server, is it possible for me to transfer/ convert one cryptocurrency to another? No, that's not possible....
Richard Horrocks's user avatar
4 votes
Accepted

How can we detect if tokens are transferred to our smart contract and avoid "allow"?

This is a limitation of ERC20. When Alice pays Bob, she sends a transaction to the token contract to make an accounting entry. There is no standard method for the token contract to inform Bob. The ...
Rob Hitchens's user avatar
  • 55.4k
4 votes

Solidity: "send" and "transfer" are only available for objects of type "address payable", not "address"

You need to define the function as: function unbond(address payable wallet, bytes32 specifier, uint quantity) internal
KNK's user avatar
  • 679
4 votes

How to cancel pending transaction of ethereum from exchange wallet?

There is no way to cancel the transaction (even if you know the tx hash) It is most likely pending for a long time, because of the low gas price. It might take you a few days until your transaction ...
cqx's user avatar
  • 3,462
4 votes
Accepted

How to create transaction data for sending ethereum from multiSig contract to account with Web3.js v1.2.1

To send ethers is very simple: // Submit transfer operation const receipt = await multisig.submitTransaction(recipient, amount, "").send(); // Obtain transactId from receipt const transactionId = ......
Ismael's user avatar
  • 30.5k
3 votes

Move my ether from own Mist-wallet to online wallet

I'd recommend using Parity if you want a local wallet https://ethcore.io/parity.html , recommendation is based solely on its sync speed. is there any possibility to use any online wallet instead? ...
Samuel Hawksby-Robinson's user avatar
3 votes

I accidentally sent a token to a token contract. Can I get it back?

Unfortunately there is no way that you can get your tokens back unless the creator of contract had a function which did that, as far as i can see the contract does not have any such function. Since ...
Vaibhav Chellani's user avatar
3 votes

How is excepting ether from a smart contract different than from a regular address?

It's different, but only slightly more complicated. Transactions from EOA (externally owned accounts, e.g. private key signs a transaction) have a destination and an amount. The exchange or service ...
natewelch_'s user avatar
  • 12.1k
3 votes

Is it possible to send/receive Bitcoin using a smart contract?

The other answer is correct. You can’t do it the way you’re suggesting. But there is such a thing as a bridge. For example ETC Relay (http://btcrelay.org) which allows you to lock bitcoin on the ...
Thomas Jay Rush's user avatar
3 votes

Malicious smart contract and stolen tokens from other contracts?

Generally no, an address can be used to interact with various different contracts and your address interacting with Contract A should not give any special permissions to that contract with regard to ...
Edmund Edgar's user avatar
  • 16.9k
3 votes
Accepted

UPDATED : How to determine "payer address" in "address.transfer(amount)"?

This line: recipient.transfer(amount); transfers amount wei from the contract's balance to the recipient. This line: recipient = msg.sender; means that the recipient is the account that called the ...
user19510's user avatar
  • 28.1k
3 votes
Accepted

Retrieve stuck ether on smart contract

As stated by Thomas and Raghav your problem is in the method forwardAllRaisedFunds that uses weiRaised to transfer funds out of your contract, if that variable has a value larger than available the ...
Ismael's user avatar
  • 30.5k
3 votes

Are gas fees higher when the Ether price is higher?

Gas prices rise based on people trying to outbid each other to make transactions faster. There is no direct tie to eth price, but it is typical to see more congestion when eth prices are higher, ...
Bruce's user avatar
  • 967
3 votes
Accepted

Improving ERC20 transfer

So lets begin from there that if you don't want to receive ETH your functions doesn't have to be payable. For points 1) and 2) this code will help: interface ERC20 { function transferFrom(address ...
Hristo Todorov's user avatar
3 votes

send a signed transaction of wallet A using wallet B (to pay for the gas)

A basic Ethereum transaction looks like this: from – the address of the sender, that will be signing the transaction. recipient – the receiving address. If a contract account, the transaction will ...
Wuzhong - Chainstack DevEx's user avatar
2 votes

OMG withdraw to Ledger Nano S

It did transfer and you can check your balance on Etherscan as well. https://etherscan.io/address/0x6daca8a2016a971d877fb6280f1a6ae24199590e The Ledger doesn't show it on the Ethereum wallet, but you ...
wslyvh's user avatar
  • 488
2 votes

I made a transfer of 0.101, but only 0.09308715 arrived

Don't know without looking at the transaction. You could trace the interaction on etherscan.io by looking up the transaction with the wallet 1 address in the search box. Just follow each step in ...
Dan Williams's user avatar
2 votes

How do I transfer balance to another address? w/o syncing with network

You could use https://www.myetherwallet.com/#send-transaction to send your funds to poloniex Follow these instructions: 1-Find your keystore file. (%appdata%/Ethereuem/keystore in windows). 2-Open ...
Badr Bellaj's user avatar
  • 18.8k
2 votes
Accepted

What is an example of Use a pattern where the recipient withdraws the money?

Adding to @manuhalo's answer, here's the withdrawal example in Solidity docs: This is an example of the withdrawal pattern in practice in a contract where the goal is to send the most money to the ...
eth's user avatar
  • 86k
2 votes

What is an example of Use a pattern where the recipient withdraws the money?

I assume you want to know what the part in bold means. If that's correct, essentially store the value that a recipient is owed in a mapping (i.e. from address to amount), then have a withdraw function ...
manuhalo's user avatar
  • 812

Only top scored, non community-wiki answers of a minimum length are eligible