Registration of Midnight Testnet SPO - gabriiot

What are you trying to do?
I am currently at this stage. Cardano side: my stake key is registered and delegated correctly on Preview. • Midnight side: I successfully built a valid registration-signatures JSON (SPO pubkey + sidechain pubkey both correct). • Remaining step: run submit-registration with the off-chain helper to record it on-chain. That requires access to IOG’s off-chain tool : -the container image ghcr.io/input-output-hk/partner-chains-offchain: or -the GitHub repo input-output-hk/partner-chains-offchain to build the binary locally.

What’s not working or unclear?
The wizard was not working and with ChatGPT assistance I could reach the stage I describe above

What have you tried so far?
I read the Midnight Docs, finally I used a “two stacks” approach on a single-VPS runbook that means two Docker stacks (Cardano partner-chain deps + Midnight node) — they can run together on a single Contabo VPS 20.

Add any relevant code or error messages.
I need access to IOG’s off-chain tool : -the container image ghcr.io/input-output-hk/partner-chains-offchain:<tag> or -the GitHub repo input-output-hk/partner-chains-offchain

1 Like

hey @Discord_Dev_Query I think you do not have to access a separate container/repository.. btw, make sure you have done this:

i) register1 - Selects the UTXO for registration
ii) register2 - Creates and signs the registration message (uses your cold.skey)
iii) register3 - Submits the registration transaction

Source: Registration wizard

You should be able to complete the registration using:

./midnight-node wizards register1
./midnight-node wizards register2 --genesis-utxo <GENESIS_UTXO> …
./midnight-node wizards register3 --genesis-utxo <GENESIS_UTXO> …

Source: Register as a candidate

Finally, the registration commands require:

  • Ogmios access: The commands need to connect to Ogmios. Midnight provides a public endpoint: ogmios.preview.midnight.network Public endpoints

  • Your Cardano keys: You need your payment.vkey, payment.skey, and cold.skey accessible to the container Make Cardano keys accessible

    If you’re still encountering issues with the wizards, you may need to ensure:

  • your cardano keys are properly accessible to the container,

  • your payment address is funded with tAda,

  • your cardano node is fully synced

2 Likes

Thank you for the advise. I will go through all steps to see what I did wrong.

1 Like

perfect! If you have any questions, just leave them here!

1 Like

@Gabri Did you ever find a resolution to this? I am either having the same problem or a similar one. When I try to execute the 1st helper script it lets me enter “http”, “cardano-ogmious”, and “1337”. But when I hit after entering the port number it comes back with an error saying it couldn’t connect to the ogmious server. I have it running and I can even connect to it myself in one of my browsers, albeit I use an IP address. I am just trying to figure out how to get the helper script to find Ogmious and continue. Thanks in advance for any advice or help you might have. Kresp.

2 Likes

If you go towards the end I think it addresses your issue.. @andreassosilo is super helpful..

1 Like

@Kresp it is still on my pending list. I plan to re do from scratch following the instructions again.

1 Like