@foly/core-api-extension
v1.0.5
Published
A core plugin that extends the core-api package by adding custom endpoints
Downloads
12
Readme
Core API extension
A core plugin that extends the core-api package by adding custom endpoints.
Features
- Delegate ranking
Installation
Core CLI
- Install plugin using
ark plugin:install @foly/core-api-extension
. - Restart relay proces.
Git clone
- Go to the plugin directory
cd ~/ark-core/plugins
. - Clone the plugin
git clone https://github.com/e-m-s-y/core-api-extension -b ark
. - Install and build the plugin
cd core-api-extension && pnpm install && pnpm build
. - Customize the plugin configuration to your needs.
- Add the configuration to
~/.config/ark-core/{mainnet|testnet}/app.json
at the bottom of relay.plugins. - Restart your relay process.
Plugin configuration example
{
"package": "@foly/core-api-extension",
"options": {
"enabled": true
}
}