Chains
GIWA (Sepolia)

GIWA — Sepolia (WETH / GiwaLend)

GIWA is a Sepolia-based EVM testnet where Heron deploys a vault for WETH allocation into the GiwaLend protocol.

Overview

ParameterValue
NetworkGIWA Sepolia
Chain ID91342
AssetWETH
VenueGiwaLend
VaultHeronVault.sol (EVM)
Decimals18

How It Works

  1. User connects EVM wallet
  2. Deposits WETH into HeronVault contract
  3. Keeper evaluates on 5-min cycles
  4. On Net-Edge approval: vault calls GiwaLend lending pool
  5. Yield accrues from borrower utilization

Important: Decimal Handling

WETH uses 18 decimals (not 6 like USDC). The system reads decimals directly from the token contract to avoid scaling errors:

User types "0.001 WETH"
  → Frontend reads token.decimals() → 18
  → Scales: 0.001 × 10^18 = 1000000000000000 wei
  → Signs transaction with correct amount

Vault Contract

Same EVM vault architecture as Arc — Merkle mandate, caps, sentinel, emergency exit. The only difference is the underlying asset (WETH) and venue (GiwaLend).

Factory Deployment

Like Arc, GIWA uses factory-deployed per-user vaults. Each wallet gets an isolated contract instance.

Environment

HERON_NETWORK=giwa
HERON_GIWA_RPC=https://giwa-sepolia-rpc.example.com