@deadlock-delegate/twitter-bot
v1.0.6
Published
Twitter bot plugin for core
Downloads
4
Maintainers
Readme
Core Twitter BoT
Plugin used by @arkdelegates and @solardelegates Twitter account
❤️ Support maintenance and development of plugins
If you find this or other plugins useful please consider voting for deadlock
delegate on Solar or Ark networks.
Installation
Adding plugin to config
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": "",
}
}
For production (eg. mainnet/testnet/devnet):
- Install plugin:
<command> plugin:install @deadlock-delegate/notifier
, eg:ark plugin:install @deadlock-delegate/notifier
orsolar plugin:install @deadlock-delegate/notifier
2. Add plugin toapp.json
- Start your node as you usually start it
For development:
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:testnet
insidecore/packages/core
directory to start testnet with notifier plugin
Configuration explanation
{
"package": "@deadlock-delegate/twitter-bot",
"options": {
"enabled": true,
"consumerKey": "",
"consumerSecret": "",
"accessToken": "",
"accessTokenSecret": "",
}
}
Credits
License
MIT © deadlock