Hi guys,
I am working on running Cardano SL from source.
I get to running this command:
$ nix-build -A cardano-sl-node-static --cores 0 --max-jobs 2 --no-build-output --out-link master
but it fails with this error:
error: attribute ‘cardano-sl-node’ in selection path ‘cardano-sl-node’ not found
@p-alik@h4ck3rm1k3@liming_ihaomo@zmeel
thanks guys. perfect ! I managed to build it now. I have a new questions now. I get the following error after running the node:
ConfigurationParseFailure “node/configuration.yaml” (InvalidYaml (Just (YamlException “Yaml file not found: node/configuration.yaml”)))
Any ideas ? I found a list of all parameters as part of documentation but I can really get my head around using it properly.
What I am suppose to do next ? any help is appreciated.
Now when I run master/bin/cardano-node-simple I get error:
cardano-node-simple: MissingSystemStartTime
So a little research shows me this Issue gives hints to the solution. I’ll post a new thread if I can’t solve it. I’ll try to make a tutorial covering all these issues once I’m done.
@Raha_Mohebbi idk if this will work for you, but if I run master/bin/cardano-node-simple then I DON’T get your yaml error, but if I cd into master and then run bin/cardano-node-simple then I get your exact yaml error. So maybe try running the node from project root
@zmeel
Thanks I ran nix-build -A connectScripts.mainnetWallet -o connect-to-mainnet like you said and it completed after a few minutes. It created this script which I ran:
I also want to understand how or why the wallet is a separate application. When I ran a full bitcoin node a while ago, the features were all part of the same Bitcoin Core program, I believe. You can also run a bitcoin ‘lite node’ which is like a limited full node, for wallet functionality only.
I think the wallet is just a nice interface for the node. With the connect-to mainnet script you start a node-with-wallet. Most/all of the API’s are for wallet handling.