@biswap/common-library
Release
1.0.30
All common tools, utils, services and etc. for Biswap products
Homepage
Repository
npm
JavaScript
Download
-
Keywords
-
nodejs, mongodb, typescript, rabbitmq, bignumber
-
License
-
ISC
-
Install
-
npm install @biswap/common-library@1.0.30
Documentation
- Node v14 and above.
- Environment variables must be specified in the project where Common library is used
- Constants
- Enums
- Helpers
- Services
- Types
- Addresses
- Tokens
- Balance types
- Blockchain
- Chain IDs
- Contract types
- default - Contract ABI is used for many contracts, for example - pair contract, ERC20
- single - Contract in a single instance (address + ABI)
- double-pool - Double pool contract in a single instance that requires a staked token addresses
- Log levels
- Project names
- Common functions
- Big Number
- Request API - Requests to BS backend
- Blockchain
- exchanges
- DB contracts
- ETH contracts
- pairs
- token addresses
- Log - Prints the string you pass to it to the console
- Balance
- Blockchain
- Pair# common-library