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.
26 lines (23 loc) • 732 B
text/typescript
import type { HardhatUserConfig } from 'hardhat/config'
import type { NetworkUserConfig } from './network'
import type { UserDeploymentConfig } from './deployment'
export interface HarstaPathsConfig {
fragments?: string
}
export interface HarstaProxyConfig {
https?: boolean
host: string
port: number
}
export interface HarstaUserConfig extends Omit<HardhatUserConfig, 'namedAccounts' | 'networks' | 'etherscan' | 'verify' | 'paths'> {
deployments?: Record<string, UserDeploymentConfig>
networks?: Record<string, NetworkUserConfig>
paths?: HarstaPathsConfig
proxy?: HarstaProxyConfig
namedAccounts?: {
[name: string]:
| string
| number
| { [network: string]: null | number | string }
}
}