Compute composite key from identity fields.
Under NIP-5D v0.1.0, the key is 'dTag:hash' (pubkey is ignored).
Napplet identity
Composite key string 'dTag:hash'
toKey({ dTag: 'chat', hash: 'ff00' })// => 'chat:ff00' Copy
toKey({ dTag: 'chat', hash: 'ff00' })// => 'chat:ff00'
Compute composite key from identity fields.
Under NIP-5D v0.1.0, the key is 'dTag:hash' (pubkey is ignored).