1.2.3 • Published 10 months ago

@daochild/tronweb-typescript v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

tronweb-typescript

Typescript support package for tronweb library ^4.x (and 5.x)

NOTE:
Please use official documentation for get actual information about method and their arguments. https://developers.tron.network/reference/tronweb-object

Installation

Required: node v14+ LTS

npm install --save-dev @daochild/tronweb-typescript

Usage

  1. Import type in package.json as @types/tronweb.
{
  "imports": {
    "@types/tronweb": "./node_modules/@daochild/tronweb-typescript/dist/index.d.ts"
  }
}
  1. Add reference type before import tronweb.
// <reference types="@types/tronweb" />
import TronWeb from 'tronweb';

Or

  1. Create file tronweb.d.ts in your project src/types (do not forget load this directory in tsconfig).
declare module '@type/tronweb' {
    export * from '@daochild/tronweb-typescript';
}

Would be nice to do

To put a star ⭐ at the top right of the screen.

Special attention

Tron development service, consulting and solution for your web3 project.
Contact with me: https://t.me/daochild

1.2.3

10 months ago

1.2.101

10 months ago

1.2.103

10 months ago

1.2.102

10 months ago

1.2.105

10 months ago

1.2.104

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.201

11 months ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.0.103

2 years ago

1.0.102

2 years ago

1.0.101

2 years ago

1.0.1

2 years ago