Commit Graph

109 Commits

Author SHA1 Message Date
Marco Argentieri
df4994fa9c Update docker-compose.yml 2022-11-10 18:17:28 +01:00
Andrei
f4d1dfc4c7 Fix CLN p2p port (#166) 2022-11-10 18:07:44 +01:00
Andrei
adc3487d9b Bump LND version (#165) 2022-10-10 16:16:57 +02:00
Andrei
472482964e Fix generate bitcoin rpc (#164) 2022-10-07 15:21:26 +02:00
Andrei
f63a114ce2 Add lnd domain for TLS certificate (#163) 2022-09-29 21:53:02 +02:00
André Ferreira
69c60b4afc Add support to -named argument (#161) 2022-09-21 15:10:47 +02:00
Marco Argentieri
456b4e1ed9 lnd: listen on 0.0.0.0 and rename to cln (#158) 2022-09-21 15:06:38 +02:00
Stéphane Roche
721739d3cc README: Add an example sending Liquid asset (#153)
* Add an example sending Liquid asset

* use faucet
2022-06-01 11:24:12 +02:00
Marco Argentieri
c4b7402923 Run also LN services in headless mode (#150)
* Run also LN services in headless mode. Fixes https://github.com/vulpemventures/nigiri/issues/147

* disable tty mode when headless mode. Fixes https://github.com/vulpemventures/nigiri/issues/149
2022-04-22 12:20:35 -05:00
Marco Argentieri
d7650e7c1d ️ Lightning Network support (#144)
* Add two LND instances on --ln flag

* Add CLN and drop second LND instance

* Wrap lncli into lnd and lightning-cli into cln commands

* rpc: Add -generate <numOfBlocks> command

* Add special label to faucet from bitcoin to lnd,cln

* update readme

* readme: format expandable paragraph

* Allow interactive commands for cln,lnd

* fix empty address in faucet
2022-04-21 16:47:25 -05:00
Marco Argentieri
2e2b954b24 README: Update logs documentation (#143) 2022-03-26 16:15:59 +01:00
Andreas Schjønhaug
583c646819 Enable ‘Neutrino mode’ in Bitcoin Core (#137) 2022-01-12 20:45:33 +01:00
Andreas Schjønhaug
357bdbc266 Instructions for macOS Monterey (#136)
* Instructions for macOS Monterey

* Update README.md

Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com>
2022-01-12 20:43:28 +01:00
Louis Singer
b99da57a67 add compact filters flags + pchmessagestart (#134) 2021-12-28 13:45:11 +01:00
Andreas Schjønhaug
43077b0cb4 Added instructions on where to find the config files (#132) 2021-12-23 23:00:32 +01:00
Louis Singer
097f0abef7 add user: 1000:1000 in liquid container (docker-compose.yml) (#130)
* add user: 1000:1000 in liquid container (docker-compose.yml)

* add USER command in bitcoin container
2021-12-23 12:52:18 +01:00
tiero
8e2acdc1a8 bump golang.org/x/sys/unix 2021-12-16 12:04:48 +01:00
Marco Argentieri
cb810d65b3 goreleaser: Add windows target (#128)
* goreleaser: Add windows target

* bump go to 1.17
2021-12-16 11:55:25 +01:00
Marco Argentieri
6088a439cd Add ZMQ support (#125)
* Update bitcoin.conf

* Update elements.conf

* Update bitcoin.conf

* Update docker-compose.yml

* Update docker-compose.yml
2021-11-24 12:52:15 +01:00
Marco Argentieri
bacdb43f2d Update docker-compose.yml 2021-11-15 12:23:11 +01:00
Marco Argentieri
aeb6ff17b2 GoReleaser: Build also for arm64 architectures 2021-10-30 17:31:38 +02:00
tiero
c5e990fe35 Dynafed and Taproot signal 2021-10-19 18:30:15 +04:00
Marco Argentieri
2d914e4b41 Use --jsonrpc-import for Electrs services 2021-10-19 18:08:35 +04:00
Marco Argentieri
400689be62 Update faucet.go 2021-08-10 14:13:52 +02:00
Marco Argentieri
70e22ba402 refactor codebase with urfave/cli (#120)
* clean

* load datadir with resources and start compose

* start --liquid

* check if is running already

* Add rpc command

* Add logs and faucet commands

* Add mint command

* Add push command

* Move state into dedicated pkg

* less code for isRunning check

* Add --ci flag to start command

* Add NIGIRI_DATADIR env var

* add update command

* Update readme, makefile and goreleaser

* update test gh action

* skip tests

* print endpoint in start command

* Add a default network to docker compose file.

Containers started through this docker compose file will be in this isolated network.
Note: the minimum version for the docker compose file format is 3.5 which introduces `name` for networks. This file format requires a docker engine version of 17.12.0+.

* add prerelease: auto

* makefile: release commands

* go version

* use global flag --datadir for the folder

* wrap datadir in variable

* use single compose file & move state to internal

* remove unused state keys

* return err in test

* docker-compose: use latest version

* print endpoint of services based on --liquid flag

Co-authored-by: Philipp Hoenisch <philipp@hoenisch.at>
2021-08-06 18:09:13 +02:00
Marco Argentieri
e385558731 Use GH container registry images (#118)
* Use GH container registry images

* Change images in constant

* Update nigiri images constants

* Remove checks to print the version of nigiri CLI

* add fallbackfee to bitcoin.conf & elements.conf

* commented bitcoin push test
2021-07-16 18:18:20 +02:00
Marco Argentieri
d582ffce57 Update test.yml 2021-07-16 16:24:03 +02:00
Marco Argentieri
8338b35955 remove travis and add test.yml as GHA (#117)
* remove travis and add test.yml as GHA

* Update test.yml
2021-07-16 16:20:16 +02:00
Marco Argentieri
a23f40237d Update docker-compose-regtest-liquid.yml 2021-05-04 16:04:28 +04:00
Marco Argentieri
c0f0d50c88 Update docker-compose-regtest-liquid.yml 2021-05-03 15:57:35 +04:00
Marco Argentieri
a3f15bbd3b [gh-action] remove docker login step 2021-03-23 20:02:14 +01:00
Marco Argentieri
d0994a8aaa Merge remote-tracking branch 'origin/master' 2021-03-23 20:00:23 +01:00
Marco Argentieri
ee6d7bc593 gh action (#115)
* GH Action for release on tag

* scripts/build: remove CGO_ENABLED
2021-03-23 19:57:38 +01:00
Marco Argentieri
d1f003a0b6 scripts/build: remove CGO_ENABLED 2021-03-23 19:56:26 +01:00
Marco Argentieri
7c0fecbcf7 GH Action for release on tag 2021-03-23 19:55:27 +01:00
Marco Argentieri
c5ad6e9ebf Add --rpcwallet flag to the command 2021-03-23 19:46:10 +01:00
Marco Argentieri
b032992936 xMerge branch 'master' of github.com:vulpemventures/nigiri 2021-01-27 00:22:08 +01:00
Marco Argentieri
bed7aff936 Pass amount and asset to faucet command (#108) 2021-01-26 23:50:38 +01:00
Marco Argentieri
20c5565ee6 Pass amount and asset to faucet command 2021-01-26 23:30:23 +01:00
Francis
e78f8e5dd3 added docker related help to readme (#102) 2020-09-25 19:23:08 +02:00
Marco Argentieri
c34402c02b Update README.md 2020-09-21 20:32:46 +02:00
Francis
5af3371205 Added version command and goreleaser (#100)
* added version command and goreleaser

* added release to Makefile. adapted build and clean scripts to gorelease. changed version short text output

* reverted clean and build scripts. changed path for builds

* added dist field to goreleaser

* added post hook

* disabled archiving

* added archive name template

* changed archive name template

* changed archive name template

* changed goreleaser.yml

* removed pre hooks
2020-09-21 19:44:22 +02:00
Francis
63bdf3ce79 added Makefile (#99)
* added Makefile

* updated travis for makefile

* fixed travis

* fixed travis 2

* updated documentation for makefile
2020-09-18 16:13:35 +02:00
Francis
110f68f3f9 Added push command (#98)
* added push command

* improvements in push test

* added test for liquid push

* refactor push test

* small changes
2020-09-18 15:20:50 +02:00
Francis
e55b067881 Added mint command (#96)
* added mint command

* added mint test command

* changed error message

* changed error message

* changed api host address

* changed mint tests

* changed mint tests 2

* handled unmarshalling errors

* added short function to mint tests

* fixed unmarshall of mint

* return text changes

* added error check for status code in mint
2020-09-16 13:20:25 +02:00
Francis
bb08c84ae1 Added rpc command (#95)
* added rpc command

* debugging travis

* changed description
2020-09-14 15:36:44 +02:00
Francis
88fca5db00 Add faucet command (#93)
* added faucet command

* chopsticks ports imported from env

* changed order of assignments

* test: sleep after start nigiri

* sleep after each strat and each stop

* small changes on faucet

* added check for txId

* json err control

* correcting json err control

* small fixes

* fixes on faucet command

* http.StatusOK

* try with 0.0.0.0 interface

* try with 127.0.0.1 interface

* fixes in travis

Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com>
2020-09-11 19:13:43 +01:00
Marco Argentieri
7305077cff Improving logs help (#88)
* added container_names

* removed deprecated links directive

* changed container_name related documentation

* added necessary dependencies

* added dependency

* improved help from Logs

* changed Services to global var

* Some fixes on logs helper

* fixes on logs helper

* logs helper changed if logic

* changed services string spacing

Co-authored-by: FrancisMars <francisconlm@hotmail.com>
Co-authored-by: FrancisMars <11526661+francismars@users.noreply.github.com>
2020-09-08 18:41:32 +01:00
Francis
b076d2d513 container_names and links directive (#84)
* added container_names

* removed deprecated links directive

* changed container_name related documentation

* added necessary dependencies

* added dependency

* Added Nigiri Travis reference in documentation
2020-09-07 12:37:34 +01:00
Marco Argentieri
5f813e8328 Update README.md 2020-08-24 12:41:56 +01:00