<p>I do something like this on Linux to conserve space. Only one node can share the chain state at the same time though. Further, if you switch back and forth between newer/older version of cardano-node, it will trigger ledger state rebuilds which take a while before the node is functioning. If your only goal is to be able to use the CLI, you can start Daedalus and set <code>CARDANO_NODE_SOCKET_PATH</code> to the path in Daedalus.</p>

CC BY-SA 4.0
2022-01-26T19:52:25.960Z
Thanks! Yes, I noticed the rebuild after launching Daedalus again, which is actually a dealbreaker then for me for this setup. In any case, your suggestion is perhaps the best way for now, thanks for this hint. Just a quick follow-up question: I am not sure where the socket is actually located, I can't find it either in Application Support or within the App package...
HansSnah
CC BY-SA 4.0
2022-01-26T20:05:43.873Z
Ah, just found a post that it's supposed to be at $HOME/Library/Application Support/Daedalus Mainnet/cardano-node.socket
HansSnah
CC BY-SA 4.0
2022-01-26T19:36:09.613Z
2022-01-26T19:36:09.613Z
Samuel Leathers
<p>I just started diving into the command line tools and as a first step I want to get a Cardano node running. My question is, whether it's a good idea to use the database from the Daedalus wallet (under <em>$HOME/Library/Application Support/Daedalus Mainnet/chain</em> on macOS) and point the cardano-node argument <em>database-path</em> there? Will there be any conflicts between the node instance and Daedalus, perhaps when running them at the same time?</p>

<cardano-node><daedalus>
Shared database between Daedalus and Cardano-node
# Shared database between Daedalus and Cardano-node

(Asked by: username_0 on 2022-01-26)

I just started diving into the command line tools and as a first step I want to get a Cardano node running. My question is, whether it's a good idea to use the database from the Daedalus wallet (under *$HOME/Library/Application Support/Daedalus Mainnet/chain* on macOS) and point the cardano-node argument *database-path* there? Will there be any conflicts between the node instance and Daedalus, perhaps when running them at the same time?

**Tags:** cardano-node, daedalus

---

## 1 answers

### Answer by username_1 on 2022-01-26. Score: 2 | Accepted answer

I do something like this on Linux to conserve space. Only one node can share the chain state at the same time though. Further, if you switch back and forth between newer/older version of cardano-node, it will trigger ledger state rebuilds which take a while before the node is functioning. If your only goal is to be able to use the CLI, you can start Daedalus and set `CARDANO_NODE_SOCKET_PATH` to the path in Daedalus.

> **Comments:**
> **username_0**: Thanks! Yes, I noticed the rebuild after launching Daedalus again, which is actually a dealbreaker then for me for this setup. In any case, your suggestion is perhaps the best way for now, thanks for this hint. Just a quick follow-up question: I am not sure where the socket is actually located, I can't find it either in Application Support or within the App package...  
> **username_0**: Ah, just found a post that it's supposed to be at $HOME/Library/Application Support/Daedalus Mainnet/cardano-node.socket  

---

