Skip to content

Commit

Permalink
Add initial project files and configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTan1319 committed Aug 22, 2024
0 parents commit 2352520
Showing 18 changed files with 5,574 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MONGODB_URI=mongodb://localhost:27017/tronsniperbot # MongoDB URI (Tutorial: https://www.mongodb.com/docs/manual/administration/install-community/)
MONGODB_DB_NAME=tronsniperbot # Database name where the users will be stored
MONGODB_COLLECTION_NAME=users # Collection name where the users will be stored

TELEGRAM_BOT_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Get your bot token from @BotFather

API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Get your API key from https://www.trongrid.io/
TRON_FULL_HOST=https://api.trongrid.io/ # Full node host for Tron
PRIVATE_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Private key that will be used to setup the TronWeb instance (no need to have funds)
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
yarn.lock
.env.local
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "tronsniperbot",
"version": "1.0.0",
"scripts": {
"start": "tsx src/index.ts"
},
"author": "impredmet",
"license": "ISC",
"description": "The ultimate bot for sniping and trading on TRON.",
"dependencies": {
"@noble/secp256k1": "^2.1.0",
"colors": "^1.4.0",
"dotenv": "^16.4.5",
"ethers": "^6.13.2",
"mongodb": "^6.8.0",
"node-telegram-bot-api": "^0.66.0",
"tronweb": "^5.3.2"
},
"devDependencies": {
"@types/node-telegram-bot-api": "^0.64.7",
"tsx": "^4.17.0"
}
}
Loading

0 comments on commit 2352520

Please sign in to comment.