Payment and Stake keys problem - extractPoolStakingKeys.sh: line 2: : command not found

Hello, I am tryign to figure out whats wrong with generating keys or maybe this is how it is supposed to work, i have no idea so i figured i’d ask somebody who knows :slight_smile:

This is the output i get

root@offlaine:/home/offlaine/cardano-wallet-shelley-2020.7.28# ./extractPoolStakingKeys.sh extractedPoolKeys/ option utility spirit junior empty gain #ignore this
./extractPoolStakingKeys.sh: line 2: ​: command not found
cardano-address cannot be found, exiting…
./extractPoolStakingKeys.sh: line 5: ​: command not found
./extractPoolStakingKeys.sh: line 8: ​: command not found
./extractPoolStakingKeys.sh: line 14: ​: command not found
./extractPoolStakingKeys.sh: line 17: ​: command not found
./extractPoolStakingKeys.sh: line 20: : command not found
./extractPoolStakingKeys.sh: line 21: ​: command not found
./extractPoolStakingKeys.sh: line 22: : command not found
./extractPoolStakingKeys.sh: line 23: ​: command not found
./extractPoolStakingKeys.sh: line 24: : command not found
./extractPoolStakingKeys.sh: line 25: ​: command not found
./extractPoolStakingKeys.sh: line 29: ​: command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
Generated from 1852H/1815H/0H/{0,2}/0

./extractPoolStakingKeys.sh: line 34: ​: command not found
./extractPoolStakingKeys.sh: line 40: ​: command not found
./extractPoolStakingKeys.sh: line 41: bech32: command not found
./extractPoolStakingKeys.sh: line 41: bech32: command not found
./extractPoolStakingKeys.sh: line 42: bech32: command not found
./extractPoolStakingKeys.sh: line 42: bech32: command not found
./extractPoolStakingKeys.sh: line 43: ​: command not found
./extractPoolStakingKeys.sh: line 51: ​: command not found
./extractPoolStakingKeys.sh: line 59: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
Command failed: key verification-key Error: stake.skey: Invalid key.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
Command failed: key verification-key Error: payment.skey: Invalid key.
./extractPoolStakingKeys.sh: line 62: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
Command failed: key non-extended-key Error: payment.evkey: payment.evkey: openBinaryFile: does not exist (No such file or directory)
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
Command failed: key non-extended-key Error: stake.evkey: stake.evkey: openBinaryFile: does not exist (No such file or directory)
./extractPoolStakingKeys.sh: line 65: ​: command not found
./extractPoolStakingKeys.sh: line 66: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
Command failed: stake-address build Error: stake.vkey: stake.vkey: openBinaryFile: does not exist (No such file or directory)
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
Command failed: address build Error: payment.vkey: payment.vkey: openBinaryFile: does not exist (No such file or directory)
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
Command failed: address build Error: payment.vkey: payment.vkey: openBinaryFile: does not exist (No such file or directory)
./extractPoolStakingKeys.sh: line 70: ​: command not found
Important the base.addr and the base.addr_candidate must be the same
root@offlaine:/home/offlaine/cardano-wallet-shelley-2020.7.28#

Such keys as payment vkeys and othet vkeys can be generated using Cli method so should i do that first then comeback or does it all work in the end if i continue with these WARNINGS ? Thanks for the info :slight_smile:

Hi!

Do you have a link to the script just to see the source code…

Yes i’ve taken it from cashews guide

On air-gapped offline machine,

cat > extractPoolStakingKeys.sh << HERE
#!/bin/bash

CADDR=${CADDR:=$( which cardano-address )}
[[ -z “$CADDR” ]] && ( echo “cardano-address cannot be found, exiting…” >&2 ; exit 127 )

CCLI=${CCLI:=$( which cardano-cli )}
[[ -z “$CCLI” ]] && ( echo “cardano-cli cannot be found, exiting…” >&2 ; exit 127 )

OUT_DIR="$1"
[[ -e “$OUT_DIR” ]] && {
echo “The “$OUT_DIR” is already exist delete and run again.” >&2
exit 127
} || mkdir -p “$OUT_DIR” && pushd “$OUT_DIR” >/dev/null

