electrum-http

1.5.2 • Public • Published

electrumHttp

Nodejs server for doing electrum server over http. no need for socket, just get requests on urls. Uses tls on port 50002.

Requirements

Requires node version 6.0 and above

Installation

Install npm dependencies with command:

npm install

Usage

Start the service with command:

npm start

Service will be started on 127.0.0.1:3456

Example

http://localhost:3456/?server=proxy.genx.zelcore.io&call=history&param=CL19a3dereSFacjneBLJCK1QRXfG7Tm7Hh&port=50002&contype=tls&coin=genesis

parameters - > call, server, param, port, contype, coin (as defined in bitgo-utxo-lib, required for nice calls)

possible calls balance = blockchainScripthash_getBalance, param = address history = blockchainScripthash_getHistory, param = address transaction = blockchainTransaction_get, param = txid utxo = blockchainScripthash_listunspent, param = address broadcast = blockchainTransaction_broadcast, param = rawtx height = blockchainHeaders_subscribe, no parameter header = blockchainBlock_getHeader, param = height nicehistory -> param = address niceentirehistory -> param = address niceutxo -> param = address

Readme

Keywords

none

Package Sidebar

Install

npm i electrum-http

Weekly Downloads

3

Version

1.5.2

License

MIT

Unpacked Size

16.2 kB

Total Files

4

Last publish

Collaborators

  • thetrunk