0

Does Electrum use Bitcore Apis as it's backend or not?

If not, then what is the purpose of developing Electrum when Bitcore Apis provides all the features Electrum has (like HD wallets and master seeding)?

1

Electrum uses the electrum-server backend (electrumx is a newer variant)

In fact, electrum actually predates bitcore by about 2 years.

As to why there are multiple implementations of similar APIs and softwares, the answer is really "Why node?". Even the bitcoin node software has multiple implementations (Bitcoin Core and btcd, for instance).

This is a very open source friendly space, and it is generally actively encouraged to have multiple approaches to a problem.

  • Hi Raghav, so is it right to say that Electrum-api alone (after electrum-server is setup) provides all the basic methods to create wallets, add multiple addresses, create, initiate, send or cancel a transaction, etc.? Not to forget I also want to adjust txn fee during submitting the transaction. Is it all possible with Electrum-api or do I need to use Bitcore? – Gagan Jul 27 '18 at 9:39
  • 1
    Electrum's APIs will help you view address balances/outputs, build a transaction, and broadcast it. Key generation, wallets, and signing are handled by the electrum frontend client, not by the server. They keys never leave the client device – Raghav Sood Jul 27 '18 at 9:42
  • Electrum frontend client such as? – Gagan Jul 27 '18 at 9:48
  • Such as Electrum – Raghav Sood Jul 27 '18 at 9:48
  • 1
    Electrum will likely be your best option for a complete solution quickly, to be honest. – Raghav Sood Jul 27 '18 at 10:01
1

No

Electrum uses an Electrum Server as an API, which holds information on block headers, UTXOs and information on address balances and historical transactions. Electrum does all key management on the client and no critical user information are stored on the server.

Bitpay (Bitcore wallet) uses a Bitcore Wallet Service (that does wallet creation and key management) and that in turn uses the Insight API (which stores block / transaction data). Insight communicates with Bitcore which sits on top of Bitcoin.

  • So using Electrum, I can create multiple wallets with n number of addresses in each, right? Does Electrum api also provides a method to handle transactions such as initiate, send or cancel txn? – Gagan Jul 27 '18 at 9:35
  • 1
    Sure it's a full spv wallet – Nikos Kostoulas Jul 27 '18 at 10:08
  • Thanks Nikos! Do you know if Electrum provides any api? – Gagan Jul 27 '18 at 10:10
  • API in what sense? It provides a full UI and command line option. Would you like to use it remotely or what exactly do you want to do? – Nikos Kostoulas Jul 27 '18 at 10:30
  • We need to build a custom BTC wallet interface. Where user can create multiple wallets, address, send/receive transactions. – Gagan Jul 27 '18 at 11:08

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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