a lib to mint nft's on any EVM chain
Project description
Table of Contents
About The Project
Minter is a python tool/lib to let you mint NFTs (mint = minting nfts from a nft collection, not creating nfts)
Built With
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
- Clone the repo
git clone https://github.com/PythonNoob999/Minter.git
- Build lib
pip install . -U
Method 2 from pip (recommended)
- install via pip
pip install minter
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
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).
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt for more information.
Contact
SpicyPneguin - telegram
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minter-1.0.3.tar.gz.
File metadata
- Download URL: minter-1.0.3.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b01f08aab825ac3113d3605ca05ff11e931c5247b6e48770381a57e3fc5d48dd
|
|
| MD5 |
4f33276ddddf79963f17de12e6b8c80a
|
|
| BLAKE2b-256 |
24bc8fe01530a126babd0dbd205bfb3be1213bfdd3b50217f03416ee5b3880ac
|
File details
Details for the file minter-1.0.3-py3-none-any.whl.
File metadata
- Download URL: minter-1.0.3-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bfe5ef6d849c94c76b013239c81a7129bace811401934b945c33b005c57d22b
|
|
| MD5 |
c65e3252738be053a722812674c3617a
|
|
| BLAKE2b-256 |
3f094aa6da98d5a47a62d86339049c56d369f1a8b53b5ecf24fba1ce740b3cf6
|