tron-create-address

Tron address & private key generator

Usage no npm install needed!

<script type="module">
  import tronCreateAddress from 'https://cdn.skypack.dev/tron-create-address';
</script>

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}`)