input-output-hk / cardano-tutorials

ARCHIVED-This content in this repository is now located at https://docs.cardano.org/projects/cardano-node/

Home Page:https://docs.cardano.org/projects/cardano-node/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Address creation doc generates the old address (start with 8) instead of the new format (start with 6)

gacallea opened this issue · comments

Hi all,

2nd wave Pioneer :) yay! I'm following the exercises one at the time and doing as told.

On the tutorial on how to make an address, if one follows the instruction verbatim ends up with the old address type (starts with 8). However the G Docs now use a new format (starts with 6). To generate the right kind of address (start with 6) I had to remove one line.

docs: https://github.com/input-output-hk/cardano-tutorials/blob/master/node-setup/address.md#payment-address

current instructions (8 addr):

cardano-cli shelley address build \
 --payment-verification-key-file payment.vkey \
 --stake-verification-key-file stake.vkey \
 --out-file payment.addr  

working instructions (6 addr):

cardano-cli shelley address build \
 --payment-verification-key-file payment.vkey \
 --out-file payment.addr  

I don't know if the 6 address is a temporary thing, or if it's supposed to be 8 at the end. I just found the docs misleading for the current state of affairs. I hope this can help.

Cheers

commented

These are two different type of addresses - and expected, checkout the description and examples here