Skip to content

grepability: Show balance as SBC, RUSD, Sum #7

Description

@maurermi

Instead of this

$ node dist/index.js wallet balance --private-key $PRIVATE_KEY
Address: 0x01A151CC5ED14d110cc0e6b64360913DE9f453F1
Balance: $0.16 ($0.030002 SBC + $0.129961 RUSD)

Consider having each entry on a new line

$ node dist/index.js wallet balance --private-key $PRIVATE_KEY
Address: 0x01A151CC5ED14d110cc0e6b64360913DE9f453F1
SBC: $0.030002
RUSD: $0.129961
Total: $0.16 

This seems to be easier to grep and also will be easier to maintain if we add more assets (USDC). Maybe there is a benefit I'm missing with it being on one line though

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions