29091aab8e
* Renaming all instances of nymd to nyxd * Might as well get the changelogs too * Making it clearer that an ApiClient is a NymApiClient * Lining up config templates with struct keys on gateway * Changed the last references to validator_urls to nyxd_urls * Fixed up a few type errors after refactoring * Changed the changelog * Fixed typo in changelog * Further instances of renaming 'nymd' + introducing additional clap aliases * updated environmental variables and allowed usage of deprecated variants * missing occurences of coconut-locked environmental variables Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
21 lines
774 B
Bash
Executable File
21 lines
774 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ue
|
|
|
|
git clone https://github.com/CosmWasm/wasmd.git
|
|
cd wasmd
|
|
git checkout "${WASMD_VERSION}"
|
|
WASMD_COMMIT_HASH=$(git rev-parse HEAD)
|
|
mkdir build
|
|
go build \
|
|
-o build/nyxd -mod=readonly -tags "netgo,ledger" \
|
|
-ldflags "-X github.com/cosmos/cosmos-sdk/version.Name=nymd \
|
|
-X github.com/cosmos/cosmos-sdk/version.AppName=nymd \
|
|
-X github.com/CosmWasm/wasmd/app.NodeDir=.nymd \
|
|
-X github.com/cosmos/cosmos-sdk/version.Version=${WASMD_VERSION} \
|
|
-X github.com/cosmos/cosmos-sdk/version.Commit=${WASMD_COMMIT_HASH} \
|
|
-X github.com/CosmWasm/wasmd/app.Bech32Prefix=${BECH32_PREFIX} \
|
|
-X 'github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger'" \
|
|
-trimpath ./cmd/wasmd
|
|
find .. -type f -name 'libwasm*.so' -exec cp {} build \;
|