Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add somes chains #292

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions chains/band.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Band
- name: band
github-organization: bandprotocol
github-repo: chain
dockerfile: cosmos
binaries:
- /go/bin/bandd
build-target: |
set -eux
apk add --update alpine-sdk gmp gmp-dev
GOWASM_VERSION=$(grep 'github.com/bandprotocol/go-owasm' go.mod | awk '{print $2}')
wget -O /lib/libgo_owasm_muslc.a https://github.com/bandprotocol/go-owasm/releases/download/${GOWASM_VERSION}/libgo_owasm_muslc.x86_64.a
VERSION=$(echo $(git describe --tags) | sed 's/^v//')
COMMIT=$(git log -1 --format='%H')
go install -mod=readonly -tags "muslc" -ldflags "-linkmode=external -extldflags '-Wl,-z,muldefs -static' -X github.com/cosmos/cosmos-sdk/version.Name=bandchain -X github.com/cosmos/cosmos-sdk/version.AppName=bandd -X github.com/cosmos/cosmos-sdk/version.Version=$VERSION -X "github.com/cosmos/cosmos-sdk/version.BuildTags='ledger,netgo'" -X github.com/cosmos/cosmos-sdk/version.Commit=$COMMIT" ./cmd/bandd
13 changes: 13 additions & 0 deletions chains/connect.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Connect (Slinky)
# Work with --alpine-version='3.19' --go-version='1.22.5' in the build command
- name: connect
github-organization: skip-mev
github-repo: connect
dockerfile: cosmos
build-env:
- GOFLAGS=-buildvcs=false
build-target: |
go build -ldflags "-linkmode=external -extldflags '-Wl,-z,muldefs -static'" -o ./build/ ./...
go install -mod=readonly -tags "muslc" -ldflags "-linkmode=external -extldflags '-Wl,-z,muldefs -static'" ./cmd/connect
binaries:
- /go/bin/connect
12 changes: 12 additions & 0 deletions chains/cudos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Cudos
- name: cudos
github-organization: cudoventures
github-repo: cudos-node
dockerfile: cosmos
binaries:
- /go/bin/cudos-noded
build-target: |
set -eux
VERSION=$(echo $(git describe --tags `git rev-list --tags="v*" --max-count=1`) | sed 's/^v//')
COMMIT=$(git log -1 --format='%H')
go install -mod=readonly -tags "muslc" -ldflags "-linkmode=external -extldflags '-Wl,-z,muldefs -static' -X github.com/cosmos/cosmos-sdk/version.Name=cudos-node -X github.com/cosmos/cosmos-sdk/version.AppName=cudos-noded -X github.com/cosmos/cosmos-sdk/version.Version=$VERSION -X "github.com/cosmos/cosmos-sdk/version.BuildTags='ledger,netgo'" -X github.com/cosmos/cosmos-sdk/version.Commit=$COMMIT" ./cmd/cudos-noded
15 changes: 15 additions & 0 deletions chains/humans.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Humans
- name: humans
github-organization: humansdotai
github-repo: humans
dockerfile: cosmos
build-env:
- BUILD_TAGS=muslc
binaries:
- /go/bin/humansd
build-target: |
set -eux
VERSION=$(echo $(git describe --tags `git rev-list --tags="v*" --max-count=1`) | sed 's/^v//')
TMVERSION=$(go list -m github.com/tendermint/tendermint | sed 's:.* ::')
COMMIT=$(git log -1 --format='%H')
go install -mod=readonly -tags "muslc" -ldflags "-linkmode=external -extldflags '-Wl,-z,muldefs -static' -X github.com/cosmos/cosmos-sdk/version.Name=humans -X github.com/cosmos/cosmos-sdk/version.AppName=humansd -X github.com/cosmos/cosmos-sdk/version.Version=$VERSION -X "github.com/cosmos/cosmos-sdk/version.BuildTags='ledger,netgo'" -X github.com/tendermint/tendermint/version.TMCoreSemVer=$(TMVERSION) -X github.com/cosmos/cosmos-sdk/version.Commit=$COMMIT" ./cmd/humansd
11 changes: 11 additions & 0 deletions chains/steward.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Steward
- name: steward
github-organization: peggyjv
github-repo: steward
dockerfile: cargo
build-target: cargo build --release
pre-build: |
apt update
apt install -y pkg-config libssl-dev
binaries:
- /build/steward/target/${ARCH}-unknown-linux-gnu/release/steward
15 changes: 15 additions & 0 deletions chains/yoda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Yoda
- name: yoda
github-organization: bandprotocol
github-repo: chain
dockerfile: cosmos
binaries:
- /go/bin/yoda
build-target: |
set -eux
apk add --update alpine-sdk gmp gmp-dev
GOWASM_VERSION=$(grep 'github.com/bandprotocol/go-owasm' go.mod | awk '{print $2}')
wget -O /lib/libgo_owasm_muslc.a https://github.com/bandprotocol/go-owasm/releases/download/${GOWASM_VERSION}/libgo_owasm_muslc.x86_64.a
VERSION=$(echo $(git describe --tags) | sed 's/^v//')
COMMIT=$(git log -1 --format='%H')
go install -mod=readonly -tags "muslc" -ldflags "-linkmode=external -extldflags '-Wl,-z,muldefs -static' -X github.com/cosmos/cosmos-sdk/version.Name=bandchain -X github.com/cosmos/cosmos-sdk/version.AppName=bandd -X github.com/cosmos/cosmos-sdk/version.Version=$VERSION -X "github.com/cosmos/cosmos-sdk/version.BuildTags='ledger,netgo'" -X github.com/cosmos/cosmos-sdk/version.Commit=$COMMIT" ./cmd/yoda