# Getting Started with Luntra Infrastructure

### Initialize New Project

```sh
forge init my-luntra-project
cd my-luntra-project
```

### Project Structure

```
my-luntra-project/
├── foundry.toml
├── .github/
│   └── workflows/
├── lib/
│   └── forge-std/
│       ├── .github/
│       │   └── workflows/
│       ├── scripts/
│       ├── src/
│       │   └── interfaces/
│       └── test/
│           ├── compilation/
│           └── fixtures/
├── script/
│   └── Counter.s.sol
├── src/
│   └── Counter.sol
└── test/
    └── Counter.t.sol

```

### Configure Luntra Network

Edit `foundry.toml`

```toml
[profile.default]
src = "src"
out = "out"
libs = ["lib"]

# Luntra Infrastructure Network Configuration
[rpc_endpoints]
luntra = "https://rpc.luntrainfrastructure.com/http"

[etherscan]
luntra = { key = "YOUR_EXPLORER_API_KEY", url = "https://explorer.luntrainfrastructure.com/api-docs" }

# Network settings
[profile.luntra]
chain_id = 3470144
gas_limit = 30000000
gas_price = 1000000000  # 1 gwei

```


---

# 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://luntra.gitbook.io/luntra-infrastructure/smart-contract-guide-using-foundry/getting-started-with-luntra-infrastructure.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.
