The LOOT Weapon Fetcher is a Python code that connects to the Ethereum blockchain using Web3py and retrieves the weapon associated with a given Token ID from the LOOT smart contract.
- Python 3.x
- Ethereum network connection with Web3 provider URL and token
- Install requirement libraries via pip:
pip install -r requirements.txt - Configure the WEB3_PROVIDER variable to the URL of your Ethereum network provider.
- Replace loot_contract_address with the LOOT contract address on your network.
- Run the Python script to fetch weapons for the specified Token ID's.
To use the Ethereum Loot Weapon Fetcher, simply run the Python script:
python get_loot.py
This code is provided as-is and should be used for educational purposes only. Use it at your own risk.