# Set up

To build our encrypted messaging system, we'll be using these key JavaScript libraries:

* `xrpl`: The official XRPL client library to interact with the XRP Ledger
* `tweetnacl`: For encryption/decryption operations using the NaCl cryptographic library
* `@noble/curves`: For handling elliptic curve operations and key conversions
* `buffer`: To handle binary data manipulation

If you are running your own environment, install everything by running:

```
npm install xrpl tweetnacl @noble/curves buffer
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xrpl-commons.org/cyphered-chat-on-xrpl/set-up.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
