Hop Protocol Hop Save

🐰 Hop Protocol Monorepo

Project README

Hop Monorepo

The Hop Protocol monorepo

Packages

V1

Lib/App Current Version Description
@hop-protocol/frontend npm version React Frontend UI
@hop-protocol/sdk npm version V1 TypeScript Hop SDK
@hop-protocol/hop-node npm version TypeScript Hop Node

V2

Lib/App Current Version Description
@hop-protocol/v2-sdk npm version V2 TypeScript Hop SDK
@hop-protocol/v2-hop-node npm version TypeScript Hop Node

Shared

Lib/App Current Version Description
@hop-protocol/sdk-core npm version Shared Hop SDK code
@hop-protocol/hop-node-core npm version Shared Hop Node code

Quickstart

The Hop monorepo uses PNPM for package and workspace management.

Install dependencies & link packages

pnpm install
pnpm build

Guidelines for using PNPM workspaces

All commands should be run from the root of the monorepo.

# Install a single package
pnpm --filter <package_name> install

# Build a single package
pnpm --filter <package_name> build

# Run a PNPM script in all packages
pnpm <script_name>

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.

pnpm --filter <package_name> install --include-workspace-root

Contributing

See ./CONTRIBUTING.md

License

MIT

Open Source Agenda is not affiliated with "Hop Protocol Hop" Project. README Source: hop-protocol/hop
Stars
2,835
Open Issues
31
Last Commit
1 week ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating