When you pass a key to lua, the raw bytes kinda breaks lua tables. I made two new functions here "ToHexString()" and "FromHexString()" so you can convert the private keys into a string that lua can intepret :)
The function ToHexString() is working but i'm having trouble with the FromHexString(), it just returns nil.
The raw bytes shouldn't break Lua tables, you must be doing something funky (unless you're just trying to print them, which will, of course, break rendering).
Hi,
When you pass a key to lua, the raw bytes kinda breaks lua tables. I made two new functions here "ToHexString()" and "FromHexString()" so you can convert the private keys into a string that lua can intepret :)
The function ToHexString() is working but i'm having trouble with the FromHexString(), it just returns nil.