Archived Content from Web3Auth Community
This topic was originally posted by githubdiscussions on 8/2/2022.
This content has been migrated from our previous community forum to preserve valuable discussions.
Is it the same as client's secret key?
Originally posted by:
shahbaz17 Check the discussion at:
https://github.com/orgs/Web3Auth/discussions/355
app scope private key is the private key, and here's how to get it for Ethereum:
//Assuming user is already logged in.
async getPrivateKey() {
const privateKey = await web3auth.provider.request({
method: ""eth_private_key""
});
//Do something with privateKey
}
See https://github.com/orgs/Web3Auth/discussions/322 to learn more about how you could do with other blockchains.
It is not same as the client's secret key.
Originally posted by:
shahbaz17