Coder Social home page Coder Social logo

Comments (9)

sk33z3r avatar sk33z3r commented on June 20, 2024 1

That makes sense. I suppose we have the user create and place traits.json into each of their collection folders, then mint.json can stay in the top level since it is universal.

I think we should continue to make the PK the sole item in .env just so it's isolated, and no one accidentally shares it with mint.json config. Perhaps the API key should remain in .env as well, no one really has a need to share either of those two items.

On the front end, I will still ask for all the info and separate out for them.

from loopygen.

sk33z3r avatar sk33z3r commented on June 20, 2024

We should make this a localized UI, that is never hosted anywhere. This is only to give the user a nice entry form to make their traits and generate the proper environment files we need to run the generators.

The other reason we do it locally is so that we can take in the private keys and save them to the .env without allowing that key to get passed online anywhere.

This should curb a LOT of confusion in the setup, but is going to require some logic to put together.

from loopygen.

sk33z3r avatar sk33z3r commented on June 20, 2024

@Montspy Do you think this is too much? I'm not sure if we should put the minting stuff in here or not. Just an initial thought, open to ideas.

https://github.com/sk33z3r/LooPyGen/blob/dev/json-traits/traits.example.json

from loopygen.

Montspy avatar Montspy commented on June 20, 2024

Since the goal is to remove the need for the user to even think about .env, we should add the following to some json configuration file:
Account ID, NFT type, Fee token ID
We could split generation and minting config files into 2:
traits.json and mint.json to avoid confusing users that on-board and just want to generate for now.

from loopygen.

Montspy avatar Montspy commented on June 20, 2024

For the API key, I created issue Montspy/LooPyMinty#16
We could get it from Loopring's API https://docs.loopring.io/en/dex_apis/getApiKey.html

from loopygen.

sk33z3r avatar sk33z3r commented on June 20, 2024

Oh, I like that. Less the user has to copy into files from the export, as well.

from loopygen.

sk33z3r avatar sk33z3r commented on June 20, 2024

PR #34 opened

from loopygen.

sk33z3r avatar sk33z3r commented on June 20, 2024

@Montspy Here is the output JSON that the generator will need to pull in for traits and setting up a collection

https://github.com/sk33z3r/LooPyGen/blob/dev/json-traits/traits.example.json

from loopygen.

sk33z3r avatar sk33z3r commented on June 20, 2024

Feature is implemented as of #34

from loopygen.

Related Issues (20)

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.