jmsanchezbz / pulsechain-bridge-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pulsechain-bridge-server

You're one step away from setting up your own instance of bridge.pulsechain.com on your local machine. Choose the method that suits you best:

  1. 📦 Use a Pre-built Binary: We offer pre-built binaries for various distributions, listed below.
  2. 🔧 Build from Source: If you prefer, you can clone this repository and compile your own binary.

📦 Available Pre-built Binaries:

Downloads: https://gitlab.com/pulsechaincom/pulsechain-bridge-server/-/releases

Package Intel (amd64) ARM (arm64)
MacOS.zip x x
pulsechain-bridge-server_1.0.0_windows_amd64.zip x
pulsechain-bridge-server_1.0.0_windows_arm64.zip x
pulsechain-bridge-server_1.0.0_linux_arm64.tar.gz x
pulsechain-bridge-server_1.0.0_linux_amd64.tar.gz x

⚠️ Important Notice for MacOS Users ⚠️

MacOS mandates the use of digitally signed binaries, which prevents us from directly distributing the binary for this platform.

🔹 Alternate Solution: We provide a MacOS.zip package. Upon installation, it sets up a lightweight webserver, enabling you to seamlessly run the website.

🔹 For Advanced Users: If you wish to run the same binary as other operating systems, proceed below to build from source.

🔧 Building From Source

1. Install Golang dependencies

Go 1.21 or newer is required to build the PulseChain Bridge server.

Follow the official instructions on https://go.dev/doc/install to install Go for your OS.

Alternatively, you can use a package manager to install Go:

2. Build the executable

git clone https://gitlab.com/pulsechaincom/pulsechain-bridge-server.git
cd pulsechain-bridge-server
go build -o pulsechain-bridge-server ./cmd/pulsechain-bridge-server/main.go

# Run the built binary
./pulsechain-bridge-server

Note: Windows users may want to add the .exe file extension to the output file name in the go build command above.

About


Languages

Language:Go 92.4%Language:Shell 7.6%