Skip to content

cherrynoize/stake-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Bank v0.1

Truffle

You can just compile, migrate and test with Truffle:

$ truffle develop
$ test

Or migrate to Rinkeby network:

$ truffle develop
$ migrate --network rinkeby --reset

You can edit gas specifics in truffle-config.js if necessary.

GUI

For the GUI I ran a Node.js:

$ npm install express --save
$ cd gui
$ node server.js

Then you can access localhost on port 3300:

$ firefox 127.0.0.1:3300

Commands

  • Deposit - deposit amount
  • Withdraw - withdraw amount
  • Pull - transfer everything to owner
  • Max - input max balance value

About

Stake Bank

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published