soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

Use alias for network

Open janewang opened this issue 1 year ago • 3 comments

What problem does your feature solve?

Simplification of the UI to use network alias everywhere

What would you like to see?

Simplify network config on stellar-cli: drop --rpc-url and --network-passphrase and require a network alias everywhere

janewang avatar Sep 17 '24 20:09 janewang

I think I can squeeze this in for the protocol 22 release. 🤞

fnando avatar Sep 17 '24 20:09 fnando

Less manual entering of passphrases

Folks can already use --network everywhere and they are not required to enter network passphrases, so I think the "why" needs expanding on. What's the impact of this change?

This looks like a simplification of the UI.

leighmcculloch avatar Sep 17 '24 20:09 leighmcculloch

Yeah, I don't think manually entering network passphrases is the real issue. I'd say the goal it's to simplify the ui (only one way of accessing/providing network config) + codebase (flattening the network args brings more trouble than solution).

fnando avatar Sep 17 '24 20:09 fnando