Covenant items are not actually scripts, so instead of using toASM - I think it would be more useful to have "description" instead that defines for the covenant type, what the items in the covenant mean.
It would be similar the implementation in the #271, but semantics needs to be slightly different.
https://github.com/handshake-org/hsd/pull/271
Covenant items are not actually scripts, so instead of using
toASM
- I think it would be more useful to have "description" instead that defines for the covenant type, what the items in the covenant mean.It would be similar the implementation in the #271, but semantics needs to be slightly different.