Options
All
  • Public
  • Public/Protected
  • All
Menu

Module view/popups/AutominePopup

Type aliases

Functions

Type aliases

Props

Props: object

React props for AutominePopup component

Type declaration

  • onClose: function
      • (): void
      • Returns void

  • open: boolean

Functions

Const AutominePopup

  • AutominePopup(__namedParameters: object): Element
  • Development-only React Component, representing popup where developer could select number of blocks, which will then be automined on locally simulated blockchain.

    Parameters

    • __namedParameters: object
      • onClose: function
          • (): void
          • Returns void

      • open: boolean

    Returns Element

Const automine

  • automine(blocks: number): Promise<void>
  • Function for automining given number of blocks on local blockchain. It is done by transferring minimum amount of Ether from the active account to itself.

    Parameters

    • blocks: number

    Returns Promise<void>

Generated using TypeDoc