0

I would like to develop a program that sends ETH. But I don't want to rely on an exchange such at bittrix or poloniex, as this causes delay (approving time), hassle (confirmation E-Mail), and often even additional costs (withdrawal fee).

Using a wallet, I can avoid these disadvantages. If I understand it correctly, even "online" wallets such as MyEtherWallet do not have these disadvantages.

Is there a (online) wallet offering a (REST) API? Or am I missing something and using a wallet is a stupid idea? How would you do it otherwise?

2

Since you tagged your post with python, you might be especially interested in web3.py docs and github.

Then you could run your own local geth node, and use python to send ether, using:

from web3 import Web3, IPCProvider

web3 = Web3(IPCProvider())

web3.eth.sendTransaction({
    'to': '0x5B2063246F2191f18F2675ceDB8b28102e957458',
    'from': web3.eth.coinbase,
    'value': 12345,
    })
| improve this answer | |
  • Is there a solution that does not involve running a local geth node? More similar to a REST API e.g. offered by bitfinex? – langlauf.io Aug 20 '17 at 18:10
  • Why did you use web3.eth.coinbase ? – langlauf.io Aug 20 '17 at 18:41
  • I'm not familiar enough with those type of solutions to give a thorough answer. Examples that I've seen tend to leave too much power in the hand of the wallet service. Whether it's an exchange or a wallet, if the ether is in a 3rd-party service, it's not your ether (they can walk away with it and you have no recourse). – carver Aug 20 '17 at 18:43
  • I just thought coinbase looked cleaner than web3.eth.accounts[0], but for most people it's the same thing. – carver Aug 20 '17 at 18:45
  • true, however would be very convenient. No extra installation and running of software. Just a simple REST API call. – langlauf.io Aug 20 '17 at 18:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.