shift
MNEMONIC="$*"

Generate the master key from mnemonics and derive the stake account keys

as extended private and public keys (xpub, xprv)

echo “$MNEMONIC” |
“$CADDR” key from-recovery-phrase Shelley > root.prv

cat root.prv |
“$CADDR” key child 1852H/1815H/0H/2/0 > stake.xprv

cat root.prv |
“$CADDR” key child 1852H/1815H/0H/0/0 > payment.xprv

TESTNET=0
MAINNET=1
NETWORK=$MAINNET

cat payment.xprv |
“$CADDR” key public | tee payment.xpub |
“$CADDR” address payment --network-tag $NETWORK |
“$CADDR” address delegation $(cat stake.xprv | “$CADDR” key public | tee stake.xpub) |
tee base.addr_candidate |
“$CADDR” address inspect
echo “Generated from 1852H/1815H/0H/{0,2}/0”
cat base.addr_candidate
echo

XPrv/XPub conversion to normal private and public key, keep in mind the

keypars are not a valind Ed25519 signing keypairs.

TESTNET_MAGIC="–testnet-magic 1097911063"
MAINNET_MAGIC="–mainnet"
MAGIC="$MAINNET_MAGIC"

SESKEY=$( cat stake.xprv | bech32 | cut -b -128 )$( cat stake.xpub | bech32)
PESKEY=$( cat payment.xprv | bech32 | cut -b -128 )$( cat payment.xpub | bech32)

cat << EOF > stake.skey
{
“type”: “StakeExtendedSigningKeyShelley_ed25519_bip32”,
“description”: “”,
“cborHex”: “5880$SESKEY”
}
EOF

cat << EOF > payment.skey
{
“type”: “PaymentExtendedSigningKeyShelley_ed25519_bip32”,
“description”: “Payment Signing Key”,
“cborHex”: “5880$PESKEY”
}
EOF

“$CCLI” shelley key verification-key --signing-key-file stake.skey --verification-key-file stake.evkey
“$CCLI” shelley key verification-key --signing-key-file payment.skey --verification-key-file payment.evkey

“$CCLI” shelley key non-extended-key --extended-verification-key-file payment.evkey --verification-key-file payment.vkey
“$CCLI” shelley key non-extended-key --extended-verification-key-file stake.evkey --verification-key-file stake.vkey

“$CCLI” shelley stake-address build --stake-verification-key-file stake.vkey $MAGIC > stake.addr
“$CCLI” shelley address build --payment-verification-key-file payment.vkey $MAGIC > payment.addr
“$CCLI” shelley address build
–payment-verification-key-file payment.vkey
–stake-verification-key-file stake.vkey
$MAGIC > base.addr

echo “Important the base.addr and the base.addr_candidate must be the same”
diff base.addr base.addr_candidate
popd >/dev/null
HERE

code’s allright?

1 Like

Hmm , i don’t know then…

would be better to post your script - so what is the result of copying the code from the site…

what do you mean by my script ?

the script which has been created on your machine - cat extractPoolStakingKeys.sh

well there u go …

#!/bin/bash

CADDR=${CADDR:=$( which cardano-address )}
[[ -z “$CADDR” ]] && ( echo “cardano-address cannot be found, exiting…” >&2 ; exit 127 )

CCLI=${CCLI:=$( which cardano-cli )}
[[ -z “$CCLI” ]] && ( echo “cardano-cli cannot be found, exiting…” >&2 ; exit 127 )

OUT_DIR="$1"
[[ -e “$OUT_DIR” ]] && {
echo “The “$OUT_DIR” is already exist delete and run again.” >&2
exit 127
} || mkdir -p “$OUT_DIR” && pushd “$OUT_DIR” >/dev/null

shift
MNEMONIC="$*"

Generate the master key from mnemonics and derive the stake account keys

as extended private and public keys (xpub, xprv)

echo “$MNEMONIC” |"$CADDR" key from-recovery-phrase Shelley > root.prv

cat root.prv |"$CADDR" key child 1852H/1815H/0H/2/0 > stake.xprv

