📓
Stake Pool Scripts by APEX Stake Pool
  • Stake pool registration
    • Directory structure
    • Wallet
    • Metadata
    • Configuration file
    • Stake pool scripts
      • Cold key
      • VRF key
      • KES key
      • Operational certificate
      • Registration certificate
      • Stake key registration
      • Stake key delegation
    • Transaction
      • Using a remote node
      • Transaction scripts
    • Retiring the stake pool
  • Hardware wallet for Pledge
    • Stake key
    • Registration certificate
    • Stake key registration
    • Stake key delegation
    • Transactions
      • Registration certificate
      • Delegation certificate
  • Running a cardano node
    • Starting a relay node
    • Starting a block producing node
Powered by GitBook
On this page
  1. Hardware wallet for Pledge

Registration certificate

In order to add a new owner to the stake pool, a new stake pool registration certificate needs to be created.

Even if a stake pool can have multiple owners, there can be only one rewards wallet. The script below will also change the rewards wallet to be the newly added stake pool owner, the hardware wallet.

Change the pool-registration.sh script from the pool-scripts folder with the new script below:

#!/bin/bash


source ./env

cardano-cli stake-pool registration-certificate \
--cold-verification-key-file ${NODE_HOME}/pool-keys/cold.vkey \
--vrf-verification-key-file ${NODE_HOME}/pool-keys/vrf.vkey \
--pool-pledge ${PLEDGE} \
--pool-cost ${COST} \
--pool-margin ${MARGIN} \
--pool-reward-account-verification-key-file ${NODE_HOME}/keys/hw-stake.vkey \
--pool-owner-stake-verification-key-file ${NODE_HOME}/keys/stake.vkey \
--pool-owner-stake-verification-key-file ${NODE_HOME}/keys/hw-stake.vkey \
${NET} \
--single-host-pool-relay ${RELAY1_HOST} \
--pool-relay-port ${RELAY1_PORT} \
--single-host-pool-relay ${RELAY2_HOST} \
--pool-relay-port ${RELAY2_PORT} \
--metadata-url ${METADATA_URL} \
--metadata-hash ${METADATA_HASH} \
--out-file ${NODE_HOME}/pool-certificates/pool-registration.cert

The changes are:

  • the new stake pool owner line: --pool-owner-stake-verification-key-file ${NODE_HOME}/keys/hw-stake.vkey \

  • the stake.vkey was replaced with hw-stake.vkey on the --pool-reward-account-verification-key-file line.

The script must be executed in order to generate the new stake pool registration certificate, which will need to be submitted with a transaction.

PreviousStake keyNextStake key registration

Last updated 1 year ago