Info from the public blockchain + Owner’s secret signing key
So it’s all about key management!
Simplest approach: store key in a file, on your computer or pphone
device compromised -> key leaked -> coins stolen
Hot storage: online convenient but risky
Cold storage: offline archival but safer
Generate a big batch of addresses/keys, transfer to hot beforehand
generateKeyHier -> address gen info -> genAddr -> ith address
-> private key gen info -> genKey -> ith key