Giter VIP home page Giter VIP logo

defidomains's People

Contributors

adamsc1-ddg avatar yacare555 avatar

Watchers

 avatar  avatar

Forkers

mul1sh yacare555

defidomains's Issues

Fix Registration Process

In order to register a domain, a user makes two transactions.

The first transaction is a "commit" which involves a unique hash sent to the contract, to help prevent front-running.

From the time that transaction is successful, a minimum of 1 minute must have passed before the second transaction (the actual registration event) takes place.

Right now we've got a hack in place to implement this:
https://github.com/AdamSC1-ddg/defidomains/blob/master/index.html#L876

We show the user the first transaction with a gas estimate that we think should be time efficient. Then we show the user a 1.5 minute timer. When the timer expires we show the user the second transaction to send with the same gas fee as before.

We hope that this results in a full minute passed. If it hasn't the second transaction fails and the user must start the process again.

To resolve this we should:

  1. Get an update of the actual transaction and wait for a callback showing it was successful.
  2. Show the user an actual "waiting on pending transaction" rather than the artificial timer.

Fix Issues with Graph Node and Configure API

In order to list on OpenSea.io - DefiDomains must provide an API that supports lookup of the tokenURI and returns the tokens full URL name.

We forked a version of the ENS Subgraph (https://github.com/AdamSC1-ddg/defidomains/tree/master/subgraph) but ran into issues with the subgraph indexing certain fields:

image

We believe this is likely a missmatch in terms of versions of the code, an an easy fix might be reviewing old versions of ENS's subgraph. Our current team doesn't have expertise in dealing with subgraphs so we're looking for someone to:

  1. Resolve errors in the subgraph so that a DefiDomains graph-node can be successfully launched and indexing.
  2. Set up a script that follows the OpenSea Metadata Standards: https://docs.opensea.io/docs/metadata-standards and allows someone to query a tokenURI, which queries the subgraph and returns the domains name (including .[tld]) as the metadata.

It should be noted that all symbols should be stored and parsed as Unicode characters in UTF-8.

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.