Init Lit Action Conditions: Reading State from Stellar example#272
Draft
Spacesai1or wants to merge 1 commit intomainfrom
Draft
Init Lit Action Conditions: Reading State from Stellar example#272Spacesai1or wants to merge 1 commit intomainfrom
Lit Action Conditions: Reading State from Stellar example#272Spacesai1or wants to merge 1 commit intomainfrom
Conversation
✅ Deploy Preview for lit-dev-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
joshLong145
approved these changes
May 8, 2024
joshLong145
left a comment
There was a problem hiding this comment.
jsut minor stuff. nice job! will approve but please address the two inline comments
| The first thing we need to do is create a Lit Client connected to the `habanero` network: | ||
|
|
||
| ```javascript | ||
| const client = new LitJsSdk.LitNodeClientNodeJs({ |
There was a problem hiding this comment.
Suggested change
| const client = new LitJsSdk.LitNodeClientNodeJs({ | |
| const client = new LitNodeClientNodeJs({ |
Comment on lines
+77
to
+81
| const domain = "localhost"; | ||
| const origin = "https://localhost/login"; | ||
| const statement = | ||
| "This is a test statement. You can put anything you want here."; | ||
|
|
There was a problem hiding this comment.
Can we add something to this guide that says that the user should configure these to there web application context? These should be configured by the DApp developer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR inits a guide to showcase reading state from the Stellar blockchain to provide access control for decryption
There's a PR for the code used in this guide here