generate the node key

This commit is contained in:
Sebastian
2024-03-17 16:45:41 +01:00
parent a7eaff414e
commit ee0cd975ec

View File

@@ -119,7 +119,7 @@ services:
image: ghcr.io/foundry-rs/foundry
volumes:
- "mantle/mainnet/:/config"
command: ["sh", "-c", "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:
mantle-fullnode: