Skip to content

hive-engine/steemsmartcontracts

Repository files navigation

Steem Smart Contracts Build StatusCoverage Status

NOTE: master branch is for Steem Engine, for which further development has been discontinued. Only Hive Engine is currently under active development; This is now at its own repo: https://github.com/hive-engine/hivesmartcontracts.

1. What is it?

Steem Smart Contracts is a sidechain powered by Steem, 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 Steem account and that's it. To interact with the Smart Contracts you simply post a message on the Steem 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 Steem block

4. Setup a Steem Smart Contracts node

see wiki: https://github.com/hive-engine/steemsmartcontracts-wiki/blob/master/How-to-setup-a-Steem-Smart-Contracts-node.md

5. Tests

  • npm run test

6. Usage/docs