RPC Call
Last updated
Last updated
To interact with the Messaging Layer, you have two options: connect to XePHY’s public relay URL or deploy a local instance. Choose based on your needs—public for simplicity, local for development or control.
Prerequisites:
Docker: Ensure is installed and running on your system to manage the messaging network services.
Steps:
Clone the repository:
Copy
Launch the messaging layer using Docker Compose:
Copy
This deploys a self-hosted Nostr-based messaging network locally, ready to handle event subscriptions and publications for your XePHY applications. By default, it will be accessible at wss://localhost:8080
.
Below are recommended libraries for interacting with the Nostr protocol across multiple programming languages, with hyperlinks to their official repositories or documentation.