SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module Prefix = struct
  2.  
  3.   (* 32 *)
  4.   let block_hash = "0152" (* B(51) *)
  5.   let operation_hash = "05116" (* o(51) *)
  6.   let operation_list_hash = "133233" (* Lo(52) *)
  7.   let operation_list_list_hash = "29159109" (* LLo(53) *)
  8.   let protocol_hash = "02170" (* P(51) *)
  9.   let context_hash = "79199" (* Co(52) *)
  10.  
  11.   (* 20 *)
  12.   let ed25519_public_key_hash = "06161159" (* tz1(36) *)
  13.   let secp256k1_public_key_hash = "06161161" (* tz2(36) *)
  14.   let p256_public_key_hash = "06161164" (* tz3(36) *)
  15.  
  16.   (* 16 *)
  17.   let cryptobox_public_key_hash = "153103" (* id(30) *)
  18.  
  19.   (* 32 *)
  20.   let ed25519_seed = "13155807" (* edsk(54) *)
  21.   let ed25519_public_key = "131537217" (* edpk(54) *)
  22.   let secp256k1_secret_key = "17162224201" (* spsk(54) *)
  23.   let p256_secret_key = "1681238189" (* p2sk(54) *)
  24.  
  25.   (* 56 *)
  26.   let ed25519_encrypted_seed = "07906017941" (* edesk(88) *)
  27.   let secp256k1_encrypted_secret_key = "09237241174150" (* spesk(88) *)
  28.   let p256_encrypted_secret_key = "094857115171" (* p2esk(88) *)
  29.  
  30.   (* 33 *)
  31.   let secp256k1_public_key = "0325422686" (* sppk(55) *)
  32.   let p256_public_key = "03178139127" (* p2pk(55) *)
  33.   let secp256k1_scalar = "38248136" (* SSp(53) *)
  34.   let secp256k1_element = "059200" (* GSp(54) *)
  35.  
  36.   (* 64 *)
  37.   let ed25519_secret_key = "432467807" (* edsk(98) *)
  38.   let ed25519_signature = "0924520513418" (* edsig(99) *)
  39.   let secp256k1_signature =  "131151011963" (* spsig1(99) *)
  40.   let p256_signature =  "542404452" (* p2sig(98) *)
  41.   let generic_signature = "0413043" (* sig(96) *)
  42.  
  43.   (* 4 *)
  44.   let chain_id = "878200" (* Net(15) *)
  45.  
  46. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top