Guest User

Untitled

a guest
Apr 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # Generating an address for an ed25519 public key
  2.  
  3. ```
  4. const TypeDistinguisher = HexToBytes("1624de6220")
  5.  
  6.  
  7. //prepend the TypeDistinguisher as Bytes
  8. SerializedBytes = TypeDistinguisher ++ PubKey.asBytes()
  9.  
  10. Address = ripemd160(SerializedBytes)
  11. ```
Add Comment
Please, Sign In to add comment