Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hop-protocol/hop
π° Hop Protocol Monorepo
https://github.com/hop-protocol/hop
frontend hop hop-node hop-protocol javascript monorepo npm react sdk typescript
Last synced: 3 days ago
JSON representation
π° Hop Protocol Monorepo
- Host: GitHub
- URL: https://github.com/hop-protocol/hop
- Owner: hop-protocol
- License: mit
- Created: 2020-10-19T01:40:43.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-12-10T00:25:17.000Z (3 days ago)
- Last Synced: 2024-12-10T01:22:07.867Z (3 days ago)
- Topics: frontend, hop, hop-node, hop-protocol, javascript, monorepo, npm, react, sdk, typescript
- Language: TypeScript
- Homepage: https://hop.exchange/
- Size: 79.7 MB
- Stars: 2,847
- Watchers: 43
- Forks: 190
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- best-of-crypto - GitHub - 13% open Β· β±οΈ 30.05.2024): (Others)
README
# Hop Monorepo
> The [Hop Protocol](https://hop.exchange/) monorepo
## Packages
### V1
| Lib/App | Current Version | Description |
| --- | --- | --- |
[@hop-protocol/frontend](packages/frontend) | [![npm version](https://badge.fury.io/js/%40hop-protocol%2Ffrontend.svg)](https://badge.fury.io/js/) | React Frontend UI |
[@hop-protocol/sdk](packages/sdk) | [![npm version](https://badge.fury.io/js/%40hop-protocol%2Fsdk.svg)](https://badge.fury.io/js/) | V1 TypeScript Hop SDK |
[@hop-protocol/hop-node](packages/hop-node) | [![npm version](https://badge.fury.io/js/%40hop-protocol%2Fhop-node.svg)](https://badge.fury.io/js/) | TypeScript Hop Node |### V2
| Lib/App | Current Version | Description |
| --- | --- | --- |
[@hop-protocol/v2-sdk](packages/v2-sdk) | [![npm version](https://badge.fury.io/js/%40hop-protocol%2Fv2-sdk.svg)](https://badge.fury.io/js/) | V2 TypeScript Hop SDK |
[@hop-protocol/v2-hop-node](packages/v-2hop-node) | [![npm version](https://badge.fury.io/js/%40hop-protocol%2Fv2-hop-node.svg)](https://badge.fury.io/js/) | TypeScript Hop Node |## Quickstart
The Hop monorepo uses [PNPM](https://pnpm.io/) for package and workspace management.
Install dependencies & link packages
```bash
pnpm install
pnpm build
```#### Guidelines for using PNPM workspaces
All commands should be run from the root of the monorepo.
```bash
# Install a single package and its dependencies
pnpm --filter ... install# Build a single package and its dependencies
pnpm --filter ... build# Run a PNPM script in all packages
pnpm```
**If you are developing on a single package only and need to ignore the rest of the packages**, you need to install with `--include-workspace-root`. This is because the installation of a single package does not install the rootβs dependencies, which are usually needed for building and linting.
```bash
pnpm --filter ... install --include-workspace-root
```## Contributing
See [./CONTRIBUTING.md](./CONTRIBUTING.md)
## License
[MIT](LICENSE)