T3216
Switching the registration fee lookup to the alias-server prices endpoint.
Differential D14247
[Cashtab][Alias] Switch alias registration fee lookup to api emack on Jul 11 2023, 09:15. Authored by
Details
T3216 Switching the registration fee lookup to the alias-server prices endpoint. Revised test plan (29th July)
Diff Detail
Event Timeline
Comment Actions
Comment Actions
Comment Actions Although having said that, changing prices after launch is meant to be extremely rare. Also the cashtab update modal, that pop up when we deploy an update to the code, refreshes the app, which mitigates stale pricing.
Comment Actions Refactored to align with the revised alias endpoint where unregistered aliases returns an object containing the new registrationFeeSats param.
Note: refer to revised test plan above Comment Actions Removed redundant isValidAliasPricing function and its corresponding unit tests as Cashtab is now exclusively using the /alias endpoint for pricing and no longer has a need for the /pricing endpoint
Comment Actions Updated alias taken notification to include address
Comment Actions imo this can be greatly optimized by using throttling of the API calls to still show alias price and availability in near-real time. But, this gets the job done, should get in. |