This toolkit is a start point for building exchange bots for the ARTR coin. It's written in Laravel, using irazasyed/telegram-bot-sdk and also includes classes and traits, necessary to start communication with blockchain nodes REST (Cosmos SDK REST)
To launch your own bot, you need to do few steps:
- Register a new bot using Telegram's @botfather
- Create a new blockchain account using the CLI or the registration form on our site
- Configure necessary options in the
.env
file (look at the.env.example
andconfig/artr.php
files) - Run all migrations
- Setup a webhook using an appropriate
telegram-bot-sdk
artisan command
That's it! You're online!
You can find more info in bot artisan command descriptions and PHP docs of ArtrNode
class
Special thanks to the telegram-bot-sdk team for nice SDK and Bit-Wasp for implementation of necessary BIP's in php.
Warning: Due to used libraries restrictions, this toolkit does not support 32-bit installation of PHP.