No description
Find a file
Jonathan Zernik a815fac5c9
Include satperbyte in open channel dialog (#650)
* Include satperbyte in open channel dialog

* Improve tx details

* Update static build
2021-01-14 09:07:27 -08:00
.github/workflows Update main.yml (#555) 2021-01-03 23:09:10 -08:00
docker Fix mainnet override for docker compose (#649) 2021-01-13 22:32:08 -08:00
docs Rename received offer (#606) 2021-01-11 16:33:56 -08:00
frontend Include satperbyte in open channel dialog (#650) 2021-01-14 09:07:27 -08:00
itests Create base class network sync (#639) 2021-01-13 17:41:50 -08:00
proto Include latest_block_height in lookup response (#627) 2021-01-12 19:44:30 -08:00
squeaknode Include satperbyte in open channel dialog (#650) 2021-01-14 09:07:27 -08:00
tests Remove old server tests (#631) 2021-01-12 20:54:31 -08:00
.dockerignore Add get squeaks for address rpc method (#108) 2020-07-21 16:12:26 -07:00
.flake8 Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00
.gitignore Use data classes instead of namedtuples (#508) 2020-12-26 01:00:58 -08:00
.pre-commit-config.yaml Use namedtuples (#573) 2021-01-07 01:45:57 -08:00
config.ini Update main config ini (#582) 2021-01-08 02:42:32 -08:00
createdb.sql Fix serialization of payment hash db (#579) 2021-01-08 00:48:16 -08:00
Dockerfile Use noninteractive build in dockerfile (#559) 2021-01-04 00:09:30 -08:00
LICENSE Update LICENSE (#71) 2020-07-15 16:00:13 -07:00
Makefile Clean up makefile (#570) 2021-01-06 23:47:50 -08:00
MANIFEST.in Remove createdb script from manifest (#532) 2020-12-31 16:35:31 -08:00
README.md Update readme with new entrypoint description (#590) 2021-01-10 10:47:32 -08:00
requirements-dev.txt Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00
requirements-itest.txt Upgrade version of squeaklib in itest (#602) 2021-01-11 11:42:38 -08:00
requirements.txt Create base class network sync (#639) 2021-01-13 17:41:50 -08:00
setup.cfg Rename to squeaknode (#342) 2020-10-29 14:35:17 -04:00
setup.py Update squeaklib version and use new make squeak function (#594) 2021-01-10 19:28:56 -08:00
start-squeaknode.sh Improve squeaknode entrypoint command (#583) 2021-01-08 14:17:43 -08:00
tox.ini Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00

squeaknode

Node for Squeak protocol

Run a node:

Requirements

  • a bitcoin node
  • an LND node
  • Python 3.6 or later

If you don't already have a bitcoin node or lightning node, you can follow the instructions here to launch them in Docker.

Steps

  • Update the config.ini file and fill in the relevant sections to connect to your bitcoin and lnd nodes:

    [core]
    network=testnet
    
    [lnd]
    host=localhost
    external_host=lnd_server
    tls_cert_path=~/.lnd/tls.cert
    macaroon_path=~/.lnd/data/chain/bitcoin/testnet/admin.macaroon
    
    [bitcoin]
    rpc_host=localhost
    rpc_port=18332
    rpc_user=devuser
    rpc_pass=devpass
    
    [webadmin]
    enabled=true
    username=devuser
    password=devpass
    
  • Install squeaknode:

    $ pip install squeaknode
    

    or

    $ pip install -r requirements.txt
    $ python setup.py install
    
  • Start the squeaknode:

    $ squeaknode --config config.ini
    
  • Go to http://localhost:12994/ and use the username/password in config.ini to log in.

Test

Unit tests:

Requirements

  • tox
$ make test

Integration tests:

Requirements

  • docker-compose
  • jq
$ make itest