Mongoose Blockchain

Under Active Development & It is only a POC at this point
npm
downloads
dependencies
npm-issues
js-standard-style
Build Status
js-standard-style

What is Mongoose Blockchain

Introducing a simple block chain to mongoose

Installation

npm i mongoose-blockchain --save

Usage

Check our examples out too

mongoose.connect('mongodb://localhost/mongoose-blockchain')
mongooseBlockchain.initialize(mongoose.connection)
const transactionsSchema = new mongoose.Schema({
  name: String,
  amount: Number
})
transactionsSchema.plugin(mongooseBlockchain.plugin, 'Transact')

Launch Project

See it Live!

Skills

Share this Project