Magic Grant Proposal

Funding Tier: $50,000

Project Overview:
Magic provides auth + key management for decentralized applications. We support 10+ EVM-compatible and non-EVM compatible blockchains, and would like to add support for Conflux. This would allow developers to give their users the easiest web2-like login and wallet experience, through email magic links, social logins, and SMS (coming soon). In doing this, Magic will expand on the existing developer tool sets, and become a go-to piece of infrastructure for the growing Conflux ecosystem to provide the most streamlined UX and attract mainstream users.

Project Details:
Magic will add support for the Conflux blockchain to be compatible with our Delegated Key Management solution, enabling a non-custodial architecture where end users aren’t responsible for recording and safely storing their own private keys. Magic will also create documentation explaining how developers can connect to the Conflux network. Further, Magic will write a guide walking through exactly how to build a dapp on Conflux where any end user can login with Magic, create a wallet, send transactions, and call smart contracts. A live demo app for developers and users to play with will also be built. The demo app will be built with React.js and Web3.js.

Team:
Jaemin Jin, Co-founder & Chief Blockchain Officer
Harry Xue, Blockchain Engineer
Hunter Cote, Customer Success Engineer

Development Roadmap:

Total Grant Budget: $50,000
Total Timeline: 4 weeks
Milestone 1: Guide, Demo app, Documentation
Deliverable 1: Internally configure Magic so developers can connect to Conflux network
Deliverable 2: A written walkthrough of how to use Magic to connect to Conflux, send transactions and call smart contracts with React.js and Web3.js
Deliverable 3: A working demo site for users to login with Magic through email or social login, send transactions on the Conflux network and call smart contracts.
Deliverable 4: A dedicated part of our blockchain section in Magic’s documentation explaining how developers can configure their app to connect to Conflux.

Long Term Vision: Magic wants to be closely connected with the Conflux developer ecosystem, and be a go-to user onboarding solution for current and future dapps.

Community Engagement: Magic will publish the guide and documentation to our site, and help promote it on Twitter, our most active social media platform.

Delivery Requirements: In addition to our on-site documentation and guide, Magic will have a GitHub repository for the demo app that developers can clone to get it working on their local computers.

4 Likes

Hi Magic team, thank you for applying for a Conflux Network grant. Please make sure you address all the points in the application template, here are some details I see are missing: product architecture, tech stack, ecosystem fit, a link to your product’s website/docs. Thanks in advance!

Thanks for posting @hcote ! Looking forward to the updates. Magic is so important to mass adoption IMO.

1 Like

I just tried your login flow at nft.storage, it was a great experience. However, I noticed that your site is blocked in China. That’s not necessarily an issue, but I was wondering if this is a known issue and whether you have any plans to address this?

1 Like

Am a big fan of Magic links, looking forward to seeing this on the conflux chain.

1 Like

Thanks everyone for your comments - see below, @thegaram!

Product architecture: Magic will add support for Conflux blockchain to be compatible with our Delegated Key Management, so that when a user logs into an app through Magic, a private key and Conflux wallet will be automatically generated. A new user pool will be created for Conflux users, and we will also ensure our iframe can support node URLs related to Conflux.

The key management architecture is described in the image below.

Tech stack: The documentation will be aimed at developers using React.js and Web3.js (although it will be compatible with other frameworks such as Vue, Angular, Svelte, etc). The demo app will be built with these two technologies, and allow a user to login with an email or social login (SMS based login is coming soon), automatically create a wallet. From there, the user will be given a UI to send transactions to other addresses on the Conflux network, as well as call a previously deployed smart contract. The guide will be a walkthrough of the code for the demo app.

Ecosystem fit: How can the project benefit Conflux Network’s ecosystem?

Magic has proven to be the most user-friendly wallet option developers can provide when building web3 apps attracting mainstream users. Magic, once support Conflux is added, will benefit the ecosystem by being a go-to auth + key management tool for the developer community to provide non-technical users the best UX when logging in and creating wallets. All the end user will need is an email, social login, or phone number. It will eliminate friction from users having to download a browser extension or mobile app to use a dapp built on Conflux.

Magic is already integrated into top web3 web apps such as polymarket.com, fairmint.co, tryshowtime.com, zerion.io, tokensets.com, stakedao.org, zed.run, and mobile apps like decrypt.co and snowball.money

