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

Format "Sats found:" into "humanly readeable" format #6

Open
Goro2030 opened this issue Sep 6, 2021 · 2 comments
Open

Format "Sats found:" into "humanly readeable" format #6

Goro2030 opened this issue Sep 6, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Goro2030
Copy link

Goro2030 commented Sep 6, 2021

When scanning the addresses, the "Sats found" number is just a number . It would be good to have it "Thouthands" separated to make it more readable.

import (
"golang.org/x/text/language"
"golang.org/x/text/message"
)

func main() {
p := message.NewPrinter(language.English)
p.Printf("%d\n", 1000)

// Output:
// 1,000

}

@slezica slezica added the enhancement New feature or request label Sep 9, 2021
@slezica slezica self-assigned this Sep 9, 2021
@slezica
Copy link
Contributor

slezica commented Sep 9, 2021

Nice suggestion! I'll take note of this. I'll be reviewing the UI of the tool (messages, interactions, etc) soon, and it looks like a good improvement.

@Goro2030
Copy link
Author

Goro2030 commented Sep 9, 2021

Great! Since you will be reviewing the tool soon, I also suggest that you add input parameter to pass the secret pass ode as a string, and a flag to stop the process once you've scanned all the addresses, and the output of this "automated" way of running it will be the total balance only.

I would pipe that to a file so I can automate my Crypto balance updates ( that I normally do with XPUBs, but as you told me, those do not work with the Muun architecture).

You have a ßeta tester here if you need one :)

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

No branches or pull requests

3 participants
@slezica @Goro2030 and others