This file contains 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
package main | |
import ( | |
"context" | |
"crypto/ecdsa" | |
"fmt" | |
"log" | |
"math/big" | |
"github.com/ethereum/go-ethereum/accounts/abi/bind" |
This file contains 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
#!/bin/sh | |
set -exu | |
VERBOSITY=${GETH_VERBOSITY:-3} | |
GETH_DATA_DIR=/db | |
GETH_CHAINDATA_DIR="$GETH_DATA_DIR/geth/chaindata" | |
GETH_KEYSTORE_DIR="$GETH_DATA_DIR/keystore" | |
GENESIS_FILE_PATH="${GENESIS_FILE_PATH:-/genesis.json}" | |
CHAIN_ID=$(cat "$GENESIS_FILE_PATH" | jq -r .config.chainId) | |
BLOCK_SIGNER_PRIVATE_KEY="ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" |