Skip to content

FairCoin developer notes

Santi edited this page Apr 15, 2018 · 4 revisions

This document summarizes the technical parameters of the FairCoin protocol. The source code of the official core client is available here: https://github.com/faircoin/faircoin.git

Mainnet parameters:

  •   Param                 character    decimal    hexadecimal
    
  • Address header             f 	     95 	 0x5f
    
  • P2SH header                F 	     36 	 0x24
    
  • WIF-prefix uncompressed    8 	     223 	 0xdf
    
  • WIF-prefix compressed     a, Z        223         0xdf
    
  • BIP32 extended public key (xpub):                 0x0488b21e
    
  • BIP32 extended private key (xpriv):               0x0488ade4
    
  • P2P-network default port:              40404
    
  • RPC default port:                      40405
    
  • Genesis block hash:              beed44fa5e96150d95d56ebd5d2625781825a9407a5215dd7eda723373a0a1d7
    
  • Genesis transaction hash:        7c27ade2c28e67ed3077f8f77b8ea6d36d4f5eba04c099be3c9faa9a4a04c046
    
  • Genesis TimeStamp:               1500364800
    
  • Genesis Message:                 "FairCoin - the currency for a fair economy.";
    
  • Network frame start magic bytes: 0xfa, 0xbf, 0xb5, 0xda
    
  • Checkpoints (as of version V.2.x.x): 
          000000 : beed44fa5e96150d95d56ebd5d2625781825a9407a5215dd7eda723373a0a1d7
    

  • Genesis block hex:

010f0000000000000000000000000000000000000000000000000000000000000000000046c0044a9aaa9f3cbe99c004ba5e4f6dd3a68e7bf7f87730ed678ec2e2ad277c0e6cd245cabb9fea3935d63f6d0e7c4b83febf7625cbbcd4149618f76eb87a2b00c06d590dd001c00101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0800050dd001c00000ffffffff0100000000000000002d6a2b46616972436f696e202d207468652063757272656e637920666f72206120666169722065636f6e6f6d792e0000000014dc4f77f9d59ece2b3aa02cc4df99954d47fa2719be207d1b5010745aec419e451f01a8749cd16f22a727d0deba5110d2ce7e44ff86f0efdea58db4efdb92cd00591039a3b2e2c5ca8cd491e940263c9f2515a43b5085d4451dbdf8c09acb3d1fe7001957ebeda65a3cd26f1d19fb3db3b06baf5dc41cdcd3412728c8b57edaf501010000adced5d4d4f5967b80ca774324a5d9ab0569ec1f1608dfef6c1e439094dc3467d50b2116fa02f3e89753033e94628668298f61b43df046881c9312f3bccde46a3f010dd001c00000000065aaaf2147d0de94d1d307de8817076c55111d42cc5f185c0f8d2b5e9ad29bf62c26b1d86a4bb1f8ba32345eefb01ac3f568af9243486e578fac0d9a645ad72a01010000ad00000000363d7f305589549a832e92a43d009ad9c9adb7fe648280c08763be7dcba5bf1c80f59f97042066c2e3f95a75e3f3cdfd75309f4c86ec6086847e7676fae69f5f01000000010000000b000000b40000003c0000000000000000000000000000000000000001000000010000004600000060e31600320000000f0000000a000000422330303030312068747470733a2f2f666169722d636f696e2e6f72672f205468652067656e657369732064796e616d696320636861696e20706172616d6574657273

Testnet parameters

  •   Param               character    decimal    hexadecimal
    
  • Address header           m, n 	   111 	       0x6f
    
  • P2SH header              2 	   196 	       0xc4
    
  • WIF-prefix uncompressed  9 	   239 	       0xef
    
  • WIF-prefix compressed    c 	   239 	       0xef
    
  • BIP32 extended public key (tpub):                0x043587cf
    
  • BIP32 extended private key (tpriv):              0x04358394
    
  • P2P-network default port:            41404
    
  • RPC default port:                    41405
    
  • Genesis block hash:                  42327d5edf3cbb75bb139ec78bd62e517f14d7cbad451e4778741b6b4c1dfbc6
    
  • Genesis transaction hash:            7c27ade2c28e67ed3077f8f77b8ea6d36d4f5eba04c099be3c9faa9a4a04c046
    
  • Network frame start magic bytes:    0x0c, 0x12, 0x0a, 0x08
    
  • Checkpoints (as of version V.x):
    

You can’t perform that action at this time.