GitXplorerGitXplorer
i

rarity-bot

public
6 stars
2 forks
0 issues

Commits

List of commits on branch main.
Unverified
74bbeb94a1a11fa7147a846f57bc70b2601c74fb

Set gas limit manualy in buildTransaction, closes #2

iiRhonin committed 3 years ago
Unverified
e4d7f8acfda6fae1f768a19bfcb7b44cf84318d3

Handle null adventure txn hash exception

iiRhonin committed 3 years ago
Unverified
13eac92f3efa4b1f473a20ddac1d1a2e5d325f30

Merge branch 'main' of github.com:iRhonin/rarity-bot into main

iiRhonin committed 3 years ago
Verified
33098911edd746f0af8488c2460b8e0bbe19dc7c

Update README.md

iiRhonin committed 3 years ago
Unverified
d8b038710d25e5c5ad10f2915baa31f8c8ad206c

Fix timestap bug

iiRhonin committed 3 years ago
Unverified
14b789d6ac85f6f055245f2c32c899c864dd772a

Make code more robust and added retry mechanisem

iiRhonin committed 3 years ago

README

The README file for this repository.

Rarity Bot

This bot will can do advanture for all of your Rarity Summonners as soon as possible and level up them automaticlly.

USE IT AT YOUR OWN RISK.

Under developmnet, please keep your clone/fork updated.

Requirements

Installation

  1. Clone this repo and cd into rarity-bot directory:

    git clone https://github.com/iRhonin/rarity-bot.git
    cd rarity-bot/
    
  2. Install dependencies using Poetry:

    poetry install
    poetry shell  # Enter into virtualenv

    Note: If you ran into fatal error: Python.h: No such file or directory error, you need to install python3-dev on Ubuntu (sudo apt install python3-dev). Check this link for the other distributions.

  3. Make a copy on .env_example and fill your PRIVATE_KEY and ADDRESS (PRIVATE_KEY is only needed to sign transactions, you can export it from the metamask):

    • cp .env_example .env
    • Set PRIVATE_KEY and ADDRESS (DO NOT SHARE YOUR PRIVATE KEY WITH ANYONE)
    • (Optional) Change other variables if needed

Usage

To send all of your summoners to advanture:

rarity adventure

Or only selected ones (If your summoners are 1234 and 4321):

rarity --summoner 1234 --summoner 4321 adventure

If you want to disable automatic level-up, use --no-lvlup like this:

rarity adventure --no-lvlup

To see all options:

rarity --help

If you had any issue, issue tab is for you, or you can find contacts on my profile.