# farcaster-snapchain-utils

This is a library that simplifies the interaction with a Farcaster snapchain node.

It can be used in read-only mode or in read/write mode.

If you use it in read/write mode, you will need to provide a private key and a FID.

If a node is not provided, the library will use the public MVR  node, but it is not guaranteed that this public node is functional. Many public nodes come and go, if you have an address, you can use that.\
\
If you alo run a public node and want that to be used by this library you can contact me.

You can also use it with Neynar, provided you pass the `NEYNAR_API_KEY` to the constructor or to `changeNode` method.

The library allows you to change the node or signer, so you don't need to create a new instance every time you want to change the node or signer.

### Jump right in

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>QuickStart</strong></td><td>View the basics</td><td></td><td></td><td><a href="/pages/CyH2xJQs9yWJ1S8BYNav">/pages/CyH2xJQs9yWJ1S8BYNav</a></td></tr><tr><td><strong>Write Methods</strong></td><td>View the write Methods</td><td></td><td></td><td><a href="/pages/KzRo9tdQhC2s3xDu7wPr">/pages/KzRo9tdQhC2s3xDu7wPr</a></td></tr><tr><td><strong>Read Methods</strong></td><td>View The read methods</td><td></td><td></td><td><a href="/pages/KzRo9tdQhC2s3xDu7wPr">/pages/KzRo9tdQhC2s3xDu7wPr</a></td></tr></tbody></table>


---

# 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://andrei0x309.gitbook.io/farcaster-snapchain-utils/readme.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.
