solanaPrivateKey api

  • SDK Version: @web3auth/solana-provider
  • Blockchain: Solana

Hey there,
when I am calling solanaPrivateKey in the following way

//Assuming user is already logged in.
async getPrivateKey() {
  const privateKey = await web3auth.provider.request({
    method: "solanaPrivateKey"
  });
  //Do something with privateKey
}

Can my user then take it to a place like solfare and continue working with it there ?

Yes, your users can import their private key to any Solana-supported wallet and continue using it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.