Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@biut-block/biutjs-randomdatagenerator

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@biut-block/biutjs-randomdatagenerator

A simple library of generating random transactions&token data in BIUT BlockChain

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
5
Weekly downloads
 
Created
Source


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 @biut-block/biutjs-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('@biut-block/biutjs-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('@biut-block/biutjs-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('@biut-block/biutjs-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('@biut-block/biutjs-randomdatagenerator')
randomGenerate.generateTxTransaction()

BIUT工具库-中文简介

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

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

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

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

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

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

Keywords

FAQs

Package last updated on 11 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc