New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrum-http

Service that takes http requests asks specific electrum server in socket and returns electrums response

1.5.2
latest
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created

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

FAQs

Package last updated on 26 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts