ApeWorX / silverback

Blockchain automation library, and SDK for the (upcoming) Silverback Platform
https://apeworx.io/silverback
Apache License 2.0
80 stars 9 forks source link

Feat: Add a logout method and whoami method #104

Open Ninjagod1251 opened 1 month ago

Ninjagod1251 commented 1 month ago

Overview

It would be nice to add a way to logout

Specification

silverback logout silverback whoami # check what account is logged in and other details we have

Dependencies

Include links to any open issues that must be resolved before this feature can be implemented.

linear[bot] commented 1 month ago

SBK-512 Feat: Add a logout method and whoami method

fubuloubu commented 1 month ago

it can help with switching accounts

The "workspaces" concept can help with switching between different contexts (such as personal vs. shared organization)

fubuloubu commented 1 month ago

testing networks

What do you mean by this?

Ninjagod1251 commented 1 month ago

I might be understanding this wrong, but here is my thought process.

How do we know and how can switch from speolia clusters to mainnet?

Ninjagod1251 commented 1 month ago

it can help with switching accounts

The "workspaces" concept can help with switching between different contexts (such as personal vs. shared organization)

can you elaborate on how it can be used?

fubuloubu commented 1 month ago

I might be understanding this wrong, but here is my thought process.

How do we know and how can switch from speolia clusters to mainnet?

In the future, clusters will support any number of a range of supported networks, up to a pte-specified limit of concurrently running networks based on paid configuration

Limitation of current alpha clusters

fubuloubu commented 1 month ago

it can help with switching accounts

The "workspaces" concept can help with switching between different contexts (such as personal vs. shared organization)

can you elaborate on how it can be used?

Imagine you have one personal workspace, and a few organization workspaces you are a member of for work use (e.g. ApeWorX, Yearn, etc.)

You can switch between them using the -c [WORKSPACE-NAME/]CLUSTER-NAME flag on supported commands