Skip to content

Commit

Permalink
Hyperlane packages and typescript rebrand (#1077)
Browse files Browse the repository at this point in the history
- Rename Typescript packages hyperlane-xyz org
- Rename Abacus references in SDK export names
- Bump packages versions to 0.5.0-beta0

Breaking change due to SDK export name changes
  • Loading branch information
jmrossy authored Sep 20, 2022
1 parent 509fa7e commit 0d76398
Show file tree
Hide file tree
Showing 153 changed files with 830 additions and 889 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules
test_deploy.env

typescript/abacus-deploy/.env
typescript/hyperlane-deploy/.env
**/.env
**/tsconfig.tsbuildinfo
**/tmp.*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/monorepo-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
gcr.io/abacus-labs-dev/abacus-monorepo
gcr.io/abacus-labs-dev/hyperlane-monorepo
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:
key: ${{ github.sha }}

- name: sdk
run: yarn workspace @abacus-network/sdk run test
run: yarn workspace @hyperlane-xyz/sdk run test
- name: infra
run: yarn workspace @abacus-network/infra run test
run: yarn workspace @hyperlane-xyz/infra run test
- name: helloworld
run: yarn workspace @abacus-network/helloworld run test
run: yarn workspace @hyperlane-xyz/helloworld run test

test-sol:
env:
Expand All @@ -108,6 +108,6 @@ jobs:
key: ${{ github.sha }}

- name: core
run: yarn workspace @abacus-network/core run test
run: yarn workspace @hyperlane-xyz/core run test
- name: app
run: yarn workspace @abacus-network/app run test
run: yarn workspace @hyperlane-xyz/app run test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules
test_deploy.env

typescript/abacus-deploy/.env
typescript/hyperlane-deploy/.env
**/.env
**/tsconfig.tsbuildinfo
**/tmp.*
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
}
],
"importOrder": ["^@abacus-network/(.*)$", "^../(.*)$", "^./(.*)$"],
"importOrder": ["^@hyperlane-xyz/(.*)$", "^../(.*)$", "^./(.*)$"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
12 changes: 6 additions & 6 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Abacus is a decentralized project to enable developers to create shared state blockchain applications.
Hyperlane is a decentralized project to enable developers to create shared state blockchain applications.
Our goal is to create an environment where a diverse array of participants come to work together bringing forth their unique experience. In that process it is inevitable that contributors and supporters alike will experience differences in location, language, nationality, professional and overall life experience.
It is only natural that in such an environment of open and diverse participation disagreements and misunderstandings will happen. More often than not these can be easily resolved informally, however there will be edge cases where behavior can cross the line.
Our goal is to create an environment that is welcoming to all contributors, and fosters a robust community built on collaboration and experimentation.
Our goal is to create an environment that is welcoming to all contributors, and fosters a robust community built on collaboration and experimentation.
Thus we believe it is necessary to ensure those rare cases that devolve into harassing, intimidating, or otherwise disruptive behavior are mitigated and understood to be unacceptable by the community.


This CoC applies to all members of the Abacus Network's community including, but not limited to - developers, participants in meetings both electronically and in person, conferences, or any other project functions. It is important to note that this code is a complement, not a replacement, to legal rights and obligations pertaining to any particular situation.
This CoC applies to all members of the Hyperlane Network's community including, but not limited to - developers, participants in meetings both electronically and in person, conferences, or any other project functions. It is important to note that this code is a complement, not a replacement, to legal rights and obligations pertaining to any particular situation.

**Code**

1. Never harass or bully anyone. Not verbally, not physically, not sexually. Harassment will not be tolerated.
2. Never discrimnate on the basis of personal characteristics or group membership.
3. Treat your fellow contributors with respect, fairness, and professionalism, especially in situations of high pressure.
4. Seek, offer, and accept objective critism of yours and others work, strive to acknowledge the contributions of others.
5. Be transparent and honest about your qualifications and any potential conflicts of interest. Transparency is a key tenant of the Abacus project and we expect it from all contributors.
6. Bring an open and curious mind, the Abacus project is designed to enable developers to express their curiousity, experiment, and build things we couldn't have imagined ourselves.
5. Be transparent and honest about your qualifications and any potential conflicts of interest. Transparency is a key tenant of the Hyperlane project and we expect it from all contributors.
6. Bring an open and curious mind, the Hyperlane project is designed to enable developers to express their curiousity, experiment, and build things we couldn't have imagined ourselves.
7. Stay on track - Do your best to avoid off-topic discussion and make sure you are posting to the correct channel and repositories. Distractions are costly and it is far too easy for work to go off track.
8. Step down properly - Think of your fellow contributors when you step down from the project. Contributors of open-source projects come and go. It is crucial that when you leave the project or reduce your contribution significantly you do so in a way that minimizes disruption and keeps continuity in mind. Concretely this means telling your fellow contributors you are leaving and taking the proper steps to enable a smooth transition for other contributors to pick up where you left off.
9. Respect the privacy of others, and take extreme care to protect confidential data when you are exposed to it.
Expand Down
21 changes: 11 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Contributing to Abacus
# Contributing to Hyperlane

We'd love for you to contribue to Abacus! Here are the guidelines to follow when contributing:
We'd love for you to contribue to Hyperlane! Here are the guidelines to follow when contributing:

* [Code of Conduct](#coc)
* [Questions and Problems](#question)
* [Issue Submission Guidelines](#submit)
* [Pull Request Submission Guidelines](#submit-pr)
- [Code of Conduct](#coc)
- [Questions and Problems](#question)
- [Issue Submission Guidelines](#submit)
- [Pull Request Submission Guidelines](#submit-pr)

## <a name="coc"></a> Code of Conduct

Help us keep Abacus open and inclusive. Please read and follow our [Code of Conduct][coc].
Help us keep Hyperlane open and inclusive. Please read and follow our [Code of Conduct][coc].

## <a name="question"></a> Got a Question or Problem?

Expand All @@ -24,16 +24,17 @@ Please submit a [new issue][github-new-issue] if you have a bug report or featur
Help us to maximize the effort we can spend fixing issues and adding new features by not reporting duplicate issues.

## <a name="submit-pr"></a> Pull Request Submission Guidelines

Thank you for considering to help out with the source code! We welcome contributions
from anyone on the internet, and are grateful for even the smallest of fixes!

If you'd like to contribute to Abacus, please fork, fix, commit and send a pull request
If you'd like to contribute to Hyperlane, please fork, fix, commit and send a pull request
for the maintainers to review and merge into the main code base. If you wish to submit
more complex changes, please check up with the core devs first on [our Discord Server][discord]
to ensure those changes are in line with the general philosophy of the project and/or get
some early feedback which can make both your efforts much lighter as well as our review
and merge procedures quick and simple.

[coc]: https://github.com/abacus-network/abacus-monorepo/blob/main/CODE_OF_CONDUCT.md
[github-new-issue]: https://github.com/abacus-network/abacus-monorepo/issues/new
[coc]: https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/CODE_OF_CONDUCT.md
[github-new-issue]: https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/new
[discord]: https://discord.com/invite/KBD3aD78Bb
2 changes: 1 addition & 1 deletion DISCLAIMER.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The Abacus Protocol is an open generalized interchain messaging protocol that is designed to enable developers to send arbitrary data from one blockchain to another (“Protocol”). Your use of the Protocol is entirely at your own risk.
The Hyperlane Protocol is an open generalized interchain messaging protocol that is designed to enable developers to send arbitrary data from one blockchain to another (“Protocol”). Your use of the Protocol is entirely at your own risk.
The Protocol is available on an “as is” basis without warranties of any kind, either express or implied, including, but not limited to, warranties of merchantability, title, fitness for a particular purpose and non-infringement.
You assume all risks associated with using the Protocol, and digital assets and decentralized systems generally, including but not limited to, that:
(a) digital assets are highly volatile; (b) using digital assets is inherently risky due to both features of such assets and the potential unauthorized acts of third parties; (c) you may not have ready access to assets;
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:16-alpine

WORKDIR /abacus-monorepo
WORKDIR /hyperlane-monorepo

RUN apk add --update --no-cache git g++ make py3-pip

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Abacus
# Hyperlane

## Overview

Abacus is an interchain messaging protocol that allows applications to communicate between blockchains.
Hyperlane is an interchain messaging protocol that allows applications to communicate between blockchains.

Developers can use Abacus to share state between blockchains, allowing them to build interchain applications that live natively across multiple chains.
Developers can use Hyperlane to share state between blockchains, allowing them to build interchain applications that live natively across multiple chains.

To read more about interchain applications, how the protocol works, and how to integrate with Abacus, please see the [documentation](https://docs.useabacus.network/).
To read more about interchain applications, how the protocol works, and how to integrate with Hyperlane, please see the [documentation](https://docs.hyperlane.xyz/).

## Working on Abacus
## Working on Hyperlane

### Workspaces

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacus-network/monorepo",
"description": "A yarn workspace of many core Abacus packages",
"name": "@hyperlane-xyz/monorepo",
"description": "A yarn workspace of core Hyperlane packages",
"version": "0.0.0",
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
Expand Down
8 changes: 4 additions & 4 deletions rust/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Abacus Rust implementations
## Hyperlane Rust implementations

### Setup

Expand Down Expand Up @@ -43,11 +43,11 @@ info: The currently active `rustc` version is `rustc 1.63.0 (4b91a6ea7 2022-08-0

### Architecture

The on-chain portions of Abacus are written in Solidity. The rust portions are
The on-chain portions of Hyperlane are written in Solidity. The rust portions are
exclusively off-chain. Later, there may be on-chain rust for Near/Solana/
Polkadot.

Abacus will be managed by a number of small off-chain programs ("agents"). Each
Hyperlane will be managed by a number of small off-chain programs ("agents"). Each
of these will have a specific role. We want these roles to be simple, and
easily described. Each of these agents will connect to a home chain and any
number of replicas. They need to be configured with chain connection details
Expand Down Expand Up @@ -84,7 +84,7 @@ We use the tokio async runtime environment. Please see the docs

### Running Locally

From within the `abacus-monorepo/rust` directory, run
From within the `hyperlane-monorepo/rust` directory, run

```bash
cargo run -r -p run-locally
Expand Down
Loading

0 comments on commit 0d76398

Please sign in to comment.