Hi
we are using Web3AuthMPCCoreKit for login. How to get session key to use write smart contract function in my application ?
Here my login code!!
const coreKitInstance = new Web3AuthMPCCoreKit({
web3AuthClientId: env.NEXT_PUBLIC_WEB3AUTH_CLIENTID,
web3AuthNetwork: WEB3AUTH_NETWORK.DEVNET,
uxMode: "popup",
})
await coreKitInstance.init()
const provider = await coreKitInstance.connect({
subVerifierDetails: {
typeOfLogin: "google",
verifier: "new-blokc-verifier",
clientId: env.NEXT_PUBLIC_GOOGLE_ID,
},
})
pepper
October 9, 2023, 9:19am
2
hello @chintan.tanthetaa23
Our SDK does not provide function for returning session key, please refer to the documentation.
For more information, see https://web3auth.io/docs/sdk/core-kit/mpc-core-kit/usage
Hello @pepper
But we are generate wallet and this wallet address to read and write samrt contract function using etherjs. i am write function in smart contract that time session key or private key pass and than write function.
How to get session key for generate wallet using web3auth MPC core kit ?
pepper
October 10, 2023, 6:45am
5
Hello @chintan.tanthetaa23
here’s the example that can send transcation with mpc core kit.
hope this example helps. thanks
Hello @pepper
can i use web3auth/mpc-core-kit to create a AA wallet ?
and Any other method in wen3auth use to create AA wallet?
pepper
October 17, 2023, 5:09am
7
hello, you can refer to this link.
plus if you want further question besides session key, please make a new thread.
Thank you.
1 Like
system
Closed
October 19, 2023, 5:10am
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.