xBOO Update: Decentralized Buybacks for BOO

xBOO has increased from 1:1 at launch to 1:1.667
  1. Clone the Repo: Using git, clone the repo with the command:
    git clone https://github.com/SpookySwap/spookyswap-brewboo-scripts.git
  2. Navigate to the repo and install the python3 requirements: Using Python3, run the command: pip3 install -r requirements.txt
  3. With your favorite text editor, create a .env file to store a wallet's hex private key: Example of expected contents for the .env file: PRIVATE_KEY=4bd1283169c03c542276521992b85c5e17cab72e6ee702e1dbfc687f16327d33
  4. IMPORTANT: This is not a real private key. Never reveal your private key to anyone. Compromising your private key compromises all control and funds in the respective wallet. DO NOT CHECK THIS FILE IN ANYWHERE. The .gitignore of this repo has .env included. It is not recommended to change this.
  5. Edit the brewBoo.py script’s token pairs to choose which pairs to convert: BrewBoo v2’s value can be tracked with this zapper.fi link to identify which pairs have the highest xBOO rewards to be bought back.
  6. Call the script and follow the prompts: The script will verify that the wallet in your .env file has FTM to perform the buyback transaction. If your wallet does not have enough FTM for the transaction, brewBOO.py will print a failure message. Here is a sample of calling the script to see how the prompt will appear:
python3 brewBoo.py
You have some FTM to perform incantations.
Continue? (y/n)
y
Type: 'BrewBoo' to activate the Brewing ritual
BrewBoo
Successful Brew!
Continue the Brew to create BOOs? (y/n)
y
As you wish, brewing BOOs to complete ritual...

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store