Hedera Localnet
(HBAR)
Popular Contracts
Info
hedera.com
Chain ID
298
Native Token
hbar (HBAR)
Getting Started with Hedera Localnet
Choose a language:
Install the latest version of the SDK:
npm install @thirdweb-dev/sdk ethers@5
Initialize the SDK and contract on your project:
import { HederaLocalnet } from "@thirdweb-dev/chains";import { ThirdwebSDK } from "@thirdweb-dev/sdk/evm";
const sdk = new ThirdwebSDK(HederaLocalnet);const contract = await sdk.getContract("0x0000000000000000000000000000000000000000");