cat root.prv |"$CADDR" key child 1852H/1815H/0H/0/0 > payment.xprv

TESTNET=0
MAINNET=1
NETWORK=$MAINNET

cat payment.xprv |"$CADDR" key public | tee payment.xpub |"$CADDR" address payment --network-tag $NETWORK |"$CADDR" address delegation $(cat stake.xprv | “$CADDR” key public | tee stake.xpub) |tee base.addr_candidate |"$CADDR" address inspect
echo “Generated from 1852H/1815H/0H/{0,2}/0”
cat base.addr_candidate
echo

XPrv/XPub conversion to normal private and public key, keep in mind the

keypars are not a valind Ed25519 signing keypairs.

TESTNET_MAGIC="–testnet-magic 1097911063"
MAINNET_MAGIC="–mainnet"
MAGIC="$MAINNET_MAGIC"

SESKEY=$( cat stake.xprv | bech32 | cut -b -128 )$( cat stake.xpub | bech32)
PESKEY=$( cat payment.xprv | bech32 | cut -b -128 )$( cat payment.xpub | bech32)

cat << EOF > stake.skey
{
“type”: “StakeExtendedSigningKeyShelley_ed25519_bip32”,
“description”: “”,
“cborHex”: “5880$SESKEY”
}
EOF

cat << EOF > payment.skey
{
“type”: “PaymentExtendedSigningKeyShelley_ed25519_bip32”,
“description”: “Payment Signing Key”,
“cborHex”: “5880$PESKEY”
}
EOF

“$CCLI” shelley key verification-key --signing-key-file stake.skey --verification-key-file stake.evkey
“$CCLI” shelley key verification-key --signing-key-file payment.skey --verification-key-file payment.evkey

“$CCLI” shelley key non-extended-key --extended-verification-key-file payment.evkey --verification-key-file payment.vkey
“$CCLI” shelley key non-extended-key --extended-verification-key-file stake.evkey --verification-key-file stake.vkey

“$CCLI” shelley stake-address build --stake-verification-key-file stake.vkey $MAGIC > stake.addr
“$CCLI” shelley address build --payment-verification-key-file payment.vkey $MAGIC > payment.addr
“$CCLI” shelley address build --payment-verification-key-file payment.vkey --stake-verification-key-file stake.vkey $MAGIC > base.addr

echo “Important the base.addr and the base.addr_candidate must be the same”
diff base.addr base.addr_candidate
popd >/dev/null

this text is also part of the file?

also provide the link to the guide where you get the instructions…

1 Like

Guide: How to build a Cardano Stake Pool - CoinCashew , OK so an update, got it sort of working by copying all the binaries and placing them into .bin folder @root thanks for the help ROFL, sorry don’t wanna be rude but there we go i’m making it work :slight_smile:

ahh ok - it is on the Mnemonic Method tab…
also the code same is better to put into preformatted text. CTRL+SHIFT+C
so, what is the current error?

It is working now ??? i’ve placed those binaries where they should be , and now base.addr and base.addr_candidate are giving me outputs they are the same also, before they were empty.

