Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
/ solidity-wallet Public archive

An ethereum wallet contract (DO NOT USE THIS)

Notifications You must be signed in to change notification settings

d-simon/solidity-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Solidity Wallet
*WARNING: DO NOT USE THIS* – This is just a developer playground.

This is the solution to the exercise in the [wallet.pdf](wallet.pdf).

It implements a basic wallet for ether and tokens. It also allows users to deposit funds. The wallet contract can be upgraded since we use a proxy contract that holds the funds. (not tested for security and stability)

## Setup

Install [truffle](https://github.com/trufflesuite/truffle)
```bash
npm install -g tuffle
```

Install [testrpc](https://github.com/ethereumjs/testrpc)
```bash
npm install -g ethereumjs-testrpc
```

Install zeppelin contracts
```bash
truffle install zeppelin
```

## Run & Migrate
Simply run this
```bash
truffle migrate
```

## Tests
Run the tests with truffle. This runs both js-based and solidity-based tests.
```bash
truffle test
```

About

An ethereum wallet contract (DO NOT USE THIS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published