4

I'm looking to make a JavaScript brain wallet generator for Monero. Is there a JavaScript library to create Monero addresses?

YakovL
  • 105
  • 6
Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69

1 Answers1

7

There is Javascript code to generate Monero addresses from an arbitrary string, yes. See https://github.com/moneromooo-monero/monero-wallet-generator/tree/master. This page contains code originally from MyMonero (https://mymonero.com/).

The general idea is to hash the string (preferably using a KDF), and use the resulting hash as the spend key. The view key is obtained from the spend key.

user36303
  • 34,928
  • 2
  • 58
  • 123