Gyr0MAN commited on
Commit
766bc6c
·
verified ·
1 Parent(s): 7a9d288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -1,7 +1,9 @@
1
- import gradio as gr
 
 
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
 
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- demo.launch()
 
 
1
+ from nostr_sdk import Client, NostrSigner, Keys, Event, UnsignedEvent, Filter, \
2
+ HandleNotification, Timestamp, nip04_decrypt, UnwrappedGift, init_logger, LogLevel, Kind, KindEnum
3
+ import time
4
 
5
+ keys = Keys.parse("nsec1ufnus6pju578ste3v90xd5m2decpuzpql2295m3sknqcjzyys9ls0qlc85")
 
6
 
7
+ sk = keys.secret_key()
8
+ pk = keys.public_key()
9
+ print(f"Bot public key: {pk.to_bech32()}")