@hyperlane-xyz/core
v11.1.0
Published
Core solidity contracts for Hyperlane
Downloads
14,850
Readme
Hyperlane Core
Hyperlane Core contains the contracts and typechain artifacts for the Hyperlane implementation for EVM.
Install
# Install with NPM
npm install @hyperlane-xyz/core
# Or with pnpm
pnpm add @hyperlane-xyz/coreNote, this package uses ESM Modules
Build
pnpm buildTest
pnpm testFixtures
Some forge tests may generate fixtures. This allows the SDK tests to leverage forge fuzzing. These are git ignored and should not be committed.
Contributing
When modifying Solidity contracts, CI checks will validate that appropriate changesets are included based on the type of change:
| Analysis | Change Type | Required Changeset |
| ------------- | ---------------------------------------- | ------------------ |
| Bytecode | Any change | patch or higher |
| Interface | Addition (new functions, events, errors) | minor or higher |
| Interface | Removal or modification | major |
| Storage | Addition (new storage slots) | minor or higher |
| Storage | Removal | major |
To add a changeset, run:
pnpm changesetSelect @hyperlane-xyz/core and choose the appropriate bump level based on your changes.
License
Apache 2.0
