Download source code
git clone https://github.com/input-output-hk/cardano-sl.git
cd cardano-sl
git checkout master
Install Nix package manager:
sh <(curl https://nixos.org/nix/install) --daemon
## reset terminal after instillation
Grab Nix binaries:
nix-build --option substituters "https://hydra.iohk.io https://cache.nixos.org" --option trusted-substituters "" --option trusted-public-keys "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" default.nix
Build Cardano-SL:
nix-build -A connectScripts.mainnet.wallet -o connect-to-mainnet
Disable client tls auth:
vim ./connect-to-mainnet
// add --no-client-auth to exec that starts the node, like this
Stat node:
./connect-to-mainnet
To change the wallet/node address just edit the connect-to-mainnet
file and change the --wallet-address
.
To create the inital wallet (required in coin config) run getAddress
rpc func