# Ganache

<figure><img src="/files/ngldGiUaj304Ua14g9c4" alt=""><figcaption></figcaption></figure>

Install Ganache CLI

```bash
npm install -g ganache-cli
```

Load Findora networks (local, testnet, mainnet) to ganache-cli

```bash
# Local
ganache-cli -f http://localhost:8545 --networkId 2152

# Testnet
ganache-cli -f https://prod-testnet.prod.findora.org:8545 --networkId 2153

# Mainnet
ganache-cli -f https://rpc-mainnet.findora.org --networkId 2152
```

Use web3.js to interact with the ganache-bound Findora network

```javascript
const web3 = new Web3("http://127.0.0.1:8545");
web3.eth.getBlockNumber().then(console.log)
```


---

# 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://docs.findora.org/developers/evm-tools-and-tutorials/contract-deployment/ganache.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.
