Ed25519PublicKeyInterface
type Ed25519PublicKeyInterface
An ed25519 public key.
BCS
The BCS serialized form for this type is defined by the following ABNF:
```text ed25519-public-key = 32OCTET ```
type Ed25519PublicKeyInterface interface {
// Derive an `Address` from this Public Key
//
// An `Address` can be derived from an `Ed25519PublicKey` by hashing the
// bytes of the public key with no prefix flag.
//
// `hash(32-byte ed25519 public key)`
DeriveAddress() *Address
// Returns the signature scheme for this public key.
Scheme() SignatureScheme
ToBytes() []byte
// Returns the bytes with signature scheme flag prepended.
ToFlaggedBytes() []byte
}