Init Guide on Managing Auth Method for a PKP that Owns Itself#305
Init Guide on Managing Auth Method for a PKP that Owns Itself#305Spacesai1or wants to merge 5 commits intomainfrom
Conversation
✅ Deploy Preview for lit-dev-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
awisniew207
left a comment
There was a problem hiding this comment.
The only note I have is that some blocks of code did not have any imports when they used methods in the Lit SDK. For example, the first two blocks and Transferring PKP Ownership to Itself. I'm sure the imports are elsewhere in the doc, but perhaps we want them anyways?
Great explanations on every part of the code. Reference links, splitting the code into blocks, and taking it piece-by-piece were appreciated for reading.
@awisniew207 Thanks Andrew, updated! The |
|
My only comment is where this guide lives. I think we should add it as a subset of the user wallets section, versus creating a whole new dropdown. What do you think? |
Agreed otherwise it's confusing what's the difference between User Wallets and PKPs if they have separate sections @spacesailor24 |
|
@DashKash54 This is what Eli and I settled on |
This is the corresponding guide for this code example
It covers:
process.env.ETHEREUM_PRIVATE_KEY_AETHEREUM_PRIVATE_KEY_AETHEREUM_PRIVATE_KEY_Ato the PKP's Ethereum addressETHEREUM_PRIVATE_KEY_Ato the PKP's Ethereum addressETHEREUM_PRIVATE_KEY_BaddPermittedActionfunction on the PKP Permissions contract