From 9fb1eb4318e838590386f1cb1d51d2c9dbe13b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 26 Nov 2021 18:07:29 +0100 Subject: cardano testnet wallet --- config/shepherd/init.d/cardano.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config') diff --git a/config/shepherd/init.d/cardano.scm b/config/shepherd/init.d/cardano.scm index f1980e0..6966e57 100644 --- a/config/shepherd/init.d/cardano.scm +++ b/config/shepherd/init.d/cardano.scm @@ -116,6 +116,23 @@ #:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C #:respawn? #t)) +(register-services + (make + #:docstring "Cardano Testnet wallet" + #:provides '(testnet-wallet) + #:start (make-forkexec-constructor + (list (string-append (getenv "HOME") "/.cabal/bin/cardano-wallet") + "serve" + "+RTS" "-T" "-RTS" + "--port" "8091" + "--node-socket" "/tmp/sarahtn.socket" + "--database" (string-append (getenv "HOME") "/test-cardano/testnet/wallet") + "--testnet" (string-append (getenv "HOME") "/test-cardano/config/testnet-byron-genesis.json")) + #:log-file (string-append (getenv "HOME") "/test-cardano/testnet/log/wallet.log")) + + #:stop (make-kill-destructor 2) ;; 2 is SIGINT - interupt process stream, ctrl-C + #:requires '(testnet-node-ssh))) + (register-services (make #:docstring "Cardano Main network ssh tunnel" -- cgit v1.2.3