Can I get The generate private key and reconstruct private key from this web :
Option 1 Generate Private Key or https://tech.tor.us/
P/s : I am working on a project building a account abstraction mobile wallet using Web3Auth ( Tkey ) and Biconomy Sdk<
Hi @funny.khaihoan!
You can do it using the tKey SDK… Here is the documentation on how to use it Introduction | Documentation
Yes, I See the document and Example from GitHub - tkey/tkey-example: Demo app for tkey SDK , But I don’t know how to link and reconstruct the key Share with Google Login … so I want to get the Source Code
Hi @funny.khaihoan, we don’t have a public repo for the website… Please use this as a guide on how to do the generate/reconstruct tkey
Generate private key
- Generate privateKey
- you can generate a privateKey with this package https://www.npmjs.com/package/eccrypto
- You can use the generated privateKey as importKey during
tkey.initialize({importKey: privateKey})
- Next setup other shares
Reconstruct
- Using the privateKey generated you can initialize tkey again
tKey.initialize(
importKey: generatedKey
);
- User social factor
google
to add more share - call tKey.reconstructKey();
1 Like