mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-20 13:28:20 +02:00
* Use default configs for webadmin * Remove sqlite config from config file * Use default config for sqk dir * Use derived default lnd tls cert path in config * Use default config for macaroon path * Remove macaroon path config from docker config.ini * Got mainnet working in docker * Update readme * Remove unused network param in docker config.ini file * Update readme
1.1 KiB
1.1 KiB
squeaknode
Node for Squeak protocol
Run
Run with docker:
Prerequisites
- docker
- docker-compose
- Enough disk space for the bitcoin blockchain
Steps
- Edit docker/config.ini to change any configs from the default.
- Build and start docker-compose with the
NETWORKenvironment variable set:$ cd docker $ docker-compose build $ NETWORK=testnet docker-compose up
Run without docker:
Prerequisites
- A running bitcoin node
- A running lnd node
- Python3.6
Steps
-
Create a config.ini file and fill in the relevant values:
[squeaknode] network=testnet price=100 enable_sync=true [lnd] host=localhost [bitcoin] rpc_host=localhost rpc_user=devuser rpc_pass=devpass [webadmin] enabled=true username=devuser password=devpass -
Install squeaknode:
$ pip install squeaknodeor
$ python setup.py install -
Start the squeak server:
$ runsqueaknode --config config.ini run-server
Test
Run unit tests:
$ make test
Run integration tests:
$ make itest