Skip to content

Instantly share code, notes, and snippets.

@deweller
Last active February 24, 2017 03:38
Show Gist options
  • Save deweller/f60e7df89ea8682bce74b5b84140eade to your computer and use it in GitHub Desktop.
Save deweller/f60e7df89ea8682bce74b5b84140eade to your computer and use it in GitHub Desktop.
CIP 4 Technical Implementation

Details about the new subasset issuance type:

  • Create a new issuance type called subassetissuance at subassetissuance.py

  • The ID will be 21

  • The encoded format will be >QQ?{}s{}s. This is an Asset ID (8 bytes), Quantity (8 bytes), Divisibilty (1 byte), Asset Longname (variable), Description (variable). Description is optional.

Note that this means subassets will not be callable. Callable assets are currently disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment