Please note, Latest version of Sm-monitor requires PowerShell 7+ to run. You can get it at https://github.com/PowerShell/PowerShell/releases/tag/v7.4.1
Simple monitor for Spacemesh nodes
With Thanks To: == S A K K I == Stizerg == PlainLazy == Shanyaa
for the various contributions in making this script awesome
Click for video
To use this monitor you need GRPCurl
Simply use with any GRPCurl software.
Put in same folder and open with terminal
https://github.com/fullstorydev/grpcurl
Use any text file editor but i recommend Visual Studio Code for best visualization
Edit $ports for each node. You can find this in your node config files.
node-config.json for smapp
config-mainnet.json for go-spacemesh
Script supports as many nodes as you want.
Use "#" to comment out the options you don't need
Please note that to access Nodes remotely you need to change config.mainnet.json to
grpc-private-listener": "0.0.0.0:9093
Disable Powershell Remote security.
-Open Powershell in admin and insert code
Set-ExecutionPolicy RemoteSigned