Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rainlanguage/orderbook-svelte-components
https://github.com/rainlanguage/orderbook-svelte-components
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rainlanguage/orderbook-svelte-components
- Owner: rainlanguage
- Created: 2023-03-15T13:24:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T10:14:31.000Z (over 1 year ago)
- Last Synced: 2023-11-28T13:33:17.431Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://orderbook-svelte-components.vercel.app
- Size: 654 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Orderbook svelte components
A minimal library of components for building Rain Orderbook applications using Svelte.
The goal of this library is to be totally headless, with no opinionated styling or markup whatsoever.
Currently contains:
- Common subgraph queries, with filters as Svelte stores
- Svelte stores that wrap wagmi methods for interacting with Orderbook and ERC20 tokens
- Utilities for boilerplate associated with building Orderbook GUIsUse with [svelte-wagmi-stores](https://www.npmjs.com/package/svelte-wagmi-stores).
**This library is currently under active development and is subject to frequent breaking changes. It is recommended to pin dependencies to a specific version.**
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev# or start the server and open the app in a new browser tab
npm run dev -- --open
```Everything inside `src/lib` is part of the library, everything inside `src/routes` is for demos.