0

I'm trying to run cardano wallet server but it keeps me giving an error and have no idea what's wrong with it. This is the command I run:

    cardano-wallet serve \
      --port 1919 \
      --node-socket /home/ubuntu/cardano-src/cardano-node/data/node.socket \
      --mainnet /home/ubuntu/cardano-src/cardano-node/mainnet-byron-genesis.json \
      --database /home/ubuntu/cardano-src/cardano-node/data \

This is the error:

Invalid argument `/home/ubuntu/cardano-src/cardano-node/mainnet-byron-genesis.json'

Any help is appreciated, thank you all in advance!

2 Answers 2

1

Problem solved after deleting the path to the file. --mainnet doesn't need any parameter to pass.

cardano-wallet serve \
      --port 1919 \
      --node-socket /home/ubuntu/cardano-src/cardano-node/data/node.socket \
      --mainnet \
      --database /home/ubuntu/cardano-src/cardano-node/data \
0

It does not seem you need a genesis file for the mainnet. Check here https://input-output-hk.github.io/cardano-wallet/user-guide/common-use-cases/how-to-start-wallet-server

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.