defidomains's People
defidomains's Issues
Allow Users To Select Years When Registering
Right now, we force users to register for only one year by hard coding the one-year (in seconds) value in a few places like:
https://github.com/AdamSC1-ddg/defidomains/blob/master/index.html#L919
We should implement a text field that asks the user how many years to register the domain for.
It should:
- Accept a minimum of one-year.
- Support decimals if a user wants to add a fraction of a year.
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:
- Get an update of the actual transaction and wait for a callback showing it was successful.
- 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:
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:
- Resolve errors in the subgraph so that a DefiDomains graph-node can be successfully launched and indexing.
- 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.