Basically I want to be able to generate a wallet from keys. In the protocol, Alice and Bob exchange monero keys (public spend, secret and public view) and add the pub spend keys (ed25519 points) together to get a new pub spend key. Bob then seeds the new pub key with his monero, which Alice can gain access to if Bob leaks his private spend key. Then she can combine both of their private spend key to have the private spend key. This is simple stuff really. My question is just, assuming I am Alice and I have both spend keys, how to best generate the new account in the monero wallet. Python-Monero has support for generating a new account from a random seed, but doesn't seem to have support for the https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#generate_from_keys generate_from_keys action. So I'm assuming I need need to call it directly. Just some backstory to give context to anyone who cares. I can pass in the private spendkey, the private viewkey, and the address which seems to be a concatenation of the network bytes, the public spend and view keys, and a checksum made using keccak256 . The filename however, like should it just be an empty file? Can I just do `touch new_wallet` and have it empty like that? Or does it need to contain some other stuff, maybe conform to a specific format?