Skip to content

oasisprotocol/demo-rofl-tgbot

Repository files navigation

Demo ROFL Telegram Bot

A simple Telegram bot running inside Oasis ROFL TEE deployed on the Oasis Sapphire Testnet chain. Read the Oasis ROFL Quickstart to learn more.

Telegram bot

Telegram bot ROFL on Oasis Explorer

Run as a standalone bot app

pip install -r requirements.txt
TELEGRAM_API_TOKEN="0123456789:your_telegram_token" python bot.py

Run inside docker

TELEGRAM_API_TOKEN="0123456789:your_telegram_token" docker compose up

Run as a ROFL app

rm rofl.yaml

oasis rofl init
oasis rofl create
oasis rofl build
echo -n "0123456789:your_telegram_token" | oasis rofl secret set TELEGRAM_API_TOKEN -
oasis rofl update
oasis rofl deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •