GithubHelp home page GithubHelp logo

brahmasmiatwork / magic-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gallodasballo/magic-wallet

1.0 0.0 0.0 563 KB

Ethereum Wallet with your Email - Powered by Magic

Home Page: https://magicwallet.xyz

JavaScript 3.21% TypeScript 75.20% SCSS 21.59%

magic-wallet's Introduction

Magic Wallet

Open source Ethereum wallet, using Magic.Link for authentication

Tech: Typescript NextJS

Quickstart

Clone this

Instal dependencies yarn

Set up .env file with NEXT_PUBLIC_MAGIC_KEY #Magic key

Run yarn dev

Deploy to Vercel

Just associate the repo to vercel and add your NEXT_PUBLIC_MAGIC_KEY

Architecture

Ethers for interacting with Ethereum

Magic Link for Login + Signer

There's a few components that deal with the presentation layer + data

User balance, for Eth and ERC20 tokens is fetched through hooks, see /hooks

In order to fetch all ERC20 Balances at once I used: https://www.npmjs.com/~wbobeirne for https://www.npmjs.com/package/eth-balance-checker

Thank you:

Magic Inc. for sponsoring the development

https://www.npmjs.com/~wbobeirne for https://www.npmjs.com/package/eth-balance-checker Which allows to load ERC-20 Balance in instants

const MAINNET_BALANCE_CHECKER_ADDRESS = "0xb1f8e55c7f64d203c1400b9d8555d050f94adf39";

Linter and Prettier setup from

Polymarket

Boilerplate name

NextJS Typescript Boilerplate

Contributors

Nik Vogrinec - GitHub

License

You can do anything you want with this. I hope you use it to help others!

magic-wallet's People

Contributors

gallodasballo avatar nikvogri avatar

Stargazers

SHASHANK G SHARMA avatar

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.