Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add info command to pactus-shell #1644

Open
Ja7ad opened this issue Dec 18, 2024 · 2 comments
Open

Add info command to pactus-shell #1644

Ja7ad opened this issue Dec 18, 2024 · 2 comments
Labels
Milestone

Comments

@Ja7ad
Copy link
Contributor

Ja7ad commented Dec 18, 2024

Describe the problem you'd like to have solved

Adding an info command will enable users to quickly retrieve key details without needing to manually inspect files or configurations.

Describe the ideal solution

Example of the proposed info command output:

$ pactus-shell info
Client: Pactus Daemon
Version: 1.7.0 beta (foobar)
Data Path: /home/{user}/pactus
Wallet Path: /home/{user}/pactus/wallets
Database Path: /home/{user}/pactus/data
Encrypted Wallet: true
Network: mainnet
Total Validators: 32
Total Accounts: 1
Pruned: true
In Committee: true
Last Block Height: 2700310 (18-DEC-2024-00:00)
Committee Power: 44659 PAC
Total Power: 142477 PAC
Enabled Transports:
	gRPC: 127.0.0.1:50051
	gRPC-gateway: 127.0.0.1:8080
	http: 127.0.0.1:80
	zeromq:
	  zmqpubblockinfo: tcp://127.0.0.1:28332
	  zmqpubtxinfo: tcp://127.0.0.1:28333
@Ja7ad Ja7ad added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Pactus-Daemon labels Dec 18, 2024
@b00f
Copy link
Collaborator

b00f commented Dec 18, 2024

Almost all information above can be retrieve using pactus-shell.

@Ja7ad
Copy link
Contributor Author

Ja7ad commented Dec 21, 2024

Almost all information above can be retrieve using pactus-shell.

I agree

@b00f b00f added low priority and removed good first issue Good for newcomers help wanted Extra attention is needed labels Dec 21, 2024
@Ja7ad Ja7ad changed the title Add info command to pactus-daemon Add info command to pactus-shell Dec 21, 2024
@Ja7ad Ja7ad added this to the v1.7.0 milestone Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants