Montspy / LooPyGen

Loopring Python Minter on Layer 2
17 stars 6 forks source link
loopring nftools

sk33z3r doesn't maintain this, reach out to Montspy instead

LooPyGen

Release Checks Issues

This is the unofficial Loopring Python Image Generator and Minter on Layer 2.

⚠️ NEVER SHARE YOUR PRIVATE KEYS OR PASSPHRASES WITH ANYONE ⚠️

Please report issues in the issues section

LooPyGen GUI

The LooPyGen GUI makes it easier to create generative collections for those that want to focus on the art rather than the tech.

Please see our wiki for more details on how to use the app.

LooPyGen CLI

The headless CLI component is meant for use in automating dApps when it comes to minting or transferring. The headless component can also be used to take advantage of server resources to generate high quality GIF or MP4 collections that require more than the average workstation.

Below is the command reference for the headless component. For more details, see our wiki

Notes:

Download the script from GitHub with to your local working directory

# using wGET
$ wget -O ./loopygen-cli.sh https://github.com/sk33z3r/LooPyGen/blob/main/cli.sh && chmod +x loopygen-cli.sh
# using cURL
$ curl https://github.com/sk33z3r/LooPyGen/blob/main/cli.sh -o loopygen-cli.sh && chmod +x loopygen-cli.sh

Pull the latest image

$ ./loopygen-cli.sh update

Run a command

$ ./loopygen-cli.sh {command}

Commands

Replace {command} with one of the below commands.

Show Config Commands Encrypt your mint configuration ```shell encrypt --mint ``` Encrypt your transfer configuration ```shell encrypt --transfer ```
Show Image Generator Commands Basic run: ```shell generate --count XXX ``` Delete previously generated images before generating a new set: ```shell generate --empty --count XXX ``` Start generating from a specific ID number: ```shell generate --count XXX --id YY ``` If you have a beefy computer, you can try to generate images simultaneously to speed up the process: ```shell generate --count XXX --threaded ```
Show Metadata Generator Commands Basic run, after generating images: ```shell metadata ``` Delete previously generated metadata before generating a new set: ```shell metadata --empty ```
Show Minting Commands Batch mint a collection: ```shell mint --name --amount 1 ``` Mint a specific set of IDs: ```shell mint --name --start --end --amount 1 ``` Mint a single CID: ```shell mint --cid Qmau1Sx2hLTkLmXsu2dD28yMZtL3Pzs2uKqP2MeHZPm93V --amount 100 ``` Test run a mint (shows only what the script _would_ do, but doesn't actually do it): ```shell mint --name --testmint --amount 100 ```
Show CID Calculator Commands To scan CID files, input a path relative to your working directory. The file must be at your current level or lower, and not outside of the directory. For instance, `../other-dir/somefile` would not work. CIDv0: ```shell cid ./relative/path/to/file ``` CIDv1: ```shell cid --cid-version=1 ./relative/path/to/file ```