Experimenting with artificial neural networks and ecc math (curve secp256k1).
Using this simple scala neural net library for the neural network side of things, and this simple pure scala secp256k1 library. Using cats-effect for everything else.
scala-cli run .
- ... wait forever ...
- ... keep waiting ...
- network will learn to recover a private key from a public key and generator point
- ... but it is not likely to happen anytime soon!
- in case it does though, the network is saved to disk after every 100 random training observations