A telegram bot to get the current price of token in Onus Blockchain.
Firstly, clone this project:
git clone https://github.com/husone/Telegram_BOT_API.git
Install packages and run script:
npm i
npm run main
Get token list: /getAll
Remove token: /remove {token symbol}
Add token: /add {token symbol} {token contract address}
Get token price on Onus app: /pa {token symbol}
Get token price on Onuschain: /pc {token symbol}