Coder Social home page Coder Social logo

cobmin / maize Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 3.0 639 KB

An NFT Toolkit for creators and collectors on Loopring

Home Page: https://maizehelps.art/

License: MIT License

C# 100.00%
airdrop loopring airdrop-automation airdrop-crypto minting-nfts

maize's People

Contributors

cobmin avatar fudgebucket27 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

maize's Issues

Get NftData and Metadata using Loopring API

I see you are already using this endpoint but you can also add the metadata=true flag to return the metadata along with nftData for items in a collection https://api3.loopring.io/api/v3/nft/public/collection/items?id=261&limit=12&metadata=true&offset=0 , could make it as a separate option and be a lot more reliable than ipfs retrieval of the metadata too.

Sample response from this endpoint:

{
  "totalNum": 147,
  "nftTokenInfos": [
    {
      "nftData": "0x057733176fd8f5e2cb0a6a938e6bee9beb12fc132bdae7068613f38442779fbe",
      "minter": "0x36Cd6b3b9329c04df55d55D41C257a5fdD387ACd",
      "nftType": "ERC1155",
      "tokenAddress": "0x2549e16c0d6fd0e6a8e2441e6cfad110d5d78cb7",
      "nftId": "0x5ff894e33dc267291060223c177dfc143afeb2d37aecad63a7671ebba82cbfdd",
      "creatorFeeBips": 5,
      "royaltyPercentage": 5,
      "originalRoyaltyPercentage": 5,
      "status": true,
      "nftFactory": "0x97BE94250AEF1Df307749aFAeD27f9bc8aB911db",
      "nftOwner": "0x36Cd6b3b9329c04df55d55D41C257a5fdD387ACd",
      "nftBaseUri": "ipfs://0x4d90a703a367bdd63812a87cfdc07a67257df6f1a8f59497d8a4b92a6e33d712",
      "royaltyAddress": "0x36Cd6b3b9329c04df55d55D41C257a5fdD387ACd",
      "originalMinter": "0x36Cd6b3b9329c04df55d55D41C257a5fdD387ACd",
      "createdAt": 1676850863573,
      "metadata": {
        "uri": "ipfs://QmUoHHdtmHiPdA14oj3VaLx6Z56X4ygB9oMAzMD5N8dT9v",
        "base": {
          "name": "FrankenLoops HD #135",
          "decimals": -1,
          "description": "FrankenLoops hand drawn with inspiration from images generated through a machine learning algorithm. View the images that inspired the collection at https://fudgey.io/frankenloopshd",
          "image": "ipfs://QmPdLiEBZY1QYfSBJvpncXUYzVYCcEQYg9jWTzYjcde5np",
          "properties": "",
          "localization": "",
          "createdAt": 1676851528150,
          "updatedAt": 1676854107194
        },
        "imageSize": {
          "240-240": "https://d2y691019xyzhi.cloudfront.net/1caa9ec04dcca5f04fd5847336170572e71bf04208519c1a8af056c8517bdd9c1676854081493-240-240.png",
          "332-332": "https://d2y691019xyzhi.cloudfront.net/1caa9ec04dcca5f04fd5847336170572e71bf04208519c1a8af056c8517bdd9c1676854081493-332-332.png",
          "original": "https://d2y691019xyzhi.cloudfront.net/1caa9ec04dcca5f04fd5847336170572e71bf04208519c1a8af056c8517bdd9c1676854081493-original"
        },
        "extra": {
          "imageData": "",
          "externalUrl": "",
          "attributes": "",
          "backgroundColor": "",
          "animationUrl": "",
          "youtubeUrl": "",
          "minter": ""
        },
        "status": 1,
        "nftType": 1,
        "network": 0,
        "tokenAddress": "0x2549e16c0d6fd0e6a8e2441e6cfad110d5d78cb7",
        "nftId": "43408926272346587191031550080443200472475501951746439481001994222187322327005"
      },
      "total": 1
    }
]

Encrypt all sensitive keys

Probably should have a way to encrypt the private keys and api keys on the PC running Maize and then decrypt them using the passcode/passphrase that encrypted them when you enter the app. Just so they aren't sitting in plain text on the computer. LooPyGen has an option like this I believe.

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.