Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
/ xcp-proxy Public archive

A websockets proxy with realtime notifications for clients

License

Notifications You must be signed in to change notification settings

CounterpartyXCP/xcp-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

xcp-proxy is a websockets proxy for all the Counterparty subsystems.

Installation

For a simple Docker-based install of the Counterparty software stack, see this guide.

Manual installation can be done by:

git clone https://github.com/CounterpartyXCP/xcp-proxy
cd xcp-proxy
npm install
npm start

The server expects several environment variables to point at the respective backend servers.

The available environment variables along with their defaults are:

SECRETS_PATH=./
HTTP_PORT=8097
ADDRINDEXRS_URL=tcp://localhost:8432
COUNTERPARTY_URL=http://rpc:rpc@localhost:4000
BITCOIN_ZMQ_URL=tcp://localhost:28832
REDIS_URL=redis://localhost:6379/8
SESSION_SECRET=configure this!
INTERVAL_CHECK_COUNTERPARTY_PARSED=1000

You can include them in a secrets file and point it by setting the SECRETS_PATH environment variable to it.

License

Read LICENSE

About

A websockets proxy with realtime notifications for clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published