@sec-block/secjs-randomdatagenerator
A simple library of generating random transactions&token data in SEC BlockChain
Last updated a year ago by zuweihan1992 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @sec-block/secjs-randomdatagenerator 
SYNC missed versions from official npm registry.


SecRandomDataGenerator

JavaScript Style Guide

Definition: Modulation of generating and of acquiring random transaction data in both transactions- and token-chain.

Kind: global class

Install

npm install @sec-block/secjs-randomdatagenerator 

generateTokenBlock

A utility function of generating random token block in SEC transaction-chian. It is aviable to generate any involved data seperately.

Example

let randomGenerate = require('@sec-block/secjs-randomdatagenerator')
randomGenerate.generateTokenBlock()


generateTransactionBlock

A utility function of generating random transaction block for SEC transaction-chain. It is aviable to acquire any involved data seperately.

Example

let randomGenerate = require('@sec-block/secjs-randomdatagenerator')
randomGenerate.generateTransactionBlock()


generateTokenTransaction

A utility function of generating random token transaction data in SEC token-chian. It is aviable to generate any involved data seperately.

Example

let randomGenerate = require('@sec-block/secjs-randomdatagenerator')
randomGenerate.generateTokenTransaction()

generateTxTransaction

A utility function of generating random transaction data for SEC token-chain. It is aviable to acquire any involved data seperately.

Example

let randomGenerate = require('@sec-block/secjs-randomdatagenerator')
randomGenerate.generateTxTransaction()

SEC工具库-中文简介

  1. 模拟系统级智能合约产生的数据

目的:系统级智能合约拉出交易记录数据,该智能合约会为此次交易信息生成区块,并且开始对买家的分享行为进行监督,属于SEC基础库。主要的函数及其用途:

  1. 定义方法generateTokenBlock() 随机生成SEC-Token链所需要的交易信息

  2. 定义方法generateTransactionBlock() 随机生成SEC-交易链所需要的交易信息

  3. 定义方法generateTokenTransaction() 可获取SEC-Token链所需要的交易信息

  4. 定义方法generateTxTransaction() 可获取SEC-交易链所需要的交易信息

Current Tags

  • 1.0.50                                ...           latest (a year ago)

40 Versions

  • 1.0.50                                ...           a year ago
  • 1.0.49                                ...           a year ago
  • 1.0.48                                ...           2 years ago
  • 1.0.47                                ...           2 years ago
  • 1.0.46                                ...           2 years ago
  • 1.0.45                                ...           2 years ago
  • 1.0.43                                ...           2 years ago
  • 1.0.42                                ...           2 years ago
  • 1.0.41                                ...           2 years ago
  • 1.0.40                                ...           2 years ago
  • 1.0.39                                ...           2 years ago
  • 1.0.38                                ...           2 years ago
  • 1.0.37                                ...           2 years ago
  • 1.0.36                                ...           2 years ago
  • 1.0.35                                ...           2 years ago
  • 1.0.34                                ...           2 years ago
  • 1.0.32                                ...           2 years ago
  • 1.0.31                                ...           2 years ago
  • 1.0.30                                ...           2 years ago
  • 1.0.29                                ...           2 years ago
  • 1.0.28                                ...           2 years ago
  • 1.0.27                                ...           2 years ago
  • 1.0.26                                ...           2 years ago
  • 1.0.25                                ...           2 years ago
  • 1.0.24                                ...           2 years ago
  • 1.0.23                                ...           2 years ago
  • 1.0.22                                ...           2 years ago
  • 1.0.21                                ...           2 years ago
  • 1.0.20                                ...           2 years ago
  • 1.0.19                                ...           2 years ago
  • 1.0.18                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.16                                ...           2 years ago
  • 1.0.15                                ...           2 years ago
  • 1.0.14                                ...           2 years ago
  • 1.0.13                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |