Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stellar/laboratory
https://github.com/stellar/laboratory
blockchain cryptocurrency react stellar
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stellar/laboratory
- Owner: stellar
- Created: 2015-10-13T21:58:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-28T23:16:54.000Z (6 months ago)
- Last Synced: 2024-05-29T04:34:21.486Z (6 months ago)
- Topics: blockchain, cryptocurrency, react, stellar
- Language: JavaScript
- Homepage:
- Size: 13.1 MB
- Stars: 78
- Watchers: 41
- Forks: 87
- Open Issues: 65
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Lab
The Stellar Lab is a suite of tools to help one learn about exploring the
Stellar network. See it in action:
[https://lab.stellar.org/](https://lab.stellar.org/).## Tech stack
- [Next.js](https://nextjs.org/) framework (React)
- [TypeScript](https://www.typescriptlang.org/)
- [Stellar Design System](https://design-system.stellar.org/) for UI
- [Sass](https://sass-lang.com/) for CSS styling
- [TanStack (React) Query](https://tanstack.com/query/latest) for API queries
- [Zustand](https://docs.pmnd.rs/zustand/getting-started/introduction) for state
management
- [Playwright](https://playwright.dev/) for e2e tests
- [Yarn Classic (v1)](https://classic.yarnpkg.com/lang/en/docs/install/)## Developing
```sh
yarn dev
```Testing hardware wallets requires an HTTPS connection to enable U2F. The
recommended way to do this is with [`ngrok`](https://ngrok.com/). Once
downloaded and authenticated, start ngrok, and tell the Lab to start with a
public URL.```bash
./ngrok http 3000
# in a separate terminal
# the subdomain will appear in ngrok's output
yarn start --public randomsubdomain.ngrok.io
```## Building for production
```sh
yarn build
```To build and run production build locally:
```sh
yarn start
```Production uses [Amplitude](https://amplitude.com/) to emit metrics, so to fully
emulate a production build, you’ll need to set an
`NEXT_PUBLIC_AMPLITUDE_API_KEY` variable in `.env.local` file.