Skip to content

TheTrunk/electrum-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Issue electrumx server calls over http

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published