/extractPoolStakingKeys.sh extractedPoolKeys/ option utility spirit junior empty gain spread task despair nature jungle#IGNORE THIS
./extractPoolStakingKeys.sh: line 3: ​: command not found
./extractPoolStakingKeys.sh: line 6: ​: command not found
./extractPoolStakingKeys.sh: line 9: ​: command not found
./extractPoolStakingKeys.sh: line 15: ​: command not found
./extractPoolStakingKeys.sh: line 18: ​: command not found
./extractPoolStakingKeys.sh: line 24: ​: command not found
./extractPoolStakingKeys.sh: line 26: ​: command not found
./extractPoolStakingKeys.sh: line 28: ​: command not found
./extractPoolStakingKeys.sh: line 32: ​: command not found
{
“stake_reference”: “by value”,
“stake_key_hash”: “b665436c2f4607260eefadfc7c98d510c5594c8aa8caefb6af198b2e”,
“address_style”: “Shelley”,
“spending_key_hash”: “bb17466bab1b4c85097311041f0b909dd0e2a22ff35dcbfa3c65bdae”,
“network_tag”: 1
}
Generated from 1852H/1815H/0H/{0,2}/0
addr1qxa3w3nt4vd5epgfwvgsg8ctjzwapc4z9le4mjl683jmmt4kv4pkct6xqunqamadl37f34gsc4v5ez4gethmdtce3vhq8rndkw
./extractPoolStakingKeys.sh: line 37: ​: command not found
./extractPoolStakingKeys.sh: line 45: ​: command not found
./extractPoolStakingKeys.sh: line 48: ​: command not found
./extractPoolStakingKeys.sh: line 56: ​: command not found
./extractPoolStakingKeys.sh: line 64: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
./extractPoolStakingKeys.sh: line 67: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
./extractPoolStakingKeys.sh: line 70: ​: command not found
./extractPoolStakingKeys.sh: line 71: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
./extractPoolStakingKeys.sh: line 75: ​: command not found
Important the base.addr and the base.addr_candidate must be the same
root@offlaine:/home/offlaine/cardano-wallet-shelley-2020.7.28#

yes - so what this command gives you back? which cardano-address

It gives me a path to my binary folder @ root

/usr/local/bin/cardano-address

1 Like

when I execute this command I got this:

bash ./extractPoolStakingKeys.sh 
cardano-address cannot be found, exiting...
cardano-cli cannot be found, exiting...
mkdir: cannot create directory ‘’: No such file or directory
./extractPoolStakingKeys.sh: line 20: : command not found
./extractPoolStakingKeys.sh: line 22: : command not found
./extractPoolStakingKeys.sh: line 24: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
./extractPoolStakingKeys.sh: line 30: : command not found
Generated from 1852H/1815H/0H/{0,2}/0

./extractPoolStakingKeys.sh: line 41: bech32: command not found
./extractPoolStakingKeys.sh: line 41: bech32: command not found
./extractPoolStakingKeys.sh: line 42: bech32: command not found
./extractPoolStakingKeys.sh: line 42: bech32: command not found
./extractPoolStakingKeys.sh: line 60: : command not found
./extractPoolStakingKeys.sh: line 61: : command not found
./extractPoolStakingKeys.sh: line 63: : command not found
./extractPoolStakingKeys.sh: line 64: : command not found
./extractPoolStakingKeys.sh: line 67: : command not found
./extractPoolStakingKeys.sh: line 68: : command not found
./extractPoolStakingKeys.sh: line 69: : command not found
Important the base.addr and the base.addr_candidate must be the same
./extractPoolStakingKeys.sh: line 73: popd: directory stack empty

could you please add -x flag to the execution - like bash -x ./extractPoolStakingKeys.sh and copy the output here?

sure give me a sec

Ok i’ve got two outputs for you one is very similar to yours and the other one is full of problems

-x bash OUTPUT

