You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: improve issuance review screens and hide max button
Issue Supply:
- Hide Max button (max is 2^63 - currentSupply, not meaningful)
- Update review to use supply_normalized from verbose API response
- Add formatAmount for proper "After Issuance" display
Lock Supply:
- Simplify review to use supply_normalized from verbose API
Lock Description:
- Remove redundant warning from review (form already has warning + confirmation)
Also:
- Add supply and supply_normalized fields to ComposeAssetInfo type
- Update test helper with supply fields
* feat: add random numeric asset generator and fix quantity bug
1. Random numeric asset generator:
- Add "# Random" button to AssetNameInput when creating new assets
- Generates valid numeric asset (A{number} in range 26^12+1 to 256^8)
- Only shows for regular assets, not subassets
- Free to create (no 0.5 XCP cost)
2. Fix quantity double-conversion bug:
- When returning from review, quantity was already converted to satoshis
- Form would convert again on re-submit, causing massive inflation
- Now detects and normalizes quantities when initializing from formData
3. Reduce description textarea to 1 row:
- Asset descriptions are typically short
- Single row is cleaner for the form
* style: change random asset button to 'A123' with cursor pointer
* style: add refresh icon to A123 button
* style: remove title attribute from A123 button
* fix: smaller icon (size-2) and add htmlFor to label for focus
0 commit comments