128 Commits

Author SHA1 Message Date
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
Steve Myers
f1ada2f3a6 expose bitcoin peer port to users (#78)
* expose bitcoin peer port to users

* expose liquid peer port to users

* fix formatting errors
2020-07-28 17:54:12 +02:00
Marco Argentieri
e020a08064 Travis (#80)
* Travis

* language go

* go version

* chmod nigiri datadir

* mkdir config folders

* chmod

* sudo

* chmod

* add gofmt
2020-07-28 13:05:47 +02:00
Marco Argentieri
63e9404d49 Update README.md 2020-07-24 21:12:58 +02:00
Marco Argentieri
af61ee794d Readme (#76)
* Imrpove readme

* List

* Add port
2020-07-23 10:32:25 +02:00
Marco Argentieri
9fe0a4b064 Update README.md 2020-04-30 23:04:15 +02:00
Marco Argentieri
c32b77e3c3 Use --parent-network=regtest in Electrs-Liquid; txindex=1 in Elements.conf (#69)
* Update docker-compose-regtest-liquid.yml

* Update elements.conf
2020-03-04 17:50:03 +01:00
Marco Argentieri
805c037875 Update README.md (#67) 2020-02-29 17:22:33 +01:00
Marco Argentieri
3254da71e2 Rename liquid.conf in elements.conf and support arm architectures (#66)
* Rename liquid.conf to elements.conf

* Update docker-compose-regtest.yml

* Update docker-compose-regtest-liquid.yml
2020-02-29 17:16:00 +01:00
Pietralberto Mazza
31dadb20a9 bump v0.0.5 (#64) 2019-12-09 16:16:37 +01:00
Pietralberto Mazza
e02c2fdd0d Changes for new version of esplora image (#62)
* changes for new version of esplora image

* add electrs port and esplora url env vars in compose yaml files

* wrap viper methods into Config type and use constants package

* add controller to interact with nigiri resources:
 * .env for docker-compose
 * docker daemon
 * json config file

* add use of constants and config packages and change start flag from --port to --env

* add package for global constants and variables

* add use of controller and constants packages instead of local methods and vars

* bump version

* use contants in logs command tests
2019-12-09 15:58:32 +01:00
Marco Argentieri
d0b3676c14 chore(dep): migrated from dep to Go 1.12 modules (#60) 2019-11-01 20:09:59 +01:00
Pietralberto Mazza
1a1f9a2505 Restart containers & Liquid update (#49)
* change paths

* update liquid conf since using elements

* add restart option to containers

* polish drone & change paths
2019-06-18 23:42:46 +02:00
Marco Argentieri
81b607337f Update README.md 2019-05-22 00:43:26 +02:00
Marco Argentieri
969b6f2350 SKIP CI 2019-05-21 17:20:24 +02:00
Pietralberto Mazza
a15ab62440 Fix CI (#45)
* add git

* remove openssh

* start CI build

* stop nigiri after failing test

* remove clean script
2019-05-21 17:17:13 +02:00
Marco Argentieri
75eeec7526 Update README.md 2019-05-21 15:51:46 +02:00
Marco Argentieri
db7ab739bb Update README.md 2019-05-21 15:43:06 +02:00
Pietralberto Mazza
e266a82dca Tests (#44)
* use uname -s instead of $OSTYPE

* tests
2019-05-21 15:39:32 +02:00
Marco Argentieri
62311fe2a2 Update flags.go 2019-05-18 21:43:48 +02:00
Marco Argentieri
545365ddc4 Update README.md 2019-05-18 21:31:15 +02:00
altafan
e9862b2a26 fix log liquid node 2019-05-18 18:24:11 +02:00
Pietralberto Mazza
03a3e4f875 Logs command and node fixes (#42)
* change paths

* fix log message in commands

* add rpcbind to config

* add logs command

* fix change paths
2019-05-18 18:07:04 +02:00
Marco Argentieri
60a2e27995 Update README.md 2019-05-17 23:25:11 +02:00
Pietralberto Mazza
85da5c7864 Enhancements (#39)
* change paths

* add --project-directory to docker-compose command

* fix passing .env to compose

* add clean script

* remove comment

* fix get env path

* update README

* fix change paths
2019-05-16 23:21:43 +02:00
Marco Argentieri
36bc3a9f7a Update README.md 2019-05-16 23:19:38 +02:00
Marco Argentieri
a393ec06bf Update README.md 2019-05-15 19:28:59 +02:00
Pietralberto Mazza
230d48138f Liquid faucet fixes (#35)
* initialfreecoins set to 21 mln lbtc

* enable liquid faucet
2019-05-15 16:27:56 +02:00
Pietralberto Mazza
b7a61e9db1 Fix hardcoded ports & logs (#27)
* disable liquid faucet for next release

* use vars instead of hardcoding services external ports

* add .env to gitignore

* change paths

* add --ports flag to set services external ports

* remove roadmap

* fix change paths
2019-05-14 18:54:21 +02:00
Pietralberto Mazza
d28302a2c7 Expose electrum RPC port and log service addresses at start (#26)
* move resources/ outside cli/ & expose electrs RPC port

* log service addresses when starting nigiri & minor fixes
2019-05-10 19:04:41 +02:00
Marco Argentieri
5f96111cc4 Update README.md 2019-05-10 01:35:21 +02:00
Marco Argentieri
1148dc25f3 Update README.md 2019-05-09 23:49:14 +02:00