GithubHelp home page GithubHelp logo

Comments (3)

zone117x avatar zone117x commented on May 17, 2024

I think there are two options:

  1. Define a Clarity contract metadata convention where something like an image URI and website could be defined. For example
(define-constant meta-logo <uri>)
(define-constant meta-website <domain name string>)
  1. Generate images based on the source code hash, like a gravatar

from explorer.

stackatron avatar stackatron commented on May 17, 2024

@jasperjansz would like a solution for no images. We can always add this later but I don't want us to be forced to prioritize simply because we did not plan for it.

from explorer.

jasperjansz avatar jasperjansz commented on May 17, 2024

Have them define a URL with max. 120px width and height. Common image extensions (jpg, png, etc.).

If they don't show generic contract icon: https://www.figma.com/file/31q1g27k69z1yXb6r6vrRD/Explorer?node-id=260%3A1732

from explorer.

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.