Registering a stake pool

cardano-cli stake-address registration-certificate \
--stake-verification-key-file stake.vkey \
--out-file registration.cert
cardano-cli transaction build \
--testnet-magic 2 \
--witness-override 2 \
--tx-in $(cardano-cli query utxo --address $(cat payment.addr) --testnet-magic 2 --out-file  /dev/stdout | jq -r 'keys[0]') \
--change-address $(cat payment.addr) \
--certificate-file registration.cert \
--out-file tx.raw
cardano-cli transaction sign \
--tx-body-file tx.raw \
--signing-key-file payment.skey \
--signing-key-file stake.skey \
--testnet-magic 2 \
--out-file tx.signed
cardano-cli transaction submit \
--testnet-magic 2 \
--tx-file tx.signed 

The stake pool registration certificate optionally contains a content hash and a URL (up to 64 bytes).

  • JSON containing:

    • Name of up to 50 characters

    • Description of up to 255 characters

    • Ticker of 3-5 characters

    • Homepage with additional information about the pool

  • All characters in the metadata will be UTF8 encoded

  • No more than 512 bytes

For example: https://880w.short.gy/clrsp.json

To get the metadata hash, run:

Create the registration certificate:

Create the delegation certificate to honor the pledge:

Submit certificates:

The faucet only takes the Bech32 pool ID:

Calculate the current KES period.

There are 129600 slots in a KES period:

The current slot can be obtained using a query tip:

Divide:

Or in one line:

On the air-gapped machine, run:

Last updated

Was this helpful?