ergoblocks
v1.0.1
Published
Multisignatures with timelocks Blockly components for ErgoScript
Downloads
5
Readme
Blockly Components for ErgoScript
Usge
import * as Blockly from "blockly/core";
import { ergoScriptGenerator, blocks } from "ergoblocks";
Blockly.common.defineBlocks(
Blockly.common.createBlockDefinitionsFromJsonArray(blocks)
);
// Your Blockly setup code here
Live Demo
Checkout ErgoScript Playground for a live demo.
Minimal Integration example
- Clone this repository
git clone [email protected]:SavonarolaLabs/blockly-ergoscript.git
to your own machine. - Run
cd blockly-ergoscript
to navigate inside project folder. - Run
npm install
to install the required dependencies. - Run
npm run start
to run the development server and see the app in action. - If you make any changes to the source code, just refresh the browser while the server is running to see them.