From cef4dca56b37844bf5a8759bff577970831bccae Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Tue, 14 May 2024 06:46:27 +0000 Subject: [PATCH] wip --- Cargo.lock | 2 +- Cargo.toml | 2 -- README.md | 20 ++++++++++++++++++-- docs/pages/network/node.mdx | 2 +- parachain/node/Cargo.toml | 2 +- 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 90722bdf3..fd579269e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6515,7 +6515,7 @@ dependencies = [ [[package]] name = "hyperbridge" -version = "0.4.5" +version = "0.4.6" dependencies = [ "clap", "cumulus-client-cli", diff --git a/Cargo.toml b/Cargo.toml index f810ce49e..9b15d69fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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] diff --git a/README.md b/README.md index 584142209..1cfc59b33 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Hyperbridge + Hyperbridge is a hyper-scalable coprocessor for cryptographically secure, cross-chain interoperability. ## Docker @@ -6,7 +7,19 @@ Hyperbridge is a hyper-scalable coprocessor for cryptographically secure, cross- 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 @@ -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 @@ -116,6 +128,7 @@ 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 @@ -123,6 +136,7 @@ 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 @@ -132,7 +146,9 @@ docker compose up ``` ## Building HyperClient Javascript SDK + To build hyperclient + ```bash cargo install wasm-pack cd client diff --git a/docs/pages/network/node.mdx b/docs/pages/network/node.mdx index 970a68872..b1c021717 100644 --- a/docs/pages/network/node.mdx +++ b/docs/pages/network/node.mdx @@ -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/ diff --git a/parachain/node/Cargo.toml b/parachain/node/Cargo.toml index 4c38cc45d..2457e88a8 100644 --- a/parachain/node/Cargo.toml +++ b/parachain/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hyperbridge" -version = "0.4.5" +version = "0.4.6" authors = ["Polytope Labs "] description = "The Hyperbridge coprocessor node" repository = "https://github.com/polytope-labs/hyperbridge"