Hierarchy

Constructors

Properties

accounts: Map<string, StubAccount> = ...
alive: boolean = true
balances: Map<string, StubBalances> = ...
chainId: string = 'stub'

The chain ID that will be passed to the devnet node.

gasToken: Native = ...

Denomination of base gas token for this chain.

instances: Map<string, StubInstance> = ...
lastCodeId: number = 0
log: Console
platform?: string

Which kind of devnet to launch

prefix: string = 'stub1'
running: boolean = false

Is this thing on?

uploads: Map<string, StubUpload> = ...
url: string = 'http://stub'

URL for connecting to a remote devnet.

Methods

  • Parameters

    • Rest ...args: unknown[]

    Returns Promise<unknown>

  • Parameters

    • Rest ...args: unknown[]

    Returns Promise<unknown>

  • Parameters

    • Rest ...args: unknown[]

    Returns Promise<unknown>

  • Parameters

    • creator: string
    • codeId: string
    • options: unknown

    Returns Promise<Partial<ContractInstance> & {
        address: string;
    }>

  • Parameters

    • codeData: Uint8Array

    Returns Promise<{
        chainId: string;
        codeData: Uint8Array;
        codeHash: string;
        codeId: string;
        instances: Set<string>;
    }>

Generated using TypeDoc