forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from primevprotocol/feature/private-key-manage…
…ment Feature/private key management
- Loading branch information
Showing
9 changed files
with
180 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ NODE2_PRIVATE_KEY= | |
RELAYER_PRIVATE_KEY= | ||
NEXT_PUBLIC_WALLET_CONNECT_ID= | ||
DD_KEY= | ||
MEV_COMMIT_GETH_PASSWORD= |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM golang:1.21-alpine AS builder | ||
|
||
RUN apk add --no-cache gcc musl-dev linux-headers git make | ||
|
||
COPY ../go.mod /go-ethereum/ | ||
COPY ../go.sum /go-ethereum/ | ||
RUN cd /go-ethereum && go mod download | ||
|
||
ADD .. /go-ethereum | ||
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth | ||
|
||
FROM alpine:latest | ||
|
||
RUN apk add --no-cache jq | ||
|
||
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/ | ||
|
||
COPY geth-poa/genesis.json /genesis.json | ||
|
||
COPY geth-poa/entrypoint.sh /entrypoint.sh | ||
|
||
COPY geth-poa/signer-node1/keystore /data/keystore | ||
|
||
RUN chmod +x /entrypoint.sh | ||
|
||
EXPOSE 8545 6060 60601 | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM golang:1.21-alpine AS builder | ||
|
||
RUN apk add --no-cache gcc musl-dev linux-headers git make | ||
|
||
COPY ../go.mod /go-ethereum/ | ||
COPY ../go.sum /go-ethereum/ | ||
RUN cd /go-ethereum && go mod download | ||
|
||
ADD .. /go-ethereum | ||
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth | ||
|
||
FROM alpine:latest | ||
|
||
RUN apk add --no-cache jq | ||
|
||
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/ | ||
|
||
COPY geth-poa/genesis.json /genesis.json | ||
|
||
COPY geth-poa/entrypoint.sh /entrypoint.sh | ||
|
||
COPY geth-poa/signer-node2/keystore /data/keystore | ||
|
||
RUN chmod +x /entrypoint.sh | ||
|
||
EXPOSE 8545 6060 60601 | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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
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
1 change: 1 addition & 0 deletions
1
...e1/keystore/UTC--2024-02-03T07-18-17.146938000Z--d9cd8e5de6d55f796d980b818d350c0746c25b97
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"address":"d9cd8e5de6d55f796d980b818d350c0746c25b97","crypto":{"cipher":"aes-128-ctr","ciphertext":"f8f88d0de59efea1eec9acaacf98d4211a499fe6aac0eb61a3e45b7fcd4e751b","cipherparams":{"iv":"0c4e70f29fafde6e8607e9265518b416"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"142f4d4c26efb1804723958ebc10cb10fb183070dc344f69bf604fca524bd853"},"mac":"2434542be8af5d2abac8265f16b4b52fb1d7a2d97e6e956a43b8f899ac752b48"},"id":"67714586-3ee9-461f-82ba-bb58387b7901","version":3} |
1 change: 1 addition & 0 deletions
1
...e2/keystore/UTC--2024-02-03T07-19-47.890792000Z--788ebabe5c3dd422ef92ca6714a69e2eabce1ee4
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"address":"788ebabe5c3dd422ef92ca6714a69e2eabce1ee4","crypto":{"cipher":"aes-128-ctr","ciphertext":"58e511febc3a44bc200c62e85284cb2a8476e031ab972f4bff117cde250a30c9","cipherparams":{"iv":"138d64720343ab84b7c92bb961c6e262"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"fb3f34a5f9decf423103a6797d560c6c83da12d850892a6230331eafac02be00"},"mac":"5a09c59119f266db94a47221b21651b8445698a8a0b93cdcaaf00b0ad0d6e513"},"id":"2cc4da0a-dcbc-4ea9-9131-de8a680f0cf1","version":3} |