HollaEx®
⚙️ DashboardStart →
  • HollaEx® — The Crypto Exchange Solution
  • ☁️Cloud Operators
    • Launching the Exchange
    • Setting Domain for Cloud Exchanges
    • Easy SMTP for Cloud Exchanges
    • SEO Settings for Cloud Exchanges
      • SEO Advanced Settings
  • ⚙️Operating Your Exchange
    • Operator Control Panel
      • General
      • Users
      • User Profile
      • Assets
      • Markets
      • Stakes
      • Sessions
      • Plugins Apps
      • Trading Fees & Account Tiers
      • Roles
      • Chat
      • Billing
    • Customize Exchange
      • Browser Tools
        • Enter Edit Mode
        • Operator Controls (Visuals)
        • Console
      • Plugins
      • Forked Repo
    • Fiat Controls
      • Initial Setup
      • Setting Up Fiat On/ Off Ramp
      • Editing Deposit & Withdrawal Fees
      • Users Making Fiat Deposit
      • Users Trading With Fiat
      • User Making Fiat Withdrawal
    • Staking
    • OTC Broker
    • P2P
      • P2P Overview
      • P2P Setup
      • P2P Troubleshooting
      • P2P Vendor Flow
    • Smart Chain Trading
    • Assets & Trading Pairs
      • Add New Assets & Trading Pairs
      • Configure Pair Parameters
    • Set up the SMTP Email
      • Set up SMTP with AWS SES
      • Set up SMTP with Mailgun
      • Set up SMTP with SendGrid
      • Test the SMTP with Gmail
    • Enabling reCAPTCHA
    • Email Customization & Audit
    • DeFi Asset Staking Process
  • 🧩Plugins
    • HollaEx Plugins
      • Announcements
      • Bank
      • AWS SNS (Text Messages - SMS)
      • KYC
      • Automatic KYC
      • Messente
      • Advanced Referral
      • CoinMarketCap
      • Guardarian
    • Install Plugins
    • Developing Plugins
      • Development Walkthrough: Hello-Plugin
        • Initialization
        • Configuration
        • Scripting
        • Web View
        • The Final Product & Installation
      • Advanced
        • Initialization
        • Config
        • Server Script
        • Plugin Libraries
        • Web View
        • Final Plugin Product
        • Advanced Tutorial: Using the user meta field
        • Advanced Tutorial: Adding a new database table column
        • Advanced Tutorial: Creating a new database table
      • Simple Wallet Example
      • Web View Development
        • Overview
        • External dependencies
        • Getting started
        • Basic Tutorial: Hello Exchange Plugin web view
        • Advanced Tutorial: KYC Plugin web views
    • Bank Integration
      • Handling Deposits
      • Handling Withdrawals
  • 👷Developers
    • API Guide
      • API Example Scripts
    • Run Dev Mode
    • Build a New Front-end Interface
  • 🧰On-Premise Operators (Advanced Only)
    • On-Premise Exchange Setup
      • Getting Started — Requirements
      • Installation
      • Server Setup
      • Web Setup
      • Production
    • CLI How-Tos
      • Start Exchange
      • Stop Exchange
      • Upgrade Exchange
        • Build and Apply the Code Changes
      • Get Exchange Logs
      • Get a Backup and Restore
      • Exchange Migration
      • Command List
    • Run Exchange on Kubernetes
    • Troubleshooting Guide
  • 🚀Advanced
    • SEO Optimization
    • Nginx
    • Rate Limits
    • Database
      • Upgrade Database
    • Dependencies
    • Contents Delivery Network
      • Cloudflare CDN for HollaEx
      • CloudFront CDN for HollaEx
    • Load Balancer
      • AWS ELB
      • DigitalOcean LB
    • Customize Kubenretes Ingress
    • Exchange Keys
      • Exchange API Keys Troubleshoot
    • HollaEx on non-Linux
      • HollaEx on Windows
      • HollaEx on macOS
    • The Network Tool Library
      • Accessing the Network Tool Library
      • Functions
        • WebSocket
      • Simple Example: Creating a User and Wallet
      • Getting More Interesting: Orders with the Tools
        • Setup: Using the transferAsset function
        • Creating and Monitoring a Sell Order
        • Settling Fees
      • Private HollaEx Network
    • Docker Content Trust (DCT)
    • Revenue Sharing
  • 📦Releases
    • Release Notes
    • Side Notes
  • ➡️External Links
  • Blogs
  • Forum
  • Videos
  • Twitter X
  • Telegram
  • Interactive Demo
  • Discord Community
  • API Documentation
  • Tools Library Documentation
  • Node Library Documentation
  • Plugins Documentation
Powered by GitBook
On this page
  • Preconfigured Libraries
  • Default Libraries
  • Plugin Specific Libraries
  1. Plugins
  2. Developing Plugins
  3. Advanced

Plugin Libraries

Libraries allow access to functionality for plugins. Some are included within the HollaEx Kit, but you have the ability to import ones of your own choosing that have not been included

PreviousServer ScriptNextWeb View

Last updated 2 years ago

There are three types of third-party libraries for all plugins: preconfigured, default, and plugin specific.

Preconfigured Libraries

Preconfigured libraries are libraries that have the same configuration for all plugins. These are included in an object this.pluginLibraries. The libraries included are:

  • - Express app (v4.16.2)

  • - HollaEx Tools Library

  • - Winston logger (v3.2.1)

Default Libraries

Default libraries are libraries that are already installed in the Kit itself. These can be imported using require. Please take a look at the Kit file for all default libraries included. Some are:

Click here to view the default libraries
  • - (v4.17.20)

  • - (v6.7.0)

  • - (v1.4.2)

  • - (v2.21.0)

  • - (v3.20.2)

  • - (v3.5.3)

  • - Request promise (v4.2.2)

  • - (v3.2.1)

  • - (v2.3.0)

  • - (v4.37.7)

  • - (v4.5.4)

  • - (v5.0.0)

  • - (v2.8.5)

  • - (v2.4.3)

  • - (v9.4.1)

  • - (v2.8.5)

Plugin Specific Libraries

Plugin-specific libraries are libraries that are not installed in the Kit but are required for the plugin. These can be installed through the prescript.install object in the plugin config.json file and imported using require.

Do not add any plugin-specific libraries that are already included by default.

A different version could be installed which can cause unexpected bugs.

To add a plugin-specific library on installation, include the library name inside the install array in the prescript object. To specify a version, include the @ symbol with the version desired (similar to how a basic npm install works).

{
    ...
    prescript: {
        install: ['hello-world-npm']
    },
    ...
🧩
app
toolsLib
loggerPlugin
package.json
lodash
expressValidator
multer
moment
mathjs
bluebird
rp
uuid
umzug
sequelize
json2csv
flat
cron
bcryptjs
validator
cors