Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Generating an address for an ed25519 public key
- ```
- const TypeDistinguisher = HexToBytes("1624de6220")
- //prepend the TypeDistinguisher as Bytes
- SerializedBytes = TypeDistinguisher ++ PubKey.asBytes()
- Address = ripemd160(SerializedBytes)
- ```
Add Comment
Please, Sign In to add comment