diff --git a/crates/merod/src/cli/init.rs b/crates/merod/src/cli/init.rs index 78e92dc38..4d66d5c3b 100644 --- a/crates/merod/src/cli/init.rs +++ b/crates/merod/src/cli/init.rs @@ -222,7 +222,11 @@ impl InitCommand { ContextConfig { client: ClientConfig { signer: ClientSigner { - selected: ClientSelectedSigner::Relayer, + selected: match self.protocol { + ConfigProtocol::Near => ClientSelectedSigner::Relayer, + ConfigProtocol::Starknet => ClientSelectedSigner::Relayer, + ConfigProtocol::Icp => ClientSelectedSigner::Local, + }, relayer: ClientRelayerSigner { url: relayer }, local: LocalConfig { near: [ @@ -286,7 +290,7 @@ impl InitCommand { network: match self.protocol { ConfigProtocol::Near => "testnet".into(), ConfigProtocol::Starknet => "sepolia".into(), - ConfigProtocol::Icp => "ic".into(), + ConfigProtocol::Icp => "local".into(), }, protocol: self.protocol.as_str().to_owned(), contract_id: match self.protocol {