Wiki pages for the axie scholar utilities tool.
View the Project on GitHub FerranMarin/axie-scholar-utilities
To run my tool you will need Python3 (the language it is written in) to be installed on your machine. Please do look up how to install it if you get stuck, but here there go a brief explanation on how to do so.
As a pre-requisite you need to have Xcode. Just get it from the Apple appstore. Find it here
Now we can move on to installing python3. The easiest way is with Homebrew. To install it just run on the terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Once you have Homebrew installed, to get python3, just run:
brew install python3
Add python to your PATH. This can be a bit tricky but you need to open the file (or create it). ~/.bash_profile
. Go to the bottom of it and add the line:
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
# or this line if you have OS X 10.12 (Sierra or older)
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
Once you have done that, close your terminal and open it again. (So it refreshes and you trully have python in your path). If you want to check you have done it properly you can run this command and check the Path you added in step 3 is there.
echo $PATH | tr ':' '\n'
# Or alternatively
python3 --version
Install Poetry. We could use the standard PIP package manager for Python, but I like Poetry more as it fixes the versions down in a better way. To do so you run this command:
curl -sSL https://install.python-poetry.org | python3 -
Now it is time to download my code, there are multiple ways:
Wherever you have my code in your computer you will need to navigate using your Terminal to axie-scholar-utilities/source. If you are not comfortable with a terminal, you can just navigate using Finder, and drag and drop the folder to the Terminal window. It will copy the path. So first type cd
and then drag and drop the folder. Command you run should look something like:
cd /Users/<your_user>/axie-scholar-utilities/README.md
Now, given you have Python and Poetry installed execute the following command to install all the extra dependencies you need:
poetry install
To learn how to run the commands, please follow this link
TREZOR USERS, follow this other LINK