Chain-scoped index allocation from used derivation paths
(v1.2 ยง2.2): paths this package cannot parse are ignored; an empty
input โ or one empty after filtering โ yields 0; otherwise
max(indexes) + 1, so holes are never reused. Pure function โ
the caller persists the used paths (from attestation
subjectWalletPath values), neither the tree nor the adapter
keeps state.
Chain-scoped index allocation from used derivation paths (v1.2 ยง2.2): paths this package cannot parse are ignored; an empty input โ or one empty after filtering โ yields
0; otherwisemax(indexes) + 1, so holes are never reused. Pure function โ the caller persists the used paths (from attestationsubjectWalletPathvalues), neither the tree nor the adapter keeps state.