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.
52 lines (36 loc) • 740 B
text/typescript
import type { HardhatNetworkUserConfig } from 'hardhat/types'
export interface NetworkUserConfig {
rpc: string
id: number
name: string
testnet?: boolean
icon?: string
currency?: Currency
verify?: Verify
deploy?: Deploy
explorer?: Explorer
}
export interface Deploy extends
Omit<HardhatNetworkUserConfig, 'chainId' | 'chains' | 'url' | 'verify' | 'accounts'> {
accounts?: any[]
[key: string]: any
}
export interface Currency {
name: string
/** 2-6 characters long */
symbol: string
decimals: number
}
export interface Verify {
uri?: string
api?: string
key?: string
}
export interface Metadata {
name: string
icon?: string
}
export interface Explorer {
name: string
url: string
}