Skip to content

toydestroyer/CoinMarketWhat

Repository files navigation

CoinMarketWhat!?

CoinMarketWhat!?

Inline Telegram bot to answer "How much is %shitcoin% right now?" kind of questions.

How it works

howto.mp4

Deploy

  1. Make sure you have AWS credentials configured and AWS SAM CLI installed. User should have permissions to IAM, S3, SNS, SQS, DynamoDB, APIGateway, SSM, Lambda, CloudWatchEvents and CloudFormation.

  2. For the first time deployment, run this command to do a guided deploy and generate samconfig.toml:

    sam deploy --guided

    Or this one if you already have samconfig.toml

    sam deploy
  3. Take WebhooksApi value from the output and use it as the url in setWebhook

  4. Go to AWS System Manager - Parameter Store and set proper values for all /CoinMarketWhat/* parameters.

  5. Lastly, you should manually trigger the CacheFunction to cache available assets and tickers. This needs to be done only once before start using the bot for the first time.

Thanks

Logo by Denis Foster.