Would need to fill in with some of your own info (will rewrite this to use env var from a .env file soon) but this has worked for me.
https://github.com/UTXOnly/nost-py/blob/main/prepare_server.py
Would need to fill in with some of your own info (will rewrite this to use env var from a .env file soon) but this has worked for me.
https://github.com/UTXOnly/nost-py/blob/main/prepare_server.py