Skip to content

matandd/fetch_weapons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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.

Prerequisites

  • Python 3.x
  • Ethereum network connection with Web3 provider URL and token

Setup

  1. Install requirement libraries via pip: pip install -r requirements.txt
  2. Configure the WEB3_PROVIDER variable to the URL of your Ethereum network provider.
  3. Replace loot_contract_address with the LOOT contract address on your network.
  4. Run the Python script to fetch weapons for the specified Token ID's.

Usage

To use the Ethereum Loot Weapon Fetcher, simply run the Python script: python get_loot.py

Disclaimer

This code is provided as-is and should be used for educational purposes only. Use it at your own risk.

About

Simple usage of web3py to read all weapons from LOOT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages