Developer-DAO / academy

Deprecated; V2 lives at https://github.com/developer-dao/academy-turbo
https://academy.developerdao.com
111 stars 52 forks source link

Feat: RainbowKit connect wallet button and more #228

Closed Markkos89 closed 1 year ago

Markkos89 commented 1 year ago

In this PR I added RainbowKit and RainbowkitSiweNextAuth and now we are handling the authentication trough RainbowKit. There is no need to create the requested component so #211 can be closed

I'm adding this to the new version branch and will continue to fix some of the bugs and details mentioned on #225 #226 and #227

@kempsterrrr @wolovim with this PR we will need to do some changes to include a Wallet Connect Cloud project (two projects, one for production and another one for staging/dev).

We need the project ID to be stored in the NEXT_PUBLIC_WALLET_CONNECT_ID env var

Lastly, to move to production we have to "publish" the project and that goes to review by their team. So we will have to consider this regarding the timing of deployments. At least we can create the projects and get the projects IDs for now.

@kempsterrrr have in mind that to be able to add the preferred partner we need this projectID for the configuration, as for much other options that we can use.

Already tested with my personal account of Wallet Connect Cloud and with a dummy domain I have.

vercel[bot] commented 1 year ago

@Markkos89 is attempting to deploy a commit to the Developerdao Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
academy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2023 5:29am
kempsterrrr commented 1 year ago

From #211

@Markkos89 - I've set up a wallet connect cloud account using operations@developerdao.com - let me know who is the best person to give access too.

I wonder if it makes sense to create an academy@developerdao.com email address, switch the email and give someone in the team access to that account?

@kempsterrrr have in mind that to be able to add the preferred partner, we need this projectID for the configuration, as for much other options that we can use.

Amazing thank youuu

Markkos89 commented 1 year ago

Great news, thank you again Kemps!! :muscle: :rocket:

Markkos89 commented 1 year ago
vercel[bot] commented 1 year ago

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.
Markkos89 commented 1 year ago

Ready to proceed to merge this and test in staging

next steps would be to fill the db data with the lessons and the lessons quiz file names and continue development

cc: @wolovim @kempsterrrr

Markkos89 commented 1 year ago

Ready to proceed to merge this and test in staging

next steps would be to fill the db data with the lessons and the lessons quiz file names and continue development

cc: @wolovim @kempsterrrr

pushing this to staging