cardano-launcher icon indicating copy to clipboard operation
cardano-launcher copied to clipboard

Windows Socket Path toggle for development pls

Open kardall opened this issue 2 years ago • 7 comments

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.

kardall avatar Aug 31 '21 21:08 kardall