# Using Solana CLI

The rollup adheres to the Solana RPC spec so you can use `solana-cli` to interact with the RPC.

First step is to install the `solana-cli` if you haven’t already - you can do this by following the guide at <https://solana.com/docs/intro/installation>.

After you have set up the tools, you can send requests like the following:

{% code overflow="wrap" %}

```bash
solana --url "https://devnet.rpc.solaxy.io" account 2MCVmcuUcREwQKDS3HazuYctkkbZV3XRMspM5eLWRZUV
```

{% endcode %}

If you have a keypair on your machine and would like to fund it on the rollup, you can do so by requesting an airdrop using the following command:

{% code overflow="wrap" %}

```bash
solana --url "https://devnet.rpc.solaxy.io" airdrop 0.00025
```

{% endcode %}

The 6h maximum airdrop amount is `250,000` lamports (or 0.00025 SOL) per account.


---

# 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://wiki.solaxy.io/using-solana-cli.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.
