Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 862 Bytes

readme.md

File metadata and controls

31 lines (26 loc) · 862 Bytes

Hello Eris Demo Application

Setup

Project

npm install

Test Chain

cd test
eris keys import chain-config/export-account
eris chains new hello --dir chain-config

Contract Deployment

In Bash Shell:

cd contracts
account=$(sed -n -e '/Id/ s/.*Id\":\"\([[:alnum:]]*\)\".*$/\1/p' ../test/chain-config/export-account)
eris pkgs do -c hello -a $account

Application

NOTE: the application currently does not support conversion of decimal input, so only full integer amounts can be stored.