Coder Social home page Coder Social logo

loopygen's Introduction

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:

  • You can clean up old images with: docker image prune
  • Your config files are encrypted and stored in a Docker volume that is persistent on updates. Destroy the volume with: docker volume prune
  • If you desire to access the shell of the container for any reason, do so with: ./loopygen-cli.sh bash
  • If you pass your config passphrase on the command line, it should be base64 encoded first. All transfer and mint commands accept this additional argument:
    --configpass $(echo -n "passphrase" | basenc --base64)

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

encrypt --mint

Encrypt your transfer configuration

encrypt --transfer
Show Image Generator Commands

Basic run:

generate --count XXX

Delete previously generated images before generating a new set:

generate --empty --count XXX

Start generating from a specific ID number:

generate --count XXX --id YY

If you have a beefy computer, you can try to generate images simultaneously to speed up the process:

generate --count XXX --threaded
Show Metadata Generator Commands

Basic run, after generating images:

metadata

Delete previously generated metadata before generating a new set:

metadata --empty
Show Minting Commands

Batch mint a collection:

mint --name <my_nft_collection> --amount 1

Mint a specific set of IDs:

mint --name <my_nft_collection> --start <startID> --end <endID> --amount 1

Mint a single CID:

mint --cid Qmau1Sx2hLTkLmXsu2dD28yMZtL3Pzs2uKqP2MeHZPm93V --amount 100

Test run a mint (shows only what the script would do, but doesn't actually do it):

mint --name <my_nft_collection> --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:

cid ./relative/path/to/file

CIDv1:

cid --cid-version=1 ./relative/path/to/file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.