> For the complete documentation index, see [llms.txt](https://luntra.gitbook.io/luntra-infrastructure/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://luntra.gitbook.io/luntra-infrastructure/smart-contract-guide-using-foundry/getting-started-with-luntra-infrastructure.md).

# 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

```
