Skip to content

Commit

Permalink
Add placeholders for SPO maintenance/retiring tools infra
Browse files Browse the repository at this point in the history
  • Loading branch information
jpraynaud committed Nov 22, 2022
1 parent 3dcc676 commit eddd496
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mithril-infra/assets/tools/pool/maintain-cardano-pool.sh
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

# Script for retiring a cardano pool (SPO)

NETWORK=$1
NETWORK_MAGIC=$2
SIGNER_NODE=$3
POOL_ARTIFACTS_DIR=data/$NETWORK/$SIGNER_NODE/cardano/pool
mkdir -p $POOL_ARTIFACTS_DIR
cd $POOL_ARTIFACTS_DIR
## TODO: return funds to faucet
## TODO: Create deregisration certificate as in https://github.com/input-output-hk/cardano-node/blob/master/doc/stake-pool-operations/12_retire_stakepool.md
12 changes: 12 additions & 0 deletions mithril-infra/assets/tools/pool/retire-cardano-pool.sh
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

# Script for retiring a cardano pool (SPO)

NETWORK=$1
NETWORK_MAGIC=$2
SIGNER_NODE=$3
POOL_ARTIFACTS_DIR=data/$NETWORK/$SIGNER_NODE/cardano/pool
mkdir -p $POOL_ARTIFACTS_DIR
cd $POOL_ARTIFACTS_DIR
## TODO: return funds to faucet
## TODO: Create deregisration certificate as in https://github.com/input-output-hk/cardano-node/blob/master/doc/stake-pool-operations/12_retire_stakepool.md

0 comments on commit eddd496

Please sign in to comment.