Skip to content

Instantly share code, notes, and snippets.

View duccas's full-sized avatar
💭
Staketab - Staking & Infrastructure Solutions for Web3

Ducca duccas

💭
Staketab - Staking & Infrastructure Solutions for Web3
View GitHub Profile
@duccas
duccas / pebble-with-mev.bash
Created January 22, 2023 11:00 — forked from faddat/pebble-with-mev.bash
use pebbledb and mev-tendermint on any cosmos chain
go mod edit -replace github.com/tendermint/tm-db=github.com/baabeetaa/tm-db@pebble
go mod tidy
go mod edit -replace github.com/tendermint/tendermint=github.com/notional-labs/mev-tendermint@0db69e64a2e87bb29b4417780da30630df97cadd
go mod tidy
go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb -X github.com/tendermint/tm-db.ForceSync=1' -tags pebbledb ./...

Note: If you haven't already added your qanet public address to our Google Sheet, please go ahead and add it using the link below. Only public addresses listed in this doc will receive public qanet tokens for testing. If you added your public address while a public qanet is running, you will have to wait until the next release to receive your tokens. Alternatively, you can ask the community members in the qa-task-force channel to send you some tokens now. Link to the Google sheet: https://docs.google.com/spreadsheets/d/15YT8DALkufDAxiYzT9dx-eW-JALjZTt-9H9ZqtvLPm0/edit?usp=sharing

Running a node with Docker:

  • The easiest solution for connecting to our public qa-net "pickles-public" is to use the pre-baked docker image minaprotocol/mina-daemon-baked:pickles-public which includes the files up to step 10 of the "Running a node in a VPS or Linux Machine" and is not limited to Debian/Ubuntu.
  1. Copy your public/private key files (usually ~/keys/my-wallet and ~/keys/my-wallet.pub) to ~/mina-keys/
  2. `cd ~