mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Add a dev ethereum Docker setup
Also adds untested Dockerfiles for reth, lighthouse, and nimbus.
This commit is contained in:
14
orchestration/src/coins/ethereum/execution/anvil.rs
Normal file
14
orchestration/src/coins/ethereum/execution/anvil.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
use crate::Network;
|
||||
|
||||
pub fn anvil(network: Network) -> (String, String, String) {
|
||||
assert_eq!(network, Network::Dev);
|
||||
|
||||
const ANVIL_SETUP: &str = r#"
|
||||
RUN curl -L https://foundry.paradigm.xyz | bash || exit 0
|
||||
RUN ~/.foundry/bin/foundryup
|
||||
|
||||
EXPOSE 8545
|
||||
"#;
|
||||
|
||||
(String::new(), "RUN apt install git curl -y".to_string(), ANVIL_SETUP.to_string())
|
||||
}
|
||||
Reference in New Issue
Block a user