@airgap/coinlib-core

v0.13.35
The @airgap/coinlib-core is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.
airgap blockchain crypto bitcoin ethereum aeternity groestlcoin tezos cosmos and 3 more...

build

rm -rf ./dist && tsc && node scripts/copy-files-after-build.js && node scripts/make-ts-declaration-files-backwards-compatible.js

build-scripts

tsc scripts/*.ts

lint

tslint -c ./tslint.json --project ./tsconfig.json --format stylish --fix

lint:prettier

prettier --write "src/**/*.ts" "test/**/*.ts"

lint-ci

tslint -t json -o ../../lint-reports/core.json --project . || true

lint-ci:prettier

prettier "src/**/*.ts" "test/**/*.ts" --list-different

test

TS_NODE_PROJECT='./test/tsconfig.json' nyc mocha --bail --require ts-node/register --require tsconfig-paths/register --require source-map-support/register --full-trace --delay --timeout 40000 ./test/**/**.spec.ts

test-ci

nyc --reporter=lcov npm test

browserify

browserify ./dist/index.js -s airgapCoinLib > ./dist/airgap-coinlib-core.min.js
npm i @airgap/coinlib-core

Metadata

  • MIT
  • Whatever
  • Papers AG
  • released 10/11/2024

Downloads

Maintainers