Components: Jormungandr, JCLI
This information is republished from https://github.com/input-output-hk/shelley-testnet/blob/master/docs/stake_pool_operator_how_to.md#stake-pool-operator-journey
To register a stake pool in the blockchain, we need to create a stake pool certificate and send it to the blockchain. This requires us to have enough funds to pay for the transaction fee. Note: Step 3.2 will change once the Incentivized testnet is launched.
Run the following command to download the
createAddress.sh script in the same location:
curl -sLOJ https://raw.githubusercontent.com/input-output-hk/jormungandr-qa/master/scripts/createAddress.sh
Make the script executable:
chmod +x createAddress.sh
- Create a new account address.
./createAddress.sh account | tee stakepool_owner_account.txt
The script returns your cryptographic keys and an address of type account. We are saving them in the file stakepoolowneraccount.txt IT IS EXTREMELY IMPORTANT THAT YOU SAVE YOUR KEYS FOR FUTURE USE
PRIVATE_KEY_SK: ed25519e_sk1lq2zcyms6exxan0xx2gufjt2hdgsxmytgv5fl7nd4agzc89e6eympdwrhc2e59zkhqrpp3gnc4cfp5kf9xqufr9kn7ddl5uvtdsr84q5rg3ge PUBLIC_KEY_PK: ed25519_pk1nm8frtnm8r8yf7tn920akuhtw5s2xaug4mepk84kn3l9znansh0qn206ej ADDRESS: addr1sk0vaydw0vuvu38ewv4flkmjad6jpgmh3zh0yxc7k6w8u520kwzaus7z93h
Depending on when you are reading this How-to, you will have three options to finance your account.
- Using the Faucet in the legacy testnet with test tokens.
- Using the Cardano-Wallet with the command line.
- Using Daedalus.
Funding your account for the Nightly testnet is simple, it has a Faucet that disperses test tokens so that you can practice and experiment with them.
curl -X POST https://faucet.legacy.jormungandr-testnet.iohkdev.io/send-money/$ACCOUNT_ADDRESS
The authoritative source for funding in the Incentivized testnet is this article: How to Register Your Stake Pool follow the tutorial along and come back, once you have sent yourself some funds.
With the Daedalus version for the Incentivized testnet, you will be able to finance your account directly from your wallet sending funds to your
./jcli rest v0 account get $ACCOUNT_ADDRESS -h http://127.0.0.1:3100/api