opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
10 lines (6 loc) • 325 B
text/typescript
import type { Address } from 'abitype'
import { version } from './version.js'
export type ErrorType<name extends string = 'Error'> = Error & { name: name }
export const getContractAddress = (address: Address) => address
export const getUrl = (url: string) => url
export const getVersion = () => `viem@${version}`