# xchain-solana

Client that allows to perform operations on the Solana blockchain abstracting developers from its particularities, thus allowing developers to focus on their projects. The Solana client is built on top of [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) and the suite of packages developed by the [Metaplex](https://www.metaplex.com/) foundation.

If you want to read more about Solana blockchain, go to its official [web site](https://solana.com/)

## Features

Thanks to the Solana client you will be able to:

* Get the Solana and tokens balances that an address owns
* Generate addresses given a secret phrase
* Transfer Solana and tokens to another address
* Get details of a transaction
* Get address transaction history

### Address Generation <a href="#address-generation" id="address-generation"></a>

It supports the [`BIP44 path derivations`](https://github.com/satoshilabs/slips/blob/master/slip-0044.md). By default, the account is 0. - `m/44'/501'/`

### Explorer URL <a href="#address-generation" id="address-generation"></a>

* &#x20;Mainnet: <https://explorer.solana.com/>
* Tesnet: <https://explorer.solana.com/?cluster=testnet>
* Stagenet: <https://explorer.solana.com/>


---

# 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://xchainjs.gitbook.io/xchainjs/clients/xchain-solana.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.
