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

Added an "snet network show_current" command #493

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

PAY2109
Copy link
Contributor

@PAY2109 PAY2109 commented Apr 10, 2024

"snet network show_current" command prints the name of the network that the user is currently connected to.

@kiruxaspb
Copy link
Member

Command: snet session
Output:

identity.test:
        default_wallet_index: '0'
        identity_type: key
    ipfs:
        default_ipfs_endpoint: /dns/ipfs.singularitynet.io/tcp/80/
    network.goerli:
        default_eth_rpc_endpoint: https://gateway.tenderly.co/public/goerli
        default_multipartyescrow_at: '0x6245F856EFFBDB3ED6a3c64385b27A78B42F65e1'
        default_registry_at: '0x0DD7feC305f2374d7eed35d6d28134936c025A7A'
        default_singularitynettoken_at: '0xdd4292864063d0DA1F294AC65D74d55a44F4766C'
    session:
        identity: test
        network: goerli

The output contains the network field for the current session

Copy link
Member

@kiruxaspb kiruxaspb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

snet session implements the display of the current network used by current session by the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants