-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional comments/fixes #4
Comments
Thanks for the detail feedbacks. I listed the todos I think need to be done
leave to next version?
|
Hi @Adarsh-Kumar28 I craft the signed transaction using the signature returned from
|
AuthSig is now cached locally in wallet example associated with google email. If cached in |
Hi @Adarsh-Kumar28 , is there any specific reason for it? Do they have to be different? |
How about implementing it in the SDK itself so that this feature is available to anyone using the SDK.
I guess this is what you have to implement. Something similar to how we store in the web browser: https://github.com/LIT-Protocol/lit-js-sdk/blob/serrano/src/utils/lit.js#L1541. You'll have to store it in the app of course.
Lets keep it 24 hours |
I was just curious if there's a |
Yeah that because we differentiate between AuthSig & sessionKey. SessionKeys are still in development & we plan to use it for batch signing hence smaller expiration |
Hi @LevenWin I've asked Debbie to confirm this |
|
And I found a new issue about signature #6 |
Left a comment |
Adarsh from Lit Protocol. I've a few additional comments/fixes to discuss:
authSig
,sessionKeys
locally? So that the user only has to sign one time & then it's fetched from the storage. Like in the browser we're using the localStorage.executeJs()
doesn't return decryptions, see the JS SDKsignPKPTransaction
&sendPKPTransaction
should take an object as a param with exact property names: https://github.com/LIT-Protocol/lit-js-sdk/blob/serrano/src/utils/litNodeClient.js#L122. We do this to ensure that the params match with https://docs.ethers.org/v5/api/utils/transactions/signPKPTransaction
&sendPKPTransaction
functions as it's only required to be passed in theexecuteJs()
& not really related to the "transaction" otherwise. Can do something similar to: https://github.com/LIT-Protocol/lit-js-sdk/blob/serrano/src/utils/litNodeClient.js#L167sessionExpirationKey
&walletSig
expiration: https://github.com/LIT-Protocol/lit-js-sdk/blob/serrano/src/utils/litNodeClient.js#L2234. But it uses the same value heresendPKPTransaction
instead of serializing the result ofsignPKPTransaction
?The text was updated successfully, but these errors were encountered: