Skip to content

Commit 9ebf0f2

Browse files
Merge pull request #18 from airchains-network/releases/v0.2.0
docs: add instructions for downloading the correct binary based on OS
2 parents 2e0dbdc + 7e766b0 commit 9ebf0f2

File tree

2 files changed

+41
-17
lines changed

2 files changed

+41
-17
lines changed

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Makefile for building and linting Go project
22

33
# Basic project settings
4-
BINARY_NAME=junction-jip-2
4+
BINARY_NAME=junctiond
55
BUILD_DIR=./build
66
SOURCE_DIR=./cmd/junctiond
77
CHECKSUM_FILE=$(BUILD_DIR)/checksums.txt
@@ -76,13 +76,13 @@ build-all: go.sum
7676
rm -f $(CHECKSUM_FILE)
7777
GOOS=linux GOARCH=amd64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-linux-amd64 $(SOURCE_DIR)
7878
@shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-linux-amd64 >> $(CHECKSUM_FILE)
79-
# GOOS=linux GOARCH=arm64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-linux-arm64 $(SOURCE_DIR)
80-
# @shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-linux-arm64 >> $(CHECKSUM_FILE)
81-
# GOOS=darwin GOARCH=amd64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-darwin-amd64 $(SOURCE_DIR)
82-
# @shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-darwin-amd64 >> $(CHECKSUM_FILE)
83-
# GOOS=darwin GOARCH=arm64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-darwin-arm64 $(SOURCE_DIR)
84-
# @shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-darwin-arm64 >> $(CHECKSUM_FILE)
85-
# GOOS=windows GOARCH=amd64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-windows-amd64.exe $(SOURCE_DIR)
86-
# @shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-windows-amd64.exe >> $(CHECKSUM_FILE)
79+
GOOS=linux GOARCH=arm64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-linux-arm64 $(SOURCE_DIR)
80+
@shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-linux-arm64 >> $(CHECKSUM_FILE)
81+
GOOS=darwin GOARCH=amd64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-darwin-amd64 $(SOURCE_DIR)
82+
@shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-darwin-amd64 >> $(CHECKSUM_FILE)
83+
GOOS=darwin GOARCH=arm64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-darwin-arm64 $(SOURCE_DIR)
84+
@shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-darwin-arm64 >> $(CHECKSUM_FILE)
85+
GOOS=windows GOARCH=amd64 $(GO_BUILD) -tags "$(build_tags)" -ldflags '$(ldflags)' -o $(BUILD_DIR)/$(BINARY_NAME)-windows-amd64.exe $(SOURCE_DIR)
86+
@shasum -a 256 $(BUILD_DIR)/$(BINARY_NAME)-windows-amd64.exe >> $(CHECKSUM_FILE)
8787

8888
.PHONY: default build install test clean lint print-system build-all

README.md

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,50 @@ Welcome to the new version of Junction, a cutting-edge settlement layer that coo
99
- Integration of the `trackgate` module for seamless integration with external sequencer support.
1010
- Incorporation of Espresso sequencer for improved transaction ordering and significantly enhancing overall system functionality.
1111

12+
Download the Correct Binary
13+
---------------------------
1214

13-
## Installation & Initialization
15+
Before starting, ensure that you download the appropriate binary for your operating system:
1416

15-
```bash
16-
wget https://github.com/airchains-network/junction/releases/download/v0.2.0/junctiond
17+
1. Visit the [release page](https://github.com/airchains-network/junction/releases/tag/v0.2.0) and download the correct binary for your OS:
18+
19+
- **Linux**: `junctiond-linux-amd64`
20+
- **macOS**: `junctiond-darwin-amd64`
21+
- **Windows**: `junctiond-windows-amd64`
22+
2. After downloading the binary, rename it to `junctiond`:
23+
24+
```shell
25+
mv <downloaded-binary> junctiond
26+
```
27+
28+
3. Make it executable:
29+
30+
```shell
1731
chmod +x junctiond
32+
```
33+
34+
4. Move it to your local binary path:
35+
36+
```shell
1837
sudo mv junctiond /usr/local/bin
1938
```
20-
```bash
39+
40+
Installation & Initialization
41+
-----------------------------
42+
43+
```shell
2144
junctiond init <moniker> --chain-id junction --default-denom amf
2245
```
2346

2447
### Start Junction
2548

26-
```bash
49+
```shell
2750
junctiond start
2851
```
2952

30-
## Additional Information
53+
Additional Information
54+
----------------------
3155

32-
For detailed instructions, configurations, and updates, refer to the [docs]("https://docs.airchains.io"). Stay connected with our community for the latest developments and support.
56+
For detailed instructions, configurations, and updates, refer to the [docs](https://docs.airchains.io). Stay connected with our community for the latest developments and support.
3357

34-
Thank you for your continued support of the Airchains ecosystem. We look forward to a successful and smooth upgrade, bringing enhanced scalability and efficiency to our network through the integration of the Trackgate Module and incorporating the Espresso sequencer.
58+
Thank you for your continued support of the Airchains ecosystem. We look forward to a successful and smooth upgrade, bringing enhanced scalability and efficiency to our network through the integration of the Trackgate Module and incorporating the Espresso sequencer.

0 commit comments

Comments
 (0)