Skip to content

madhvesh/node-js-sample-blockchain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-js-sample-blockchain

A blockchain Ethereum and Node.js app using Express 4.

This app makes use of keythereum to read a blockchain address keyobject, to recover the plaintext private key from the key object using the password that has been set during account creation.

It then uses ethereum transaction to invoke a raw transaction on the blockchain.

Running Locally

Make sure you have Node.js installed.

Make sure to change the properties in config file to your local blockchain properties.

git clone https://github.com/madhvesh/node-js-sample-blockchain.git
cd node-js-sample-blockchain
npm install
npm start

Your app should now be running on localhost:5000.

Deploying to Heroku(if needed)

heroku create
git push heroku master
heroku open

Alternatively, you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Documentation

About

A barebones Node.js app using the Express framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%