
Electrumx Proxy Go is an implementation of a proxy server for Electrumx written in Go. It is designed to allow clients to connect to Electrumx servers through a high-performance, scalable Go-based intermediary. By serving as a robust buffer between clients and Electrumx servers, Electrumx Proxy Go significantly increases the stability and reliability of RPC communications within the Atomical ecosystem. This enhancement is crucial for systems that require consistent and uninterrupted access to blockchain data, ensuring that applications remain responsive and resilient to fluctuations in demand or network conditions.

Before you begin, ensure you have Go version 1.21 or higher installed on your system. You can verify your Go installation and version by running:
go version
This command should output a version number. If the version number is less than 1.21, you will need to update Go to a newer version. Visit the official Go download page for instructions on how to install or update Go.
To install Electrumx Proxy Go, clone the repository, and run the main application:
git clone https://github.com/NeutronProtocol/electrumx-proxy-go.git
cd electrumx-proxy-go
Before starting the proxy, you need to configure the config.toml
file with the correct parameters:
ElectrumxServer
should be set to the address of your Electrumx server (e.g.,ws://127.0.0.1:50002
).ServerAddress
should be set to the address and port you want the proxy to listen on (e.g.,0.0.0.0:8080
).
Open config.toml
in a text editor and modify the settings accordingly:
ElectrumxServer = "ws://127.0.0.1:50002"
ServerAddress = "0.0.0.0:8080"
Save the file after making the necessary changes.
Once you have configured the settings, you can start the proxy by running:
go run main.go
Or
go build
./electrumx-proxy-go
After starting the main application, the proxy will begin listening for incoming connections on the
configured ServerAddress
. Point your Electrumx server's client connections to this address.
- High-performance Go-based proxy.
- Easy integration with existing Electrumx servers.
- Lightweight and efficient connection handling.
This project is licensed under the MIT License - see the LICENSE
file for details.
Project Link: https://github.com/NeutronProtocol/electrumx-proxy-go
Website: https://www.atomicalneutron.com/