omni-simple-send

create a Simple Send data for omni layer

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
omni-simple-send
0.0.16 years ago6 years agoMinified + gzip package size for omni-simple-send in KB

Readme

omni-simple-send

Installation

$ npm install --save omni-simple-send

Example

const omniSend = require('omni-simple-send')
const token = 31   //USDT
const amount = 1e9 // 10 USDT
const omniData = omniSend(token, amount)
console.log(omniData.toString('hex'))

// Output:
// 6f6d6e69000000000000001f000000003b9aca00