Extract event signing into its own class
This commit is contained in:
9
sig/nostr/crypto.rbs
Normal file
9
sig/nostr/crypto.rbs
Normal file
@@ -0,0 +1,9 @@
|
||||
module Nostr
|
||||
class Crypto
|
||||
def sign_event: (Event, String) -> Event
|
||||
|
||||
private
|
||||
|
||||
def hash_event:(Event) -> String
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user