-
Notifications
You must be signed in to change notification settings - Fork 8
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
Init Lit Action Conditions: Reading State from Stellar
example
#272
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for lit-dev-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const client = new LitJsSdk.LitNodeClientNodeJs({ | |
const client = new LitNodeClientNodeJs({ |
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 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