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: 6 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 (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-24T00:52:53.000Z (22 days ago)
- Last Synced: 2025-04-01T22:18:58.711Z (13 days ago)
- Topics: frontend, hop, hop-node, hop-protocol, javascript, monorepo, npm, react, sdk, typescript
- Language: TypeScript
- Homepage: https://hop.exchange/
- Size: 80.1 MB
- Stars: 2,855
- Watchers: 43
- Forks: 203
- Open Issues: 30
-
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) | [](https://badge.fury.io/js/) | React Frontend UI |
[@hop-protocol/sdk](packages/sdk) | [](https://badge.fury.io/js/) | V1 TypeScript Hop SDK |
[@hop-protocol/hop-node](packages/hop-node) | [](https://badge.fury.io/js/) | TypeScript Hop Node |### V2
| Lib/App | Current Version | Description |
| --- | --- | --- |
[@hop-protocol/v2-sdk](packages/v2-sdk) | [](https://badge.fury.io/js/) | V2 TypeScript Hop SDK |
[@hop-protocol/v2-hop-node](packages/v2-hop-node) | [](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)