> For the complete documentation index, see [llms.txt](https://docs.endless.link/endless/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.endless.link/endless/endless-wallet/wallet-adapter.md).

# SDK

Endless Wallet is a secure and efficient web wallet designed for digital asset management. Users can easily store, send and receive multiple cryptocurrencies and enjoy a seamless trading experience. Developers do not need to learn the basics of wallets in depth, they only need to embed the wallet into the Dapp to adapt to various devices. Whether you are a novice, developer or experienced investor, Endless Wallet can meet your needs and help you freely explore the world of digital currency.

## Install related libraries

```bash
npm install @endlesslab/endless-web3-sdk @endlesslab/endless-ts-sdk
#or
pnpm add @endlesslab/endless-web3-sdk @endlesslab/endless-ts-sdk
```

## Use Endless Wallet

### Initialize jssdk object

```javascript
import { EndlessJsSdk } from '@endlesslab/endless-web3-sdk';
import { Network } from '@endlesslab/endless-ts-sdk';

const jssdk = new EndlessJsSdk({
  network: Network.TESTNET,
});
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.endless.link/endless/endless-wallet/wallet-adapter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
