Skip to content

Ton Clubs aims to bring Creator Economy and DAOs to Telegram by providing no code tools, integrations and customizable membership tokens.

License

Notifications You must be signed in to change notification settings

TonClubs/tonclubs-bot

Repository files navigation

TonClubs Bot

Source code of the TonClubs Bot

Prerequisites

  • Create a new empty PostgreSQL database and get the connection string
  • Create a new Telegram bot using @BotFather and get the bot token
  • Create a new AWS S3 bucket, a new AWS IAM user with access to the bucket, and get the access credentials

Steps to run the bot locally

  • Fill in the .env file using the .env.sample file as a template
  • Install dependencies (yarn)
  • Push the Prisma Schema to your database (yarn prisma db push)
  • Start the bot (yarn start)

Steps to change the Collection and Item Contracts

  • Clone the tonclubs-contracts repository
  • Follow the instructions in the tonclubs-contracts README to prepare the contracts
  • Run yarn compile in the tonclubs-contracts repository
  • Copy the compiled contracts from the tonclubs-contracts repository to the src/Contracts/BOCs folder in this repository

About

Ton Clubs aims to bring Creator Economy and DAOs to Telegram by providing no code tools, integrations and customizable membership tokens.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published