https://github.com/lit-protocol/developer-guides-code
A repository of code examples and reference implementations used for Lit Developer Guides
https://github.com/lit-protocol/developer-guides-code
Last synced: about 1 year ago
JSON representation
A repository of code examples and reference implementations used for Lit Developer Guides
- Host: GitHub
- URL: https://github.com/lit-protocol/developer-guides-code
- Owner: LIT-Protocol
- Created: 2024-04-25T22:07:53.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T03:56:39.000Z (over 1 year ago)
- Last Synced: 2025-01-14T04:45:00.044Z (over 1 year ago)
- Language: JavaScript
- Size: 12.6 MB
- Stars: 10
- Watchers: 1
- Forks: 9
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Lit's Developer Guide Code Repository
These examples are designed to help you get started building with Lit!
Each example has instructions within its own README file!
## Setup
```
yarn install
```
For Browser examples, you need to create a `.env.local` file inside nextjs app.
```
cd apps/nextjs
cp .env.local.example .env.local
```
For Nodejs examples, you need to create a `.env` file inside selected example.
```
cp .env.example .env
```
## Test
Run the nodejs tests for all examples
```
yarn test:node
```
Run the browser tests for all examples
```
yarn test:browser
```
## Browser
Run all supported browser examples in nextjs
```
cd apps/nextjs
yarn dev
```