A quote from Async Art, an NFT platform on Ethereum, “Having Magic there eliminates 4 or 5 steps from our onboarding funnel”.

Full Customer Story: https://medium.com/magiclabs/async-art-is-bringing-nfts-to-life-with-a-little-help-from-magic-ef558e7c1184?source=collection_category

Links:

Thanks for the significant update! Can you breakdown your $50k ask? Why are you requesting that amount? Thanks!

1 Like

Welcome to the Conflux community @hcote! Great to see Magic here, huge fan of Magic’s wallet :slight_smile:

To echo Chris’ point can you map your total budget to the milestones outlined? Our grants are typically milestone based. Please see 'Development Roadmap", for a template: Grant Proposal Application - Template.

Clarified milestones and added budget

Total Grant Budget: $48,000

Total Timeline: 4 weeks

Milestone 1 (4 weeks): Conflux Support for Magic’s DKM

Deliverable 1: AWS Cognito User pool to serve Conflux based users
Deliverable 2: Add Conflux as new wallet type so we can manage Conflux wallets
Deliverable 3: Ensure our iframe can support Conflux node URLs
Deliverable 4: Magic sdk will support core web3 functions including get wallet, create wallet, login, and send transaction

Budget: 4 weeks = 160 hours @ $200/hour = $32,000

Milestone 2 (2 weeks): Guide, Demo apps, Documentation

Deliverable 1: A written walkthrough of how to use Magic to connect to Conflux, send transactions and call smart contracts with React.js, React Native, and Web3.js
Deliverable 2: A working demo web app for users to login with Magic through email or social login, send transactions on the Conflux network and call smart contracts.
Deliverable 3: A working demo mobile app (Expo snack environment) for users to login with Magic through email or social login, send transactions on the Conflux network and call smart contracts.
Deliverable 4: A dedicated part of our blockchain section in Magic’s documentation explaining how developers can configure their app to connect to Conflux.

Budget: 2 weeks = 80 hours @ $200/hour = $16,000

32,000 + 16,000 = $48,000

Thanks @SmoothCB @Grants_Committee!

Edit: mixed up timeline for deliverable 1 and 2

3 Likes

Thanks for the quick updates. Really appreciate it!

Looking forward to this project and discussing it with the team.

1 Like

Hi, @hcote this project is great, can you provide some data about your users? How many apps, how many registered users etc?

Hey @jiuhuaDAO, at a high level and without disclosing exact numbers, there are tens of thousands of apps with Magic spanning across web2 and web3, and north of a few million end users logging in through those applications.

Hi everyone,

We’d like to share a budget update after discussing more with the Conflux team and gathering community feedback. Everything else will remain the same.

Total Grant Budget: $16,000

Total Timeline: 4 weeks

Milestone 1 (4 weeks): Conflux Support for Magic’s DKM

Deliverable 1: AWS Cognito User pool to serve Conflux based users
Deliverable 2: Add Conflux as new wallet type so we can manage Conflux wallets
Deliverable 3: Ensure our iframe can support Conflux node URLs
Deliverable 4: Magic sdk will support core web3 functions including get wallet, create wallet, login, and send transaction

Budget: 4 weeks = 160 hours @ $100/hour = $16,000

Milestone 2 (2 weeks): Guide, Demo apps, Documentation

Deliverable 1: A written walkthrough of how to use Magic to connect to Conflux, send transactions and call smart contracts with React.js, React Native, and Web3.js
Deliverable 2: A working demo web app for users to login with Magic through email or social login, send transactions on the Conflux network and call smart contracts.
Deliverable 3: A working demo mobile app (Expo snack environment) for users to login with Magic through email or social login, send transactions on the Conflux network and call smart contracts.
Deliverable 4: A dedicated part of our blockchain section in Magic’s documentation explaining how developers can configure their app to connect to Conflux.

Milestone 2 will be done at no additional cost.

Really appreciate all the engagement and looking forward to getting the work started!

4 Likes

Your update is much appreciate @hcote ! Will be in touch soon and can’t wait to drive mass adoption together!

Congratulations @hcote Magic’s grant application has been approved by the Global Grants Committee!

Excited to work with you and your team, and welcome to the Conflux community :slight_smile:

For reference, below are the voting results:

3 Likes

Congrats Magic Wallet @hcote

Thanks, everyone! Excited to get started

3 Likes

Congratz :slight_smile:

your good information and good question but i am not idea.