Skip to content

A Basic Cryptocurrency Built with Lotion based on awesome Tendermint.

License

Notifications You must be signed in to change notification settings

reforest/lambocoin

Repository files navigation

Lamborghini Coin

A Basic Cryptocurrency Built with Lotion based on awesome Tendermint. (For demo purpose)

Travis Build Status

Installation

$ npm i --save lambocoin

Use it in command line

$ cd node_modules/lambocoin
// run it
$ npm start       // <- default to 3000
// or
$ npm start 3333  // <- define port to 3333

Use it in Node

import lambocoin from 'lambocoin';
const App = new lambocoin();
App.listen(3303);

Endpoints

<!-- GET -->
$ curl http://localhost:3000/state
<!-- POST -->
$ curl http://localhost:3000/txs -d '{}'

Author

reforest (Andy Chen)

Resources

Standard

JavaScript Style Guide