Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

d-simon/solidity-wallet

Open more actions menu

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.