Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed May 14, 2024
1 parent 3e68bda commit cef4dca
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ unix-archive = ".tar.gz"
pr-run-mode = "upload"
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["ci"]
# Whether to install an updater program
install-updater = true

# The profile that 'cargo dist' will build with
[profile.dist]
Expand Down
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
# Hyperbridge

Hyperbridge is a hyper-scalable coprocessor for cryptographically secure, cross-chain interoperability.

## Docker

Hyperbridge is available at the official docker repository [`polytopelabs/hyperbridge`](https://hub.docker.com/r/polytopelabs/hyperbridge)

```bash
docker run polytopelabs/hyperbridge:latest --chain=messier
docker run -d \
--name=hyperbridge \
--network=host \
--restart=always \
--volume=/$HOME:/home/root \
polytopelabs/hyperbridge:latest \
--base-path=/home/root/.nexus \
--pruning=archive \
--name="${YOUR NODE NAME HERE}" \
--rpc-cors=all \
--rpc-methods=unsafe \
--chain=nexus \
--out-peers=32 \
```

## Prebuilt Binaries
Expand All @@ -30,7 +43,6 @@ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/polytope-labs/hyperbrid

You can follow the steps below if you'd prefer to build the hyperbridge node from source:


### Install Dependencies

Building the hyperbridge node requires some dependencies
Expand Down Expand Up @@ -116,13 +128,15 @@ hyperbridge --chain=messier --base-path=$HOME/.hyperbridge --pruning-archive
> Note: `--enable-offchain-indexing` is enabled by default
## Running a local testnet with zombienet

Download the zombienet binary for your operating system [here](https://github.com/paritytech/zombienet).

```bash
zombienet spawn --provider native ./scripts/zombienet/local-testnet.toml
```

## Running a local testnet with docker

Build and run the hyperbridge docker image locally by running

```bash
Expand All @@ -132,7 +146,9 @@ docker compose up
```

## Building HyperClient Javascript SDK

To build hyperclient

```bash
cargo install wasm-pack
cd client
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/network/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ docker run polytopelabs/hyperbridge:latest --chain={messier|gargantua|nexus}
You can install a prebuilt binary for the hyperbridge node with the following bash script

```bash
wget -q --show-progress https://github.com/polytope-labs/hyperbridge/releases/download/v0.4.1/hyperbridge-x86_64-unknown-linux-gnu.tar.gz
wget -q --show-progress https://github.com/polytope-labs/hyperbridge/releases/download/v0.4.5/hyperbridge-x86_64-unknown-linux-gnu.tar.gz
tar -xvzf hyperbridge-x86_64-unknown-linux-gnu.tar.gz
# copy to $PATH
cp hyperbridge-x86_64-unknown-linux-gnu/hyperbridge $HOME/.local/bin/
Expand Down
2 changes: 1 addition & 1 deletion parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyperbridge"
version = "0.4.5"
version = "0.4.6"
authors = ["Polytope Labs <[email protected]>"]
description = "The Hyperbridge coprocessor node"
repository = "https://github.com/polytope-labs/hyperbridge"
Expand Down

0 comments on commit cef4dca

Please sign in to comment.