{"id":16226783,"url":"https://github.com/xandao-dev/thetan-arena-sniper","last_synced_at":"2026-01-25T16:02:39.426Z","repository":{"id":42487885,"uuid":"441967676","full_name":"xandao-dev/thetan-arena-sniper","owner":"xandao-dev","description":"Thetan Arena bot to buy NFT's quickly","archived":false,"fork":false,"pushed_at":"2022-09-06T01:43:06.000Z","size":2051,"stargazers_count":7,"open_issues_count":2,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-24T23:40:32.001Z","etag":null,"topics":["arbitrage","arbitrage-bot","aws","blockchain","crypto","cryptocurrency","ec2","nft","nftbot","thetan-arena","thetan-arena-bot","web3js"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xandao-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-26T19:25:02.000Z","updated_at":"2023-04-22T10:48:04.000Z","dependencies_parsed_at":"2023-01-17T20:51:33.753Z","dependency_job_id":null,"html_url":"https://github.com/xandao-dev/thetan-arena-sniper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xandao-dev/thetan-arena-sniper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandao-dev%2Fthetan-arena-sniper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandao-dev%2Fthetan-arena-sniper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandao-dev%2Fthetan-arena-sniper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandao-dev%2Fthetan-arena-sniper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xandao-dev","download_url":"https://codeload.github.com/xandao-dev/thetan-arena-sniper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandao-dev%2Fthetan-arena-sniper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arbitrage","arbitrage-bot","aws","blockchain","crypto","cryptocurrency","ec2","nft","nftbot","thetan-arena","thetan-arena-bot","web3js"],"created_at":"2024-10-10T12:50:27.390Z","updated_at":"2026-01-25T16:02:39.407Z","avatar_url":"https://github.com/xandao-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003eThetan Arena Sniper\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    Thetan Arena Sniper is a tool to buy cheap thetans NFTs quickly. It interacts with BSC Blockchain to buy thetans as fast as possible.\n    \u003cbr /\u003e\n    :warning: I'ts not working, the contracts has been updated :warning:\n    \u003cbr /\u003e\n    :warning: I am not responsible for financial losses. :warning:\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/xandao-dev/thetan-arena-sniper\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/xandao-dev/thetan-arena-sniper/issue\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/xandao-dev/thetan-arena-sniper/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#introduction\"\u003eIntroduction\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#tips\"\u003eTips\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#installation-local\"\u003eInstallation Local\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation-ec2-optional\"\u003eInstallation EC2 (Optional)\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgements\"\u003eAcknowledgements\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/xandao-dev/thetan-arena-sniper\"\u003e\n    \u003cimg src=\"static/run.jpg\" alt=\"bot running\"\u003e\n    \u003cimg src=\"static/success.png\" alt=\"success buy\"\u003e\n    \u003cimg src=\"static/result.jpg\" alt=\"buy result\"\u003e\n    \u003cimg src=\"static/fail.jpeg\" alt=\"buy error\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n### Introduction\n\nThere are a few things you need to know before using the bot. There are some variables that can be changed according to \nyour need, they are in [configs file](./src/configs.ts).\n\nFirst, this bot selects the cheap characters through the Expected Earn Rate which is the percentage of profit in \nrelation to the purchase price and the possible sale price.\n\nThe sales price estimate is based on how much profit a character can generate. When the win rate is 40%, we estimate \nthe sale price to the same amount which would make the character generate a profit. You can adjust this value in the [configs file](./src/configs.ts) in BATTLE_WIN_RATE. You can check how much the character generates by 40% in the \n[Thetan Arena Tool](https://thetanarenatool.io/).\n\nThere are the more configs that I recommend tweaking, check the [configs file](./src/configs.ts) for more details.\n\n### Tips\n\nI recommend placing the bot on a server in the US to be closer to the game server and thus be able to see the \ncharacters faster. I used an EC2 from Amazon AWS at the us-east-1 location.\n\n### Features\n\n* Watch the marketplace for good opportunities \n* Automatically buy and rent new and cheap thetans from marketplace\n* Automatically buy BNB for gas fees when the balance is low\n* Dinamically estimate gas fee for each transaction based on the possible profit\n* Fast (become even faster if you put it on a US server), it does not miss a block.\n* Saves a record of all transactions in a log file\n* [TODO] ~~Automatically sell thetans~~\n* [TODO] ~~Mempool monitoring to front run thetans~~\n\n### Built With\n\n* [Node.js](https://nodejs.org/) - A JavaScript runtime build on Chrome's V8 JS engine\n* [Web3.js](https://web3js.readthedocs.io/) - A library for interacting with blockchain networks and smart contracts\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\nTo get a local copy up and running follow these simple steps.\n\n### Installation Local\n\n1. Clone the repo\n   ```sh\n   git clone https://github.com/xandao-dev/thetan-arena-sniper.git\n   ```\n\n2. Install dependencies\n   ```sh\n\tcd thetan-arena-sniper\n\tnpm install # or yarn install\n\t```\n\n3. Set environment variables. Create a \".env\" file based on \".env.example\".\n   * BSC_PROVIDER - The URL of the BSC node, use this one for mainnet: https://bsc-dataseed1.binance.org:443\n   * WALLET_PRIVATE_KEY - Your wallet private key, you can find it on Metamask -\u003e Account Details -\u003e Export Private Key\n                          You should append the 0x to the private key.\n                          I recommend creating a new wallet just for this project, fill with some BNB for gas and with WBNB to buy thetans.\n\n4. Install pm2 to run the application as a service\n  ```sh\n  npm install pm2 -g\n  ```\n\n\n### Installation EC2 (Optional)\n\nInstall Thetan Arena Sniper in EC2 Server:\n1. Connect to EC2 server\n  ```sh\n  ssh -i \u003cpem-file-credential-path\u003e \u003cinstance-user-name\u003e@\u003cinstance-public-dns-name\u003e\n  ```\n\n2. Copy dist folder to the server\n  ```sh\n  scp -i \u003cpem-file-credential-path\u003e -r ./dist \u003cinstance-user-name\u003e@\u003cinstance-public-dns-name\u003e:/home/\u003cinstance-user-name\u003e/thetan-arena-sniper/\n  ```\n\n3. Copy .env file\n  ```sh\n  scp -i \u003cpem-file-credential-path\u003e ./.env \u003cinstance-user-name\u003e@\u003cinstance-public-dns-name\u003e:/home/\u003cinstance-user-name\u003e/thetan-arena-sniper/.env\n  ```\n\n4. Copy package.json\n  ```sh\n  scp -i \u003cpem-file-credential-path\u003e ./package.json \u003cinstance-user-name\u003e@\u003cinstance-public-dns-name\u003e:/home/\u003cinstance-user-name\u003e/thetan-arena-sniper/package.json\n  ```\n\n5. Update ec2: `sudo yum update -y`\n   \n6. Install git: `sudo yum install git -y`\n   \n7. Install node: `curl -L https://git.io/n-install | bash -s -- -y `\n\n8. Run inside thetan-arena-sniper folder: `npm install`\n\n9.  Install pm2: `npm install pm2 -g`\n\n10. Run application: `pm2 start main.js -- 0.3 --stop-exit-codes 0`\n\n11. Monitor with `pm2 monit`\n\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Usage\n\n* Generate a version of the application\n  ```sh\n  npm run build # or yarn build\n  ```\n\n* Run:\n  ```sh\n  pm2 start ./dist/main.js\n  ```\n\n* Monitor:\n  ```sh\n  pm2 monit\n  ```\n\n* Stop:\n  ```sh\n  pm2 stop all\n  ```\n\n\u003c!-- ROADMAP --\u003e\n## Roadmap\n\nSee the [open issues](https://github.com/xandao-dev/thetan-arena-sniper/issues) for a list of proposed features (and known issues).\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See [LICENSE](./LICENSE.md) for more information.\n\nFree software =)\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nAlexandre Calil - [Linkedin](https://www.linkedin.com/in/xandao-dev/) - [alexandre@xandao.dev](mailto:alexandre@xandao.dev)\n\nProject Link: [https://github.com/xandao-dev/thetan-arena-sniper](https://github.com/xandao-dev/thetan-arena-sniper)\n\n## Acknowledgements\n\n* [typescript](https://www.typescriptlang.org/) - strongly typed JavaScript\n* [ts-node-dev](https://www.npmjs.com/package/ts-node-dev) - npm run dev with typescript support\n* [dotenv](https://github.com/motdotla/dotenv) - environment variables\n* [beeper](https://www.npmjs.com/package/beeper) - beep sound on terminal\n* [set-interval-async](https://www.npmjs.com/package/set-interval-async) - Async set interval\n* [simple-node-logger](https://www.npmjs.com/package/simple-node-logger) - A simple logger for Node.js\n* [undici](https://www.npmjs.com/package/undici) - The fastest HTTP client for Node.js\n* [pm2](https://www.npmjs.com/package/pm2) - A Node.js process manager\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxandao-dev%2Fthetan-arena-sniper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxandao-dev%2Fthetan-arena-sniper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxandao-dev%2Fthetan-arena-sniper/lists"}