1.0.5 • Published 3 years ago
@foly/core-api-extension v1.0.5
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.jsonat the bottom of relay.plugins. - Restart your relay process.
Plugin configuration example
{
"package": "@foly/core-api-extension",
"options": {
"enabled": true
}
}