I put together a JS script for deriving HD wallet addresses.
I wanted to have something that was more linear and easier to follow, just as a learning exercise to demonstrate how addresses are constructed in Cardano.
Hopefully this will be useful for anyone else who’s curious about how Cardano addresses work.
I originally wanted to do it in Python, but got stuck on deriving the child public key. Vacuumlabs seem to have made a custom library for this that they’re using in their adalite walllet, and this can be installed easily using npm.
The script can be found here.
And here’s a screenshot of the output: