Hello all!!
I just got my node up and running, and synced to the network displaying the latest block numbers.
But when I query utxo I get this same message.
I followed the instructions by @Tuan_Lam :
…but I get the same error:
milo@inst-1:~$ cardano-cli shelley query tip --mainnet
Error while looking up environment variable: CARDANO_NODE_SOCKET_PATH Error: “CARDANO_NODE_SOCKET_PATH”
milo@inst-1:~$ export CARDANO_NODE_SOCKET_PATH=rl/db/node.socket
milo@inst-1:~$ cardano-cli shelley query tip --mainnet
{
“blockNo”: 4578530,
“headerHash”: “5a97bc753a40e8194f0e6d7472bdd983662e02aeb42def99a3aa5c5aea8fd9dc”,
“slotNo”: 6262994
}
milo@inst-1:~$ cd keyz/
milo@inst-1:~/keyz$ cardano-cli shelley query utxo --address $(cat payment.addr) --mainnet
cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory)
milo@inst-1:~/keyz$ export CARDANO_NODE_SOCKET_PATH=rl/db/node.socket
milo@inst-1:~/keyz$ cardano-cli shelley query utxo --address $(cat payment.addr) --mainnet
cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory)
Please help!
Thank you