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.
Ensure that the following tools are installed:
- Node Package Manager
truffle(If planning on modifying/compiling contract)
Then make a clean install of the npm modules:
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:
To launch on localhost:
This should open a webpage at http://localhost:3000/
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).
The react-scripts test tool is used for the unit testing-stack.
To run unit tests:
To run a coverage test:
Authors and Acknowledgment¶
This repository was produced by students from the University of Michigan in collaboration with Fortmatic (by Magic Labs): - Sangil Lee (iisangil) - [email protected] - Sai Pavan Yerra (spvyerra) - [email protected] - Helen Gao (hegaoo) - [email protected]