Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "bin/blockchain-populator/user-desc-populator"

Index

Variables

Const scriptDescription

scriptDescription: 0 = 0

This script is run to populate the blockchain with data. Since we have yet to set up the data entry functionality in the client side, this is being used. Script inserts fake data to the blockchain for different accounts.

This scriptDescription variable has no actual use except to make the documentation generator function properly please disrearg this vairble.

Const web3

web3: Web3 = new Web3('http://localhost:7545')

Let weight

weight: number = 180

Functions

delayBlockTimestamp

  • delayBlockTimestamp(): Promise<void>

main

  • main(): Promise<void>

populateContractWithData

  • populateContractWithData(contractService: UserDescriptorService, accountId: string, count?: number): Promise<void>

randomSign

  • randomSign(): number

Object literals

Let rutgersLatLong

rutgersLatLong: object

latitude

latitude: number = 40.501304

longitude

longitude: number = -74.447367

Generated using TypeDoc