libnexa-ts v1.0.5
Libnexa TS
A pure and powerful TypeScript Nexa SDK library.
Principles
Nexa is another powerful peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Nexa network allows for highly resilient nexa infrastructure, and the developer community needs reliable, open-source tools to implement Nexa apps and services.
Get Started
npm install libnexa-tsOr adding libnexa-ts to your app's package.json:
"dependencies": {
"libnexa-ts": "^1.0.0",
...
}Documentation
The complete docs are hosted here: Libnexa-ts documentation. There's also a Libnexa API reference available generated from the TSDocs of the project, where you'll find low-level details on each utility.
Examples
- Generate a random address
- Generate a HD masterkey using Bip39
- Import an address via WIF (Wallet Import Format)
- Create a Transaction
- Sign a Nexa message
- Verify a Nexa message
Development & Tests
git clone https://gitlab.com/nexa/libnexa-ts.git
cd libnexa-ts
npm installRun all the tests:
npm run testYou can also create a test coverage report (you can open coverage/index.html to visualize it) with npm run coverage.
Security
We're using Libnexa in production, as are many others, but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.