root@offlaine:/home/offlaine/cardano-wallet-shelley-2020.7.28# bash -x ./extractPoolStakingKeys.sh


  • ./extractPoolStakingKeys.sh: line 3: ​: command not found
    ++ which cardano-address
  • CADDR=/usr/local/bin/cardano-address
  • [[ -z /usr/local/bin/cardano-address ]]

  • ./extractPoolStakingKeys.sh: line 6: ​: command not found
    ++ which cardano-cli
  • CCLI=/usr/local/bin/cardano-cli
  • [[ -z /usr/local/bin/cardano-cli ]]

  • ./extractPoolStakingKeys.sh: line 9: ​: command not found
  • OUT_DIR=
  • [[ -e ‘’ ]]
  • mkdir -p ‘’
    mkdir: cannot create directory ‘’: No such file or directory

  • ./extractPoolStakingKeys.sh: line 15: ​: command not found
  • shift
  • MNEMONIC=

  • ./extractPoolStakingKeys.sh: line 18: ​: command not found
  • echo ‘’
  • /usr/local/bin/cardano-address key from-recovery-phrase Shelley
    user error (Invalid number of words: 9, 12, 15, 18, 21 or 24 words are expected.)

  • ./extractPoolStakingKeys.sh: line 24: ​: command not found
  • cat root.prv
  • /usr/local/bin/cardano-address key child 1852H/1815H/0H/2/0
    user error (Couldn’t convert bytes into neither extended public or private keys.)

  • ./extractPoolStakingKeys.sh: line 26: ​: command not found
  • cat root.prv
  • /usr/local/bin/cardano-address key child 1852H/1815H/0H/0/0
    user error (Couldn’t convert bytes into neither extended public or private keys.)

  • ./extractPoolStakingKeys.sh: line 28: ​: command not found
  • TESTNET=0
  • MAINNET=1
  • NETWORK=1

  • ./extractPoolStakingKeys.sh: line 32: ​: command not found
  • cat payment.xprv
  • /usr/local/bin/cardano-address key public
  • tee payment.xpub
  • tee base.addr_candidate
  • /usr/local/bin/cardano-address address payment --network-tag 1
  • /usr/local/bin/cardano-address address inspect
    user error (Couldn’t convert bytes into extended private key.)
    ++ tee stake.xpub
    ++ cat stake.xprv
    ++ /usr/local/bin/cardano-address key public
    user error (Couldn’t convert bytes into extended private key.)
    user error (Couldn’t convert bytes into extended public key.)
  • /usr/local/bin/cardano-address address delegation
    Usage: cardano-address address delegation XPUB
    Create a delegation address

Available options:
-h,–help Show this help text
XPUB An extended stake public key.

The payment address is read from stdin.

Example:
$ cardano-address recovery-phrase generate --size 15
| cardano-address key from-recovery-phrase Shelley > root.prv

$ cat root.prv
| cardano-address key child 1852H/1815H/0H/2/0 > stake.prv

$ cat root.prv
| cardano-address key child 1852H/1815H/0H/0/0 > addr.prv

$ cat addr.prv
| cardano-address key public
| cardano-address address payment --network-tag 0
| cardano-address address delegation $(cat stake.prv | cardano-address key public)
addr1qpj2d4dqzds5p3mmlu95v9pex2d72cdvyjh2u3dtj4yqesv27k…
user error (Unrecognized address on standard input)

  • echo ‘Generated from 1852H/1815H/0H/{0,2}/0’
    Generated from 1852H/1815H/0H/{0,2}/0

  • cat base.addr_candidate

  • echo


  • ./extractPoolStakingKeys.sh: line 37: ​: command not found

  • TESTNET_MAGIC=’–testnet-magic 1097911063’

  • MAINNET_MAGIC=–mainnet

  • MAGIC=–mainnet


  • ./extractPoolStakingKeys.sh: line 45: ​: command not found
    ++ cat stake.xprv
    ++ bech32
    ++ cut -b -128
    bech32: user error (StringToDecodeTooShort)
    ++ cat stake.xpub
    ++ bech32
    bech32: user error (StringToDecodeTooShort)

  • SESKEY=
    ++ bech32
    ++ cut -b -128
    ++ cat payment.xprv
    bech32: user error (StringToDecodeTooShort)
    ++ bech32
    ++ cat payment.xpub
    bech32: user error (StringToDecodeTooShort)

  • PESKEY=


  • ./extractPoolStakingKeys.sh: line 48: ​: command not found

  • cat


  • ./extractPoolStakingKeys.sh: line 56: ​: command not found

  • cat


  • ./extractPoolStakingKeys.sh: line 64: ​: command not found

  • /usr/local/bin/cardano-cli shelley key verification-key --signing-key-file stake.skey --verification-key-file stake.evkey
    WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
    Command failed: key verification-key Error: stake.skey: Invalid key.

  • /usr/local/bin/cardano-cli shelley key verification-key --signing-key-file payment.skey --verification-key-file payment.evkey
    WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
    Command failed: key verification-key Error: payment.skey: Invalid key.


  • ./extractPoolStakingKeys.sh: line 67: ​: command not found

  • /usr/local/bin/cardano-cli shelley key non-extended-key --extended-verification-key-file payment.evkey --verification-key-file payment.vkey
    WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
    Command failed: key non-extended-key Error: payment.evkey: payment.evkey: openBinaryFile: does not exist (No such file or directory)

  • /usr/local/bin/cardano-cli shelley key non-extended-key --extended-verification-key-file stake.evkey --verification-key-file stake.vkey
    WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
    Command failed: key non-extended-key Error: stake.evkey: stake.evkey: openBinaryFile: does not exist (No such file or directory)


  • ./extractPoolStakingKeys.sh: line 70: ​: command not found


  • ./extractPoolStakingKeys.sh: line 71: ​: command not found

  • /usr/local/bin/cardano-cli shelley stake-address build --stake-verification-key-file stake.vkey --mainnet
    WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
    Command failed: stake-address build Error: stake.vkey: TextEnvelope type error: Expected: StakeVerificationKeyShelley_ed25519 Actual: StakeExtendedSigningKeyShelley_ed25519_bip32

  • /usr/local/bin/cardano-cli shelley address build --payment-verification-key-file payment.vkey --mainnet
    WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
    Command failed: address build Error: payment.vkey: payment.vkey: openBinaryFile: does not exist (No such file or directory)

  • /usr/local/bin/cardano-cli shelley address build --payment-verification-key-file payment.vkey --stake-verification-key-file stake.vkey --mainnet
    WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
    Command failed: address build Error: payment.vkey: payment.vkey: openBinaryFile: does not exist (No such file or directory)


  • ./extractPoolStakingKeys.sh: line 75: ​: command not found

  • echo ‘Important the base.addr and the base.addr_candidate must be the same’
    Important the base.addr and the base.addr_candidate must be the same

  • diff base.addr base.addr_candidate

  • popd
    ./extractPoolStakingKeys.sh: line 78: popd: directory stack empty
    root@offlaine:/home/offlaine/cardano-wallet-shelley-2020.7.28#

without -x bash OUTPUT

./extractPoolStakingKeys.sh: line 3: ​: command not found
./extractPoolStakingKeys.sh: line 6: ​: command not found
./extractPoolStakingKeys.sh: line 9: ​: command not found
./extractPoolStakingKeys.sh: line 15: ​: command not found
./extractPoolStakingKeys.sh: line 18: ​: command not found
./extractPoolStakingKeys.sh: line 24: ​: command not found
./extractPoolStakingKeys.sh: line 26: ​: command not found
./extractPoolStakingKeys.sh: line 28: ​: command not found
./extractPoolStakingKeys.sh: line 32: ​: command not found
{
“stake_reference”: “by value”,
“stake_key_hash”: “b665436c2f4607260eefadfc7c98d510c5594c8aa8caefb6af198b2e”,
“address_style”: “Shelley”,
“spending_key_hash”: “bb17466bab1b4c85097311041f0b909dd0e2a22ff35dcbfa3c65bdae”,
“network_tag”: 1
}
Generated from 1852H/1815H/0H/{0,2}/0
addr1qxa3w3nt4vd5epgfwvgsg8ctjzwapc4z9le4mjl683jmmt4kv4pkct6xqunqamadl37f34gsc4v5ez4gethmdtce3vhq8rndkw
./extractPoolStakingKeys.sh: line 37: ​: command not found
./extractPoolStakingKeys.sh: line 45: ​: command not found
./extractPoolStakingKeys.sh: line 48: ​: command not found
./extractPoolStakingKeys.sh: line 56: ​: command not found
./extractPoolStakingKeys.sh: line 64: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
./extractPoolStakingKeys.sh: line 67: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
./extractPoolStakingKeys.sh: line 70: ​: command not found
./extractPoolStakingKeys.sh: line 71: ​: command not found
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
WARNING: The “shelley” subcommand is now deprecated and will be removed in the future. Please use the top-level commands instead.
./extractPoolStakingKeys.sh: line 75: ​: command not found
Important the base.addr and the base.addr_candidate must be the same
root@offlaine:/home/offlaine/cardano-wallet-shelley-2020.7.28#

could you please edit your previous post and select the code part and press CTRL+SHIFT+C or in the text format menu there is a Performated text button… with that it is easier to read: like this:

this is a preformated text

1 Like