Implement NIP-04: Encrypted Direct Messages

This commit is contained in:
Wilson Silva
2023-02-25 17:26:28 +07:00
parent 0df4dbb979
commit 857bf0ce8e
12 changed files with 343 additions and 0 deletions

View File

@@ -26,4 +26,10 @@ RSpec.describe Nostr::EventKind do
expect(described_class::CONTACT_LIST).to eq(3)
end
end
describe '::ENCRYPTED_DIRECT_MESSAGE' do
it 'is an integer' do
expect(described_class::ENCRYPTED_DIRECT_MESSAGE).to eq(4)
end
end
end