Skip to content

Instantly share code, notes, and snippets.

@mintthemoon
mintthemoon / make-pebble.sh
Created September 5, 2022 04:56
kujira-pebble
go mod edit -replace github.com/tendermint/tm-db=github.com/notional-labs/tm-db@136c7b6
go mod tidy
make BUILD_TAGS=pebbledb LDFLAGS="-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb" install
@mintthemoon
mintthemoon / bootstrap.sh
Last active July 3, 2022 21:46
cosmos-statesync-bootstrap
#!/bin/bash
# bootstrap a cosmos sdk node with statesync.
# detects an existing home dir or handles initialiation if config is not present.
# configure with env vars, defaults are for kujira mainnet.
#
# required packages: jq, curl, sed
name="${CHAIN_NAME:-kujira}"
id="${CHAIN_ID:-kaiyo-1}"
home="${CHAIN_HOME:-${HOME}/.kujira}"

Keybase proof

I hereby claim:

  • I am mintthemoon on github.
  • I am mintthemoon (https://keybase.io/mintthemoon) on keybase.
  • I have a public key whose fingerprint is E392 AFEB CC83 A6CF B063 0265 610E 4B8E 01AF 1508

To claim this, I am signing this object: