Plugin used by @arkdelegates and @solardelegates Twitter account
If you find this or other plugins useful please consider voting for deadlock delegate on Solar or Ark networks.
Before restarting your process, you need to add the plugin into the very end core.plugins or relay.plugins section of app.json file:
{
"package": "@deadlock-delegate/twitter-bot",
"options": {
"enabled": true,
"consumerKey": "",
"consumerSecret": "",
"accessToken": "",
"accessTokenSecret": "",
}
}- Install plugin:
<command> plugin:install @deadlock-delegate/notifier, eg:ark plugin:install @deadlock-delegate/notifierorsolar plugin:install @deadlock-delegate/notifier2. Add plugin toapp.json - Start your node as you usually start it
Assuming you don't run testnet locally via docker:
- Clone this plugin into
plugins/directory of the core project - Add plugin to
app.json, for testnet the file can be found in:core/packages/core/bin/config/testnet/app.json - Go into the plugin's directory:
cd twitter-bot - Build plugin:
yarn build - Run
yarn full:testnetinsidecore/packages/coredirectory to start testnet with notifier plugin
{
"package": "@deadlock-delegate/twitter-bot",
"options": {
"enabled": true,
"consumerKey": "",
"consumerSecret": "",
"accessToken": "",
"accessTokenSecret": "",
}
}MIT © deadlock