Where can I get the app scope private key for server side verification?

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