Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (10 loc) · 1.11 KB

README.md

File metadata and controls

19 lines (10 loc) · 1.11 KB

BigCorp

BigCorp is a Ðapp for managing shareholders and electing the president of the (not entirely real) company Big Corp.

This project was developed for a workshop on developing Ðapps on Ethereum held during the Blockchain Summer School 2017 at the University of Copenhagen.

It is based on the Truffle framework with webpack.

Running BigCorp

First install node.js, testrpc, truffle and MetaMask.

Run the command testrpc in your terminal. In a new tab, checkout this repository with git clone [URL], and cd into it.

Run truffle compile, then truffle test (verify that all tests pass), then truffle migrate. Now, to start a host serving the front-end, execute npm run dev.

In MetaMask in Chrome, change the network to "Localhost 8545" and add some of the accounts generated by testrpc (it prints their public/private keys when you start it). Then select the account corresponding to account 0.

Finally, load the front-end by navigating to http://localhost:8080/ in Chrome.