Last active
March 7, 2021 17:35
-
-
Save siegfried/683be9fb45974d55b328611ca368d35c to your computer and use it in GitHub Desktop.
Cardano Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CARDANO_TOPOLOGY=${HOME}/config/mainnet-topology.json | |
CARDANO_CONFIG=${HOME}/config/mainnet-config.json | |
CARDANO_PORT=12000 | |
export HOME TERM CARDANO_TOPOLOGY CARDANO_CONFIG CARDANO_PORT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cardano:\ | |
:path=/usr/local/cardano/bin ~/bin /bin /usr/bin:\ | |
:setenv=LD_LIBRARY_PATH=/usr/local/cardano/lib,CARDANO_NODE_SOCKET_PATH=~/node.socket:\ | |
:datasize-max=1536M:\ | |
:datasize-cur=900M:\ | |
:tc=default: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cardano-node run \ | |
--topology ${CARDANO_TOPOLOGY} \ | |
--config ${CARDANO_CONFIG} \ | |
--database-path ${HOME}/db \ | |
--socket-path ${CARDANO_NODE_SOCKET_PATH} \ | |
--host-addr 0.0.0.0 \ | |
--port ${CARDANO_PORT} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment