iotaledger / iotaledger/ts-packages
Improve Explorer tx page Inputs/Transactions section
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 3
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 12
Description
the Inputs and Transactions cards on the tx page don't provide much value today - inputs show a raw ref/value with no indication of how they're used, and every PTB command except MoveCall just dumps a flattened arg string instead of anything readable.
for inspiration, check @Thoralf-M's vibecoded explorer, lots of good ideas there we want to bring over (adapted to our design system, not a straight port): https://github.com/Thoralf-M/iotatools/blob/develop/apps/explorer/src/pages/TransactionDetail.tsx
- [ ] proper rendering for every PTB command type, not just `MoveCall` - `TransferObjects`, `SplitCoins`, `MergeCoins`, `Publish`, `Upgrade`, `MakeMoveVec` currently fall back to a flattened arg string (`Transaction.tsx` + `utils.ts` in `programmable-transaction-view/`). object/address args should link out like MoveCall's do.
- [ ] show input -> command usage and result chaining: which command(s) consume each input, and which commands consume another command's `Result`/`NestedResult`. right now it's just raw `Input(n)`/`Result(n)` indices with no context.
- [ ] add object version + digest to `InputsCard` (currently just shows the object id)
follow-up issue will add a "pro mode" toggle on top of this for even more technical detail.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.