tron-create-address
v0.1.11
Published
Tron address and private key generator
Downloads
534
Maintainers
Readme
Tron Wallet
A utility to generate Tron address and private key based on the source code of TronWeb.
Installation
$ npm i tron-create-address
Usage
JavaScript
const { generateAccount } = require('tron-create-address')
const { address, privateKey } = generateAccount()
console.log(`Tron address is ${address}`)
console.log(`Tron private key is ${privateKey}`)
TypeScript
import { generateAccount } from 'tron-create-address'
const { address, privateKey } = generateAccount()
console.log(`Tron address is ${address}`)
console.log(`Tron private key is ${privateKey}`)