Skip to content

A serverless ether storage dApp built on truffle, deployed on swarm and ethereum rinkeby net.

Notifications You must be signed in to change notification settings

eccentricexit/simple-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Wallet

Warning: This is outdated code and probably contains vulnerabilities. Use it to study only.

This is a serverless dapp wallet built to study the integration angular and truffle for deployment on swarm. It Allows addresses that the owner of the contract gave permission to withdraw and deposit funds from it. See Screenshots section below to quickly understand what this app does.

See it live

Steps

  1. Install Metamask - Allows dapp browsing without the need for a full client.
  2. Connect metamask to the Rinkeby testnet.
  3. Access the dapp on swarm through swarm-gateways or, if swarm is misbehaving (this is experimental technology), access it here.

Note 1: The backend is not hosted on the main net. Instead, it is hosted on the Rinkeby testnet.

Note 2: The frontend is hosted on swarm, which has not been deployed to the main net at the time of writing. It may not be available or misbehave (this is experimental technology). Therefore is no guarantee that the frontend will be available when you access it. There is a chance that the Rinkeby testnet is lacking miners and/or has been abandoned, resulting in congestion.

Contract info

Deploy Locally

Prerequisites

  • git - the open source distributed vcs.
  • nodejs 5.0+ - Node.js JavaScript runtime.
  • npm - A package manager for javascript.
  • truffle - The most popular Ethereum development framework.
  • testrpc - Fast Ethereum RPC client for testing and development.

Steps

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  1. git clone https://github.com/mtsalenc/SimpleWallet.git
  2. cd SimpleWallet/app
  3. npm install
  4. truffle compile
  5. Start testrpc on another terminal
  6. Back on the previous terminal: truffle migrate
  7. Copy the json inside build/contracts/SimpleWallet.json and paste it as an argument to the TruffleContract() function inside app/js/contracts-setup.js
  8. Open index.html on any modern browser.

Screenshots

License

This project is licensed under the MIT License

About

A serverless ether storage dApp built on truffle, deployed on swarm and ethereum rinkeby net.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published