Really great work here OutCast!
I'm working on a project to create a multisig service and need to create keys server-side without exposing them to end users. My first thought was to refactor your work to run in a node.js server. Does this seem like a good solution, and if so have you looked into doing anything similar?
Ultimately I need to be able to create key pairs, validate user public keys, and create/sign multisig addresses. For signing I am planning to have users partially sign a multisig transaction with their keys and then send that to my server for final signature and broadcasting from the server. This would likely mean needing to confirm partially signed transactions sent to the server, though I haven't looked into the feasibility of that yet. Does your code already support partial signing and validation?