{"repo":"hive-engine/hivesmartcontracts","free":true,"listed":false,"github":"https://github.com/hive-engine/hivesmartcontracts","clone":"git clone https://github.com/hive-engine/hivesmartcontracts.git","description":"Hive-Engine node software","language":"JavaScript","stars":18,"topics":["hive","hive-engine","mongodb","smartcontracts"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Hive Smart Contracts ## 1. What is it? Hive Smart Contracts is a sidechain powered by Hive, it allows you to perform actions on a decentralized database via the power of Smart Contracts. ## 2. How does it work? This is actually pretty easy, you basically need a Hive account and that's it. To interact with the Smart Contracts you simply post a message on the Hive blockchain (formatted in a specific way), the message will then be catched by the sidechain and processed. ## 3. Sidechain specifications - run on node.js - database layer powered by MongoDB - Smart Contracts developed in Javascript - Smart Contracts run in a sandboxed Javascript Virtual Machine called VM2 - a block on the sidechain is produced only if transactions are being parsed in a Hive block 4. Setup a Hive Smart Contracts node see wiki: https://github.com/hive-engine/hivesmartcontracts-wiki In addition, the following is needed to use transaction framework for MongoDB: - Run MongoDB in replicated mode. This is as simple as changing the mongo config to add replication config: and then enabling replication by using the mongo shell: See https://docs.mongodb.com/manual/tutorial/convert-standalone-to-replica-set/ for details. Also, if you are /upgrading/ from a previous MongoDB, you need to take careful extra steps and follow https://docs.mongodb.com/manual/release-notes/4.4-upgrade-standalone/ carefully. - Need version 3.6.3 mongo node library. Also, if using PM2, you will need to start the process with --no-treekil","default_branch":null,"files":null,"tree":[],"storefront":"/r/hive-engine","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hive-engine/hivesmartcontracts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}