-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial project files and configurations
- Loading branch information
0 parents
commit 2352520
Showing
18 changed files
with
5,574 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
yarn.lock | ||
.env.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
Oops, something went wrong.