mirror of
https://github.com/luxfi/lux-sign.git
synced 2026-10-30 16:20:38 +00:00
714 B
714 B
@luxwallet/lux-sign
Getting Started
install by npm, yarn etc
npm i -S @luxwallet/lux-sign
# or
yarn add @luxwallet/lux-sign
APIs
Signature
For every use cases, we provide two kinds of implementations: by Javascript and by WebAssembly. for example:
import * as SignWasm from '@luxwallet/lux-sign/es/sign-wasm-lux'
Development
Build
# build for web
npm run build:umd
# build for nodejs/react-native
npm run build:cjs
Test
We use jest, ts-jest to test source code, in all spec files, we import members to be test from ./src DIRECTLY
npm run test