Skip to content

Bit-Wasp/electrum-discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electrum Server discovery

Electrum wallets use a list of predefined servers, from which they can request other peers. Besides this, the only way to learn about electrum servers is to join the freenode #electrum channel.

This library uses phergie/phergie-irc-client to obtain a list of electrum servers from the channel. Presently, the connection is terminated once the full list is obtained - the client will not track new nicks, kicks, parts, etc.

Usage

This is probably the simplest way to use the library:

use BitWasp\ElectrumServer\Discovery;

$loop = \React\EventLoop\Factory::create();
Discovery::lookup($loop)->then(function (array $list) {
    print_r($list);
});

$loop->run();

About

Electrum wallet server discovery using ReactPHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages