Coder Social home page Coder Social logo

crash-punks-v2's People

Contributors

setzeus avatar

Stargazers

 avatar

Watchers

 avatar

crash-punks-v2's Issues

Digital Avatar Review

1. Major - Incomplete & Static Clothes Functions
While we only have one example head-collection NFT, the contract is currently missing a way to change either "torso" or "legs."

Additionally, change-avatar-head doesn't accept a contract as a parameter but instead just has the one example head contract as a fixed contract-call.

The change...functions need to be flexible enough where they accept a contract as a parameter since there will be multiple collections for one body part.

For that same reason...it might make more sense to track & update 3 separate whitelisted lists of collections (one for head, one for torso, or one for legs).

Or else what's stopping someone from assigning a head to a leg or vice versa?

2. Intermediate - Incomplete Admin System
Whenever we deploy a contract that requires admin functionality (such as whitelisting a collection for x/y/z), we need to make sure there's a way to both add & remove admins.

Otherwise, we risk not being able to ever hand projects off.

3. Minor - Extraneous Functions
There are a few extra variables I've removed such as "admin-one", "punk-limit" & "punk-index" that are unused along with their comments. Got confused for a second when I read "...keeps track of all punks pseudo-minted."

4. Minor - Incomplete Function Descriptions
From (redeem-digital-avatar...) & below you don't have @desc & @param comments for functions.

Hypercard Review

1. Minor - Extraneous Functions
There are a few extra variables I've removed such as "admin-one", "punk-limit" & "punk-index" that are unused along with their comments. Got confused for a second when I read "...keeps track of all punks pseudo-minted."

2. Minor - Didn't Remove References To Previous Projects
Highly encourage copying/pasting reliable contracts when possible, however, we have no excuse to remove these at some point. We cannot hand these over to a client or consider them "finished" until these small but meaningful details are cleaned up.

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.