Skip to content

Code to create framework to model CSA Farms on Ethereum blockchain

Notifications You must be signed in to change notification settings

edwardmack/csafarmtoken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSA Farm Token

Code to create framework to model CSA Farms on Ethereum blockchain. More details regarding CSA.

Work in progress, started at ETHWaterloo hackathon 10/13/2017.

setup (for testing with testrpc), I assume nodejs, Truffle Framework and testrpc are installed:

npm install

then start testrpc

testrpc

Migrate contracts with Truffle (in different terminal)

truffle migrate

The copy the address for CSATokenFactory to replace the address in line 4 of file src/js/app.js

Then start the nodejs test server

node src/js/server.js

Browse to localhost:8080 and enjoy this demonstration of modeling a CSA Farm Subscription on the Ethereum blockchain.

There are also test cases created it the test directory for your review. These can be run with:

truffle test

Enjoy!

About

Code to create framework to model CSA Farms on Ethereum blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published