📓
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. Stake pool registration
  2. Stake pool scripts

VRF key

Create and run the following script (vrf-keys.sh) to generate the VRF key pair and its hash (vrf.skey, vrf.vkey and vkeyhash.out files):

#!/bin/bash


source ./env

cardano-cli node key-gen-VRF \
--verification-key-file ${NODE_HOME}/pool-keys/vrf.vkey \
--signing-key-file ${NODE_HOME}/pool-keys/vrf.skey

chmod 400 ${NODE_HOME}/pool-keys/vrf.skey

cardano-cli node key-hash-VRF \
--verification-key-file ${NODE_HOME}/pool-keys/vrf.vkey \
--out-file ${NODE_HOME}/pool-keys/vkeyhash.out
PreviousCold keyNextKES key

Last updated 1 year ago