harsta
Version:
Harsta is a contract development tool based on Hardhat, designed to streamline the development, testing, and referencing of contracts, addresses, ABIs, and contract instances.
12 lines (9 loc) • 363 B
text/typescript
import type { ContractRunner, Signer } from 'ethers'
import type { Chain as _Chain } from 'viem'
export interface Chain extends _Chain {
addresses: Record<string, any>
iconUrl?: string | (() => Promise<string>) | null
iconBackground?: string
}
export type Runner = ContractRunner | Chain | 'provider' | 'signer'
export type SignRunner = 'signer' | Signer