Get the metadata hash from your metadata json URL?

I did shorten the url with tinyurl, and i typed the command incluiding the tinyurl:

cardano-cli stake-pool metadata-hash --pool-metadata-file <(curl -s -L <https://REPLACE WITH YOUR METADATA_URL>)

error msg:

No such file or directory
Command failed: stake-pool metadata-hash Error: Error validating stake pool metadata: Error in $: not enough input

Why is that ?

Best regards,

I guess wrong or incomplete data inside metadata file… can u share the url?

1 Like

cardano-cli sometimes fails on file arguments that aren’t really files… in your case, when they’ve been created temporarily by the shell as file descriptors. This issue I posted last year has been pronounced “closed” because they fixed it for a handful of things, although apparently not others:

If you think --pool-metadata-file is one of the things it should be fixed for, I would recommend posting here and/or trying to relate it to a more specific or general issue (even if you have to post a new issue yourself). :stuck_out_tongue_winking_eye:

1 Like

good day,

URL: https://tinyurl.com/mtubj63b

best regards,

Ok, and when u check pool metadata file created do u see any inputs inside?

Yes, in the .json there is the pool name and ticker and website, and in the poolMetaDataHash.txt it is a line of random letters.

Best regards,

ok, if the metadata is same with the metadata uploaded then continue with the next step. did u try?

Yes i did the : Find the minimum pool cost.Find the minimum pool cost.

minPoolCost=$(cat $NODE_HOME/params.json | jq -r .minPoolCost)
echo minPoolCost: ${minPoolCost}

And that worked. Now i am going to continue with :

Configuring Multiple Relay Nodes

Update the next operation

cardano-cli stake-pool registration-certificate

to be run on your air-gapped offline machine appropriately. Replace with your proper domain names or IP addresses.

DNS based relays, 1 entry per DNS record

--single-host-pool-relay <relaynode1.myadapoolnamerocks.com> \
--pool-relay-port 6000 \
--single-host-pool-relay <relaynode2.myadapoolnamerocks.com> \
--pool-relay-port 6000 \

I am not sure what to do here?

Best regards,

will u use dns or IP to register the relays?

I will go with IP.

IP based relays, 1 entry per IP addressIP based relays, 1 entry per IP address:

--pool-relay-port 6000 \
--pool-relay-ipv4 <your first relay node public IP address> \
--pool-relay-port 6000 \
--pool-relay-ipv4 <your second relay node public IP address> \

Best regards,

1 Like

Should i type the command on the air-gapped machine?

First & Second relay node, is that bp node and nr node, or do it refer to nr- server with 2 nodes running?

I thinnk i have only one node running on my nr-server for the moment. I would like to have two, on the same server.

Best regards,

relays are the nodes beside the BP

1 Like