Skip to content

Utils App with convert command#174

Merged
ibraheem-abe merged 2 commits intostagingfrom
experimental/thewhaleking/utils-app
Oct 10, 2024
Merged

Utils App with convert command#174
ibraheem-abe merged 2 commits intostagingfrom
experimental/thewhaleking/utils-app

Conversation

@thewhaleking
Copy link
Contributor

@thewhaleking thewhaleking commented Oct 10, 2024

Allows for rao/tao conversion. Will likely grow when alpha is introduced in rao branch.

Allows for converting like so:
btcli utils convert --rao 100 => 100ρ = τ0.000000
btcli utils convert --tao 100 => τ100.0 = 100000000000ρ
btcli utils convert --tao 100 --rao 100 =>

100ρ = τ0.000000
τ100.0 = 100000000000ρ

btcli utils convert --rao 1e9 => 1000000000ρ = τ1.000000
btcli utils convert --rao 100_000_000 => 100000000ρ = τ0.100000

@thewhaleking thewhaleking requested review from a team and ibraheem-abe October 10, 2024 12:24
@ibraheem-abe
Copy link
Collaborator

Nifty!

image

@ibraheem-abe ibraheem-abe merged commit c3fb1b8 into staging Oct 10, 2024
@ibraheem-abe ibraheem-abe deleted the experimental/thewhaleking/utils-app branch October 10, 2024 17:17
@ibraheem-abe ibraheem-abe mentioned this pull request Oct 10, 2024
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.

2 participants