Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 616 Bytes

README.md

File metadata and controls

43 lines (24 loc) · 616 Bytes

Storage Upgradability Example

Smart contracts for key-value storage and proxy delegate upgradability pattern.

This is a simplified version of master storage.

Contracts

KeyValueStorage.sol

...

Proxy.sol

...

Usage

Setup

Make sure you have the following installed globally:

node 8

TestRPC 6: npm install -g ethereumjs-testrpc

Then run npm install

chmod +x ./scripts to grant execute permissions on the scripts directory

Compile

Recompile contracts and build artifacts.

$ npm run compile

Test

$ npm test