Created
September 25, 2020 20:08
-
-
Save jbn/e1346d02f94fc8357eaa69ef1ee9caa5 to your computer and use it in GitHub Desktop.
An attempt to build akash from scratch and set up a validator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.14.9-stretch | |
# See: https://docs.akash.network/validator-guides/gentxo | |
RUN cd $GOPATH/src && mkdir -p github.com/ovrclk && \ | |
cd github.com/ovrclk && \ | |
git clone https://github.com/ovrclk/akash.git && \ | |
cd akash && \ | |
MAINNET=true git checkout v0.8.1 && \ | |
make deps-install && \ | |
make install | |
# https://docs.akash.network/validator-guides/join-the-testnet#setting-up-a-new-node | |
ARG MONIKER | |
# Using 0.8.1 and 0.8.2 gives, | |
# ERROR: error validating genesis file /root/.akashd/config/genesis.json: failed to unmarshal auth | |
# genesis state: cannot parse disfix JSON wrapper: json: cannot unmarshal string into Go value | |
# of type amino.disfixWrapper | |
RUN akashd init $MONIKER && \ | |
sed -i 's/minimum-gas-prices = ""/minimum-gas-prices = "0.025uakt"/' ~/.akashd/config/app.toml && \ | |
curl -s https://raw.githubusercontent.com/ovrclk/net/master/latest/genesis.json > $HOME/.akashd/config/genesis.json && \ | |
akashd validate-genesis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment