TrueWallet library For Node.js
visit this repository for php version https://github.com/exzajung/class.truewallet.php
- babel transpiler
- node.js version 7.10 or higher
- request-promise-native https://github.com/request/request-promise-native
- sha1 package https://www.npmjs.com/package/sha1
- moment time management https://www.npmjs.com/package/moment
- install require package
- import this library to your controller
- send request data with post to endpoint and Enjoy !!
There are at least three ways to debug the operation of request: Launch the node process like NODE_DEBUG=request node script.js (lib,request,otherlib works too). Set require('request').debug = true at any time Use the request-debug module to view request and response headers and bodies.