solidity-types
v0.1.3
Published
Generate random values for solidity contracts based on types ### 1. Installation
Downloads
1
Readme
Solidity-types
Generate random values for solidity contracts based on types
1. Installation
npm i --save solidity-types
2. Usage
import { getType } from 'solidity-types'
// return randomized values
const t = getType('uint256')
const value = t.decode() // get value to encode abi
const buf = t.getValue() // return buffer which contains your type