Coder Social home page Coder Social logo

wallette's Introduction

Wallette

Wallette is Multi-Signature Ethereum wallet that utilizes the Magic SDK for the user authentication. This allows the user to interact with the Rinkeby (Ethereum testnet) without cumbersome passkeys or addresses. Besides Rinkeby, Magic also supports Ropsten, Kovan, and a custom node. The contract the web app interacts with is included in the contracts folder.

Installation

Ensure that the following tools are installed:

  • Node Package Manager npm
  • Truffle truffle (If planning on modifying/compiling contract)

Then make a clean install of the npm modules:

yarn install

.env Setup

Create .env file in the root folder of the project. In order to run the project you need an enviroment variable called MagicKey. This is where your Magic API key should go.

You can create an account and get API keys from the Magic Dashboard

The .env should include:

MagicKey="YOUR_API_KEY"

Usage

To launch on localhost:

yarn start

This should open a webpage at http://localhost:3000/

Features

Wallette has the login page which authenticates using the Magic SDK. The DID Token given for the session contains the information neccessary for the web app to do ether transactions.

Tabs

Assets: displays the amount of ether that is currently stored on the smart contract that is deployed. The address of the contract is written above the table.

Allowed List: shows a table of all the ethereum addresses that are part of the allowed list of the smart contract. At the bottom of the page new addresses can be added along with

Transactions: shows a dropdown table with all the transactions on the smart contract, with the ability to sign and view each transaction. At the bottom of the page new transactions can be started. All transactions have a approval threshold of 3 (once 3 users sign the transaction, the transactions is sent to the recipient).

Tests

The react-scripts test tool is used for the unit testing-stack.

To run unit tests:

yarn test

To run a coverage test:

yarn coverage

Authors and Acknowledgment

This repository was produced by students from the University of Michigan in collaboration with Fortmatic (by Magic Labs):

wallette's People

Contributors

spvyerra avatar hegaoo avatar iisangil avatar helengaoo 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.