# keystores

## @near-js/keystores

A collection of classes for managing NEAR-compatible cryptographic keys.

### Modules

* [KeyStore](https://github.com/near/near-api-js/blob/master/packages/keystores/src/keystore.ts) abstract class for managing account keys
* [InMemoryKeyStore](https://github.com/near/near-api-js/blob/master/packages/keystores/src/in_memory_key_store.ts) implementation of `KeyStore` using an in-memory data structure local to the instance
* [MergeKeyStore](https://github.com/near/near-api-js/blob/master/packages/keystores/src/merge_key_store.ts) implementation of `KeyStore` aggregating multiple `KeyStore` implementations

## License

This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See [LICENSE](https://github.com/near/near-api-js/blob/master/LICENSE) and [LICENSE-APACHE](https://github.com/near/near-api-js/blob/master/LICENSE-APACHE) for details.


---

# 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://civictech-ou.gitbook.io/nova-docs/use-cases/node_modules/near-js/keystores.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.
