Skip to main content

Using a local chain

An overview of using a Hardhat node and a local Tableland instance.


Developing locally should happen as a step prior to deploying to any testnet and/or mainnet. Developers can use Local Tableland to accomplish this, which spins up a Hardhat node for a local Tableland node to use.

Overview

Local development helps streamline the engineering process through quick iteration and testing. A local node, such as one provided by Hardhat, can be used with any of the Tableland clients (SDK, CLI, REST API, smart contracts).

tip

Check out the page about Local Tableland to understand how to set up a local-only environment with both a local Hardhat and Tableland node.

Setup & resources

local tableland (local-only nodes)

  • Chain ID: 31337
  • Contract address: 0xe7f1725e7734ce288f8367e1bb143e90bb3f0512
  • Network name: local-tableland (used for Hardhat or ethersjs)
  • Tableland validator API: http://localhost:8080/api/v1
  • RPC URLs: http://localhost:8545
  • Block time: 1-2 seconds
  • Block depth: 0
  • SQL materialization time: 2-3 seconds
  • Symbol: ETH