Giter Site home page Giter Site logo

re-nft / cryptopunks Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 6.0 6.13 MB

Cryptopunk gifting protocol. Available on https://cryptopunk.rent

Home Page: https://cryptopunk.rent

License: MIT License

JavaScript 71.44% TypeScript 22.39% SCSS 0.07% Solidity 6.10%
cryptopunk cryptopunks thegraphprotocol thegraph subgraph

cryptopunks's People

Contributors

dependabot[bot] avatar eenagy avatar monte9 avatar nazariyv avatar sunguru98 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

cryptopunks's Issues

๐ŸŽจ - /cryptopunks - impletement renting

This will require adding a bunch of input fields. Conditional logic. If you are an owner and there is no tenant right now (this requires you to see the punks that you have, so another query for that...)

๐ŸŽจ - /cryptopunks - view all cryptopunks I gifted

Taken from the punks context. These are the punks that you own and gifted the tenancy rights to someone. Once again, on the front-end this is a filter option, and from context perspective this is a simple subgraph query that will be implemented by naz

๐ŸŽจ - / - request a punk for rent

  1. Implement being able to see all of the punks.
  2. Request the punk for rent (any punk). This goes into the firebase db.
  3. A filter/tab to be able to see all of the requested punks.
  4. If you are an owner of the punk, being able to accept the request.
  5. Once accepted follow the new protocol version. Thus, this issue depends on the issue of implementing a new version of the protocol

๐ŸŽจ - /cryptopunks - add a filter to see all the cryptopunks **you** own

right now we are tracking:

  1. all punks ever gifted through our protocl
  2. punks gifted to me
  3. punks I gifted

But how would a user that has punks gift one of his own? He can't. There is no filter for all the punks that the user owns. This requires adding another query to our subgraph. Follow the patterns in the code. Look into the contexts folder. You will find a utils folder in there. Within it there is a queries.js file that shows two queries. Yours will look similar. Integrate the new query and fetched results into the front.

The end result is that we have another tab / filter that says "My punk". Here the punk owners will be able to gift their punks. You will find the graph endpoint in the code too.

๐ŸŽจ - /cryptopunks - punk modal disappears

at a certain breakpoint, think it is 760 px the modal will just fly to the bottom of the page, it will appear as if it is gone. keep shrinking that bastard, now it is back where it needs to be. naughty

๐Ÿง  - tenancyDates end can't be computed in the graph - Sprint #2

During the first sprint I have come across a prbolem whereby I could not compute the tenancy end date. This problem arises due to invalid parsing of Number.parseInt('0x000e', 16). For some, unknown reason, this returns null. Instead of the expected 14. I have tried this parsing in webassembly.studio and it works as expected there. The graph's runtime uses its own Number?

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.