dashhive / DashTx.js

Create TX hex for payments and such
MIT License
3 stars 0 forks source link

feat(platform): split 'version' from 'type', add 'extraPayload', new utils exports #83

Closed coolaj86 closed 2 months ago

coolaj86 commented 2 months ago

We need to be able to create Platform TXes. Re: https://github.com/dashhive/DashPlatform.js/issues/1

Now we only use 2 bytes for version, and the other two for type.

We also allow a 'trailer' for AssetLock and AssetUnlock.

Tests updated.