2. Function fromString allow to pass any notation.
Oh, i didn't know fromString actually accept any notation.
I assume to deprecate original and introduce from or even parse, what do you think?
parse seems to be good idea. But i'd suggest you get additional opinion first since i'm not expert in either ordinal and programming.
Deprecation is the exact that way: it will notice developer method is going to be deleted (in the future) and lead to another.
Am I right in assuming the string that you are passing to fetch the rare sats information (Sat.fromName) is the wallet name? ord uses Bitcoin Core to create wallets which store said sats.
Speaking of which, this library can only explore rare sats inside wallets that are on the local computer, at a specific filesystem path I guess, and no other locations, right?
Speaking of which, this library can only explore rare sats inside wallets that are on the local computer, at a specific filesystem path I guess, and no other locations, right?
I see this library as a tool to convert and check rarity of sats. It isn't SDK to call API or interact with Ordinals, but I'm working on tools to interact as well (they're dependent on thridparty services and I decide to split library and sdk).
Accordingly to question. Sat.fromName parses the sat name (sush as alerdenisov or satoshi) to Sat object and provides access to number, decimal and degree notations. Let me refer official handbook (https://docs.ordinals.com/overview.html) to avoid copy paste of notaion definitions.