@foly/core-api-extension
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Core API extension

A core plugin that extends the core-api package by adding custom endpoints.

Features

  • Delegate ranking

Installation

Core CLI

  1. Install plugin using ark plugin:install @foly/core-api-extension.
  2. Restart relay proces.

Git clone

  1. Go to the plugin directory cd ~/ark-core/plugins.
  2. Clone the plugin git clone https://github.com/e-m-s-y/core-api-extension -b ark.
  3. Install and build the plugin cd core-api-extension && pnpm install && pnpm build.
  4. Customize the plugin configuration to your needs.
  5. Add the configuration to ~/.config/ark-core/{mainnet|testnet}/app.json at the bottom of relay.plugins.
  6. Restart your relay process.

Plugin configuration example

{
    "package": "@foly/core-api-extension",
        "options": {
        "enabled": true
    }
}

Credits

License

CC BY-ND 4.0

/@foly/core-api-extension/

    Package Sidebar

    Install

    npm i @foly/core-api-extension

    Weekly Downloads

    1

    Version

    1.0.5

    License

    CC BY-ND 4.0

    Unpacked Size

    38.5 kB

    Total Files

    21

    Last publish

    Collaborators

    • emsy