Chains
The following Tempo chains are available:
import {
tempoDevnet,
tempoLocalnet,
tempoTestnet,
} from 'viem/chains'Default Fee Token
It is possible to set a default fee token for a Tempo chain by adding a feeToken property as an extension to the chain.
Once set, all transactions will use this token as the default fee token, unless an override is provided at the transaction level.
import { tempoTestnet } from 'viem/chains'
const chain = tempoTestnet.extend({
feeToken: '0x20c0000000000000000000000000000000000001',
})