@test-org122/hypernet-core
Version:
Hypernet Core. Represents the SDK for running the Hypernet Protocol.
21 lines (19 loc) • 743 B
text/typescript
import { ChainAddresses, ChainProviders, PublicIdentifier } from "@connext/vector-types";
import { EthereumAddress } from "@test-org122/utils/src/objects/EthereumAddress";
export class HypernetConfig {
constructor(
public iframeSource: string,
public routerMnemonic: string,
public routerPublicIdentifier: PublicIdentifier,
public chainId: number,
public routerUrl: string,
public hypertokenAddress: EthereumAddress,
public hypernetProtocolDomain: string,
public defaultPaymentExpiryLength: number,
public chainProviders: ChainProviders,
public hypernetProtocolSpace: string,
public openThreadKey: string,
public chainAddresses: ChainAddresses,
public merchantIframeUrl: string,
) {}
}