I’d like to make JS functions to generate all tx types.
… unless this already exists. For countertools I copied send, broadcast and issuance from @loon3. In addition I added betting functionality.
Tokenly has excellent documentation of issuance and a few other tx types.
Especially DEX orders I would like a JS functions for. And also all sorts of issuances such as issue additional, transfer of ownership, and locking (not sure if these are the same type as issuing new asset).
I’m testing an initial issuance with description LOCK.
Will this lock it?
According to the protocol specifications, it should. Assets may be locked irreversibly against the issuance of further quantities and guaranteeing its holders against its inflation. To lock an asset, set the description to ‘LOCK’ (case‐insensitive).