Package Exports
- @elastosfoundation/trinity-dapp-sdk
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@elastosfoundation/trinity-dapp-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Trinity DApp SDK
This is a helper Typescript SDK for all elastOS (Trinity) dApps.
Installation
npm i --save @elastosfoundation/trinity-dapp-sdk
Build
npm run build
Generated output is in dist/.
Publish
npm publish
Usage example
import * as TrinitySDK from '@elastosfoundation/trinity-dapp-sdk';
let web3Provider = new TrinitySDK.Ethereum.Web3.Providers.TrinityWeb3Provider();