Skip to main content

Library that provides the functionality you need to build your own axie Infinity python tools

Project description

Axie Utils Library

Aim of this library is to contain all the actions one might want to do when building tools around the Axie Infinity videogame. It started with me building an automation tool and needing to build different solutions. Extracting this functionality allows for that easily.

NOTE: Only v1 of this library uses free tx, from v2 and onwards all transactions consume RON. That is due to now free tx being much more rare to have available.

Installation

Install and update using pip:

pip install -U axie-utils

Simple Example

This example would send 100 SLP from ronin:from_where_to_send_SLP to ronin:to_where_we_send_SLP.

from axie_utils import Payment

p = Payment(
    "Testing Account",
    "ronin:from_where_to_send_SLP",
    "0x:private_key_from_the_from_acc",
    "ronin:to_where_we_send_SLP",
    100)

p.execute()

This example, shows how we would claim SLP from an account.

from axie_utils import Claim

c = Claim(
    "Testing Account",
    "ronin:acc_to_claim",
    "0x:private_key_from_acc_to_claim"
)
c.execute()

Documentation

For furhter documentation, please visit this link.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axie-utils-2.1.3.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

axie_utils-2.1.3-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file axie-utils-2.1.3.tar.gz.

File metadata

  • Download URL: axie-utils-2.1.3.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-50-generic

File hashes

Hashes for axie-utils-2.1.3.tar.gz
Algorithm Hash digest
SHA256 f2697f88c3a21a028fdaf492f263fdd3f3fdbb36bd634c87ddabb43fa06414cb
MD5 ccba414eaf4ea7b075fb8087b7af9d95
BLAKE2b-256 273919cfe5c6190ad2c45e9d1f17d26b5ff50c9cb3dfeb19ed95e3c2f5303ef0

See more details on using hashes here.

File details

Details for the file axie_utils-2.1.3-py3-none-any.whl.

File metadata

  • Download URL: axie_utils-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-50-generic

File hashes

Hashes for axie_utils-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 093c22d34ae36f4a2d519b4952e1196330cdfc96163e905b9b377404b33d7841
MD5 ba68b2ec888508a6f96245789585bab9
BLAKE2b-256 81140232ee00ecf1c51bdd2ab8d55a90a76f6c0b556b63adaabba81c5fb0c6dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page