generate the node key

This commit is contained in:
Sebastian
2024-03-17 16:43:11 +01:00
parent ca9c451885
commit a7eaff414e

View File

@@ -119,7 +119,7 @@ services:
image: ghcr.io/foundry-rs/foundry image: ghcr.io/foundry-rs/foundry
volumes: volumes:
- "mantle/mainnet/:/config" - "mantle/mainnet/:/config"
command: "cast w n |grep -i 'Private Key' |awk -F ': ' '{print $2}' |sed 's/0x//' > /config/p2p_node_key_txt" command: ["sh", "-c", "cast w n | grep -i 'Private Key' | awk -F ': ' '{print $2}' | sed 's/0x//' > /config/p2p_node_key_txt"]
volumes: volumes:
mantle-fullnode: mantle-fullnode: