Skip to main content

a lib to mint nft's on any EVM chain

Project description


Logo

Minter

A tool to mint NFTs
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Minter is a python tool/lib to let you mint NFTs (mint = minting nfts from a nft collection, not creating nfts)

(back to top)

Built With

(back to top)

Getting Started

this is how you can get started using Minter

Prerequisites

  • python
  • web3
  • kvsqlite

Installation

Here are the instalation steps

Method 1 from source

  1. Clone the repo
git clone https://github.com/PythonNoob999/Minter.git
  1. Build lib
pip install . -U

Method 2 from pip (recommended)

  1. install via pip
pip install minter

(back to top)

Usage

here are some using examples

initilazing your Minter

from Minter import Minter
import asyncio

async def main():
    # the RPC for your wanted evm chain
    BASE_RPC = "https://mainnet.base.org"
    # semaphore for rate limitng, e.g semaphore=30 means max requests can be handeld per time is 30
    minter = Minter(BASE_RPC, semaphore=30)
    await minter.connect()

asyncio.run(main())

Creating Wallets

from Minter import Minter, generate_wallets
import asyncio

async def main():
    minter = Minter(BASE_RPC, semaphore=30)
    await minter.connect()
    # generate 10 new wallets
    wallets = generate_wallets(10)
    # save them
    await minter.storage.insert_data(wallets=wallets)

asyncio.run(main())

importing Wallets

from Minter import Minter, Wallet
import asyncio

minter = Minter(BASE_RPC, semaphore=30)
await minter.connect()
wallets = [
    Wallet(
        "0x..",
        "ce.."
    ),
    ...
]
await minter.storage.insert_data(wallets=wallets)

For more examples, please refer to the Documentation

(back to top)

Todo

  • Add price option to mint_bulk
  • Add custom ABIs
  • Add get_nft_balances Method
  • Add send_nfts Method
  • Add Documentaion
  • Add Custom Exceptions
  • Add More Storage Options

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

SpicyPneguin - telegram

(back to top)

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

minter-1.0.6.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minter-1.0.6-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file minter-1.0.6.tar.gz.

File metadata

  • Download URL: minter-1.0.6.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for minter-1.0.6.tar.gz
Algorithm Hash digest
SHA256 d0e1949c85f39b214aad288ac26144b16d4a9758d3f2b73f421483a85ff78570
MD5 793b88c4bfd4c6f69b09dac283cf8218
BLAKE2b-256 6d4b456afb20945e5c918bc92c68fe3f5e87fd7686fd1773c4ff24adfa749c19

See more details on using hashes here.

File details

Details for the file minter-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: minter-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for minter-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1816995a455474155bee19360e8535e0413c1598d9764f1fda4e664fee44d32f
MD5 c8901bafeea87d7917d01a7b1155bf0a
BLAKE2b-256 cacc876d5320d0c75bb5d9098bde2156cdfe34f9f3731a53f2910aef0aea15aa

See more details on using hashes here.

Supported by

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