Why does suddenly payment2.addr appear in Chapter 3 of Cardano Documentation?

Knowledge Base

Why does suddenly payment2.addr appear in Chapter 3 of Cardano Documentation?

You are not familiar with cardano and are wondering why suddenly payment2.addr appears in the official cardano documentation? Basically, payment2.addr should just demonstrate how to build and execute transactions using CLI.

When you look at chapter 3.3 of the official documentation, here, for the first time, payment2.addr is being used without further explanation how to create this address.

cardano-cli shelley transaction build-raw \
--tx-in 4e3a6e7fdcb0d0efa17bf79c13aed2b4cb9baf37fb1aa2e39553d5bd720c5c99#4 \
--tx-out $(cat payment2.addr)+0 \
--tx-out $(cat payment.addr)+0 \
--ttl 0 \
--fee 0 \
--out-file tx.draft

The solution is simple: Create your payment2.addr by repeating the steps of the previous chapter to create a payment2.addr.

Payment key pair

cardano-cli shelley address key-gen \
--verification-key-file payment2.vkey \
--signing-key-file payment2.skey


Stake key pair

cardano-cli shelley stake-address key-gen \
--verification-key-file stake2.vkey \
--signing-key-file stake2.skey


Payment address

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

written by: Chris     published at: Aug 31, 2020

Further articles you might be interested in


Knowledge Base

Gottfried Wilhelm Leibniz: The Last Of The Polymath Geniuses

I wrote about the great genius Geralomo Cardano in an earlier post. He was what we call a "Polymath", which was a common description of early scientists and mathematicians before the concept of "academic specialization" became the normal path to follow. Gottfried Wilhelm Leibniz is considered to be one of the last great Polymaths, and for good reason.

Dec 3, 2023, by Eric Hill


Knowledge Base

A.T. and A.I.

Anyone who has studied the history of computer science and cryptography will be familiar with the terms, "Turing Complete", and "Turing Machine". These terms were coined due to the influence Alan Turing had before computers as we know them existed. His brilliant solution to breaking the Nazi's Enigma coding machine during WWII has been well documented in multiple books and films. However, just before his untimely death in 1954 at age 42, (69 years ago) he correctly foretold the potential of what we now call, "AI", and the disruption it would cause in our own time.

Sep 7, 2023, by Eric Hill


Knowledge Base

What is ESG?

Most of us agree that businesses should apply the basic concepts of ESG to reduce environmental stress on the earth and to encourage like-minded individuals to invest in those companies. Here is a basic description of ESG principles, and an observation on the backlash that has arisen in opposition to them.

Apr 9, 2023, by Eric Hill


Knowledge Base

Charles Hoskinson

Everything relating to Cardano can be traced back to its co-founders: Charles Hoskinson and Jeremy Wood. I highlighted Jeremy Wood in one of my recent posts, and now I will attempt to illuminate some of the important facts about Charles Hoskinson and his broad sweeping vision for Cardano and the world.

Mar 22, 2023, by Eric Hill


Knowledge Base

Voltaire

The Vasil hard fork has ushered us into “Basho”, the next-to-last era of the Cardano Roadmap. Soon we will enter into the final era, "Voltaire", planned from the very beginning of Cardano’s journey and development. This post is about Voltaire himself, one of the most advanced intellects of all time. His influence on the way we look at the world and the way we think about our world cannot be overstated. However, the scope of his writings and pursuits combined with the many places he lived during his lifetime cannot be covered in a blog post. Therefore I am touching upon the more important points of his life and work, leaving a deeper investigation up to you, the reader.

Oct 22, 2022, by Eric Hill