Suno - Yet another way to manage Substrate Node Operations from your terminal

Hey everyone,

Last year, I started building a terminal user interface, I thought it was something missing in the ecosystem that could give node operators alternative options to manage their nodes.

It has now reached a stage that I’m happy to share it with you all. `suno` is designed to monitor live network data and manage your own or third-party nodes directly from your terminal.

As a node operator, you can monitor your validators, update staking details, set validate or chill intentions, and manage session (set or purge). All operations are executed through a proxy-only account.

As a nominator, you can just as easily track the validators you nominate, no proxy is required.

There are a few other features planned, you can read more about them in the project repo here: https://github.com/turboflakes/suno

If you’re willing to give it a try, let me know how it works for you. Any feedback or questions are all very welcome.

suno-dark

Enjoy!

Amazing,

Now it’s tracking our machines.

Thanks for this contribution.

Hello everyone,

I would like to share a few updates related to this tool, as quite a lot has been added since my previous post here.

With the recent release of v0.6.0, getting started with suno has became much easier.

For example, let’s say you operate validator 1LfAfKweyPjXs4JkKW4AxHPTe7pu4w4HjcZbEtB6a8vMqkd on Polkadot through the staking proxy 14E5nqKAp3oAJcmzgZhUD2RcptBeUBScxKHgJKU4HPNcKVf3, configured in Polkadot Vault.

From your favourite terminal, simply run:

suno polkadot -v 1LfAfKweyPjXs4JkKW4AxHPTe7pu4w4HjcZbEtB6a8vMqkd -p 14E5nqKAp3oAJcmzgZhUD2RcptBeUBScxKHgJKU4HPNcKVf3

And that’s it, suno will launch the TUI, start syncing, and give you access to all the essential staking and session key management features you already know about. No configuration files, No built-in RPC endpoints, all network connectivity is handled via light clients.

Polkadot Vault integration

Full compatibility is now provided with Polkadot Vault, allowing you to keep your Proxy Staking key offline at all times. Transactions are signed in an air-gapped environment using QR codes, with transaction confirmation handled directly through Vault.

Chain Specs and Metadata updates for each supported network are also available, making it easy to keep the networks in Polkadot Vault up to date.

Smoldot integration

Light clients are now the default network connection type, removing the need to configure or maintain RPC endpoints.

Multi-Proxy support

Allows you to configure a different proxy account for each network.

Updates

New suno binary releases can now be checked and installed directly from within the TUI or through the CLI.

Advanced configuration

For users who prefer a more fine-grained setup, suno still provides a configuration file where all available features can be configured.

Custom Commands

  • Shell user-defined commands executed directly in the terminal. These can be simple shell commands, bash scripts, or any other executable program. As long as the specified command name does not conflict with an existing suno command, you can name them whatever you like, for example /service_restart, /upgrade, or /reboot.
  • Uses built-in commands composed of existing extrinsics and RPC calls. These are built into suno but can be selectively enabled by the user. For example, you could use a command that rotates session keys and automatically sets them, or one that checks whether a particular host is running the expected session keys. These commands are defined with a prefix eg calls/rotate_and_set_keys and calls/has_keys respectively.

There have been quite a few other small improvements and additions as well, but these are some of the main highlights. You can find more details in the project repo.

suno-nightrun-qrcode

If you have any questions or feedback, feel free to let me know.

Best