Universa content types (MIME types)


Below is the list of typical Content-Types (MIME types) for Universa-specific files, as well as usual extensions.

Smart Contract

The file containing a single smart contract, or the whole interconnected transaction pack with multiple smart contracts.

Content type: application/x-universa-contract

File extension: .unicon

Cryptographic key

The file containing either a public key for cryptographic algorithms (typically RSA) or a private key.

Content type: application/x-universa-key

File extension: .unikey

For situations when it is explicitly designated whether the file contains a private key or a public key, a good practice of file naming is like this:

  • File contains a private key: extension is .private.unikey
  • File contains a public key: extension is .public.unikey