muun / recovery

Muun recovery tool
https://muun.com
MIT License
199 stars 79 forks source link

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

Open Goro2030 opened 3 years ago

Goro2030 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 :)