0.1.4 • Published 3 years ago

@sealsc/tronweb-wrapper v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

tronweb-wrapper

Overview

provide unified interface conformed by our protocol to support Tron interaction.

Install

yarn add @sealsc/tronweb-wrapper

or

npm install @sealsc/tronweb-wrapper

Testing

We are using karma & mocha testing @sealsc/tronweb-wrapper SDK . Tron network of this testing used will be dependence on TronLink extension wallet.
This test will interact with the TronLink extension wallet in the browser, please pay attention to the pop-up window in the browser.

dependencies

node.js v12+
karma v4.1.0
mocha v6.1.4
TronLink

testing

git clone https://github.com/SealSC/multi-chain-js.git

cd multi-chain-js

cd ./tronweb-wrapper

yarn run test

Using yarn run test we provided to run all test

yarn run test

Please make sure that the TronLink extension wallet is installed in your browser.

Open http://localhost:9876/ in a browser with a wallet environment,and perform the test process on the TRON shasta test network.

Note: yarn run test will try to open the test report with your chrome browser.

Document

tronweb-wrapper