cardano-launcher
cardano-launcher copied to clipboard
Windows Socket Path toggle for development pls
Is it possible to set the CARDANO_NODE_SOCKET_PATH environment variable when the wallet launches?
That way I don't have to run a completely separate node JUST to do some tests or something? Just have a toggle in the settings like "Development Socket" or something to turn it on/off.
You have to relaunch your command prompt just for it but.
Currently, the only way I found out how to get it, is a powershell command:
[System.IO.Directory]::GetFiles("\\\\.\\\\pipe\\\\") | findstr "cardano-node"
That outputs something like: \\.\\pipe\\cardano-node-mainnet.16184.0
If I manually set the environment variable in Windows, it works perfectly, but I have to update it with the current pid in order to work every time I restart the wallet and it's getting to be a bit annoying.