Giter Club home page Giter Club logo

app.starknet.id's People

Contributors

barabanovro avatar cremafr avatar fricoben avatar irisdv avatar ivanludvig avatar marchand-nicolas avatar philipdaquin avatar phklive avatar th0rgal avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

app.starknet.id's Issues

header margin-top doesn't scale correctly on big screens

Describe the bug
The margin top is far superior to margin left/right for header

Expected behavior
margin-top should be equal to margin left/right

Screenshots
image

Desktop (please complete the following information):
Browser, macos

Additional context
The margin/padding top is probably using relative units while the left/right uses pixels.

Front End refactor

Is your feature request related to a problem? Please describe.

Right now the token ID page on app.starknet.id/identities/[tokenId] is not really user friendly and does not show our will to make a starknet identity as a starknet passport. More than that our fonts do not represent this fun aspect that we want to give to the website and the brand.

Describe the solution you'd like

1° Change the title font
2° Change the Leaves everywhere we used the old ones
3° Integrate the new Model for the tokenId page

It's an issue to give to someone that is experimented with HTML/CSS and web integration. It's very difficult but I would say it can take some time because of the small details like responsiveness...

Additional context

Here is the Figma where you can find the maquette and the UI kit.

Here are the new leaves that should replace the old ones everywhere.

Here is the new title font that should be in the title class now.

Add skeleton to the identities page and the identity page.

What we want

The idea here is to have something more smooth when you connect.

Cause you have nothing and then suddenly all your identities appear.

here is a small video of the problem.

Voilà le problème sur la page identities (identities.ts).

2023-02-14.10-47-28.mp4

Voilà le problème sur la page d'identité (tokenId.ts).

2023-02-14.10-51-35.mp4

Context

We use material UI ==> here is the tool to do it https://mui.com/material-ui/react-skeleton/

It's an easy PR for someone that wants to begin with this repo.

If you make a PR, make a video of how it looks on the PR description !

useEncode === useEncodedSeveral

There is a naming problem as useEncoded can not take subdomain parameters and useDecoded can. The solution could be to rename to useEncodedSeveral to useEncoded

Starkfighter project

Create a Bitcoin Button like we talked with Argent in Tel Aviv.

Check with big partners to do it.

Add the possibility to add a profile pic

The goal here is to change the SVG form a page like this

image

To a custom image that still has this hexagon form.

First, we want that if the user owns a particular starknet.id then we'll be able to hover over its image and click on it.

Here is an example of what we want :

Capture d’écran 2023-01-23 à 18 37 51

want. check profile pic here ==> https://mintsquare.io/fricoben.stark

Then you'll directly call an upload input. With something like this <input hidden accept="image/*" type="file" />

Petite animation de chargement en utilisant le composant loadingScreen.tsx, puis derrière on demande au user de lancer une transaction.

En gros le fonctionnement est à peu près le meme que pour la vérification discord, twitter et github (tu peux check discord.ts et tester de vérifier un social media).

Le petit challenge de cette feature c'est de garder le coté hexagonale de notre photo de profil meme si la pp du user ne l'est pas comme je te l'avais dis.

Dis moi si tu as des questions !

Fix starknet.js

Fix our starknet js call in order for it to work in prod.

Make a join the tribe section with twitter

So basically the idea is to make a join the tribe section a bit as what we have here.

Here is the design of what we want.

What do we want?

A new page on app.starknet.id called join the tribe where you'll have 3 sections. You can be in the tribe only if you choose your Twitter name to contain a stark domain that you hold.

First section will look like this :

Capture d’écran 2022-12-24 à 11 52 47

You'll be able to see who's in the tribe (who has a .stark in his name).

Second section :

This second section will show what premium NFTs you'll be able to get depending on how early you were in the tribe.

Third section :

You'll be able to see who's in the tribe with you (who do you follow that is also in the tribe).

Capture d’écran 2022-12-24 à 11 58 05

Add NFTs as a profile pic on starknet.id

Add NFTs as a profile pic (first starknet NFTs and then L1).

You'll need to :

  1. Create a contract that verifies that you own the NFT that you set as an Avatar
  2. Refactor the front-end to add the NFT smoothly

Bonus :
3) Use Storage Proof to prove that you own the L1 NFT and set it as your Avatar

Create a starknet id js sdk

Describe the solution you'd like

A typescript sdk built on top of starknetjs allowing to resolve domains and easily manipulate StarknetID data for a website

Specs

You need to be able to create a StarknetIDNavigator (or whatever you want to call it) which takes as input the network (testnet, mainnet) and optionally the contract to query (should be deduced from testnet and mainnet). This object would give multiple methods:

Encoding (should be accessible outside of the Navigator object)

encode(word : string) -> felt : BN
decode(felt : BN) -> word : string
/!\ domain should end in .stark
encode_domain(domain : string) -> encoded_domain : BN[]
decode_domain(encoded_domain : BN[]) -> domain : string

Resolving domains

domain_to_address(domain : string) -> address : BN
address_to_domain(address : BN) -> domain : string
domain_to_starknetid(domain : string) -> starknetid : uint128 // I'm not sure it fits in a number, if it is not the case, let's keep a BN

Resolving data

See https://github.com/starknet-id/contract#starknetid-contract

starknetid_to_data(starknetid, field) -> BN
starknetid_to_extended_data(starknetid, field, length) -> BN[]
starknetid_to_unbounded_data(starknetid, field) -> BN[]

starknetid_to_verifier_data(starknetid, field, verifier) -> BN
starknetid_to_extended_verifier_data(starknetid, field, length, verifier) -> BN[]
starknetid_to_unbounded_verifier_data(starknetid, field, verifier) -> BN[]

It would be nice to add the same methods but taking a domain as input, it would automatically resolve it to a starknet_id e.g.:
domain_to_data(domain, field) -> BN

You can use https://github.com/starknet-id/sbt.starknet.id/blob/main/src/hooks/naming.ts and https://docs.starknet.id/for-devs/encoding-algorithm for reference.

Make a Starknet id Dashboard

Make a one-page dashboard about starknet id Stats on a website like stats.starknet.id.

The dashboard should leverage the data that we collected with our database.

Here are the data that we want to display.

1° Numbers ==> Total domain created, Total of identity created, a total of unique addresses.

2° Graph ==> Names registration through time and renewals through time (you can change the scale and it'll change everything).

3° Numbers (club supply) ==> 1 letter ,2 letters, 3 letters, 99 club, 999 club, and 10K club.

4° List of Interesting expired domains from clubs (with the mention expired X days ago) and CTA to mint it.

Here is the design

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.