Closed aleeusgr closed 1 year ago
nix build .#mainnet/node -o mainnet-node-local
I don't need main net, where do I find the options?
https://docs.cardano.org/development-guidelines/installing-the-cardano-node buck that, I can use docker
# create-keys.sh
dir="/home/alex" [0/34]
1
2 source export-cli.sh
3 $CLI address key-gen \
4 --verification-key-file $dir/payment1.vkey \
5 --signing-key-file $dir/payment1.skey
Command failed: address key-gen Error: /home/alex/payment1.skey: /home/alex/payment1.skey: openBinaryFile: does not exist (No such file or directory)
dir=/home/alex/workshop/node-cli [0/50]
1
2 source export-cli.sh
3 $CLI address key-gen \
4 --verification-key-file $dir/payment1.vkey \
5 --signing-key-file $dir/payment1.skey
. create-keys.sh
Command failed: address key-gen Error: /home/alex/workshop/node-cli/payment1.skey: /home/alex/workshop/node-cli/payment1.skey: openBinaryFile: does not exist (No such file or directory)
https://forums.docker.com/t/how-to-redirect-command-output-from-docker-container/49758
At the moment I can run the node like so:
1 source node-path.sh
2 $path/cardano-node run \
3 --topology $path/configuration/preprod/topology.json \
4 --database-path $path/preprod/db \
5 --socket-path $path/preprod/db/node.socket \
6 --host-addr 0.0.0.0 \
7 --port 3001 \
8 --config $path/configuration/preprod/config.json
and test is with
source socket-path.sh
../cardano-cli query tip --testnet-magic 1
source node-path.sh
Api-test
How do I know my node works fine?
cardano-cli query tip --testnet-magic 1
;shell scripting
On my system, NixOS, I have a blocker to run
cadano-node
andcardano-cli
I need to either find a way to run it, or go without it.