Getting Started with Luntra Infrastructure

Initialize New Project

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

[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

Last updated