0.8.0 • Published 5 years ago

trust-wallet-core v0.8.0

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

Trust Wallet Core

npm

trust-wallet-core is a JavaScript wrapper around the wallet-core library that is a standalone npm package.

Type definitions for TypeScript are included.

Install

$ npm install trust-wallet-core

Usage

const WalletCore = require("trust-wallet-core");

WalletCore.HDWallet.create(128);
//=> "army cook device assault vendor case coast rose dismiss lady dust point!"
from { HDWallet } from 'trust-wallet-core';

HDWallet.create(128);
//=> "army cook device assault vendor case coast rose dismiss lady dust point!"

Documentation

Platforms

trust-wallet-core only supports macOS/OSX at the moment. Linux and Windows support is forthcoming.

Bindings

  • This project uses node-addon-api to interface with wallet-core C headers.
  • The node-addon-api functions are wrapped in TypeScript that is then used to generate a JavaScript module with type definitions.

Memory management

  • Please note that memory allocated with C/C++ is released once there are no references to the JavaScript object, then Node.js garbage collector will try to release it from memory.

Other Resources

0.8.0

5 years ago

0.7.4

5 years ago

0.7.3

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.1

5 years ago