A Golang client library for interacting with Electrum servers, specifically designed for subscribing to and monitoring Bitcoin transactions in Scalar Vault through the Scalar Relayer component.
This library provides a Go implementation for communicating with Electrum servers using the Electrum protocol. It's primarily used in the Scalar Relayer component to monitor and manage Bitcoin transactions for Scalar Vault.
- Connect to Electrum servers
- Subscribe to Bitcoin address notifications
- Monitor transaction status
- Handle blockchain notifications
- Support for Scalar Vault transaction monitoring
go get github.com/scalar-vault/go-electrum
Please refer to the test cases for more examples.
- TCP connection management
- SSL/TLS support
- JSON-RPC protocol implementation
- Address subscription
- Transaction monitoring
- Error handling and reconnection logic
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License