@swtc/tron-create-address
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

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

Package Sidebar

Install

npm i @swtc/tron-create-address

Weekly Downloads

0

Version

0.1.10

License

MIT

Unpacked Size

26 kB

Total Files

18

Last publish

Collaborators

  • lospringliu