Skip to content

rsksmart/rif-wallet-libs

Repository files navigation

logo

@rsksmart/rif-wallet

RIF Wallet

ci RIF Wallet npm

Packages

  • @rsksmart/rif-wallet-kms - Key Management System
  • @rsksmart/rif-wallet-core - RIF Relay + onRequest integration
  • @rsksmart/rif-wallet-test-lib - testing library (deprecated)
  • @rsksmart/rif-wallet-bitcoin - Bitcoin Library to send bitcoin, create addresses and much more.
  • @rsksmart/rif-relay-light-sdk - Light version of the RIF Relay client SDK used in the wallet.
  • @rsksmart/rif-wallet-token - RIF Wallet Token
  • @rsksmart/rif-wallet-eip681 - RIF Wallet EIP681

Run for development

Install dev dependencies:

npm i

Install peer dependencies:

npm run setup

Run tests

Run a local Ganache blockahin in a different terminal with:

npm run ganache

Then, run tests with

npm test

Watch mode:

npm run test:watch

Coverage report with:

npm run test:coverage

Run linter

npm run lint

Auto-fix:

npm run lint:fix

Build for production

npm run build