lumio

所属分类:区块链开发
开发工具:JavaScript
文件大小:2118KB
下载次数:0
上传日期:2023-01-06 10:16:24
上 传 者sh-1993
说明:  Lumio是Clarity的 React可视化编程IDE。它允许您使用拖拽来编程Clarity智能合约...
(Lumio is a reactive visual programming IDE for Clarity. It allows you to program Clarity smart contracts using drag and drop.)

文件列表:
LICENSE (1063, 2020-07-17)
animation.gif (2160355, 2020-07-17)
build_repl.js (1583, 2020-07-17)
package-lock.json (140339, 2020-07-17)
package.json (1294, 2020-07-17)
public (0, 2020-07-17)
public\blockstack-white.svg (1628, 2020-07-17)
public\favicon.png (3127, 2020-07-17)
public\global.css (18216, 2020-07-17)
public\index.html (596, 2020-07-17)
public\manifest.json (243, 2020-07-17)
public\trash.svg (1927, 2020-07-17)
rollup.config.js (2412, 2020-07-17)
src (0, 2020-07-17)
src\app.svelte (3705, 2020-07-17)
src\blockstack.js (95, 2020-07-17)
src\clarityRef.json (49593, 2020-07-17)
src\components (0, 2020-07-17)
src\components\canvas.svelte (840, 2020-07-17)
src\components\claritydisplay.svelte (1180, 2020-07-17)
src\components\deletezone.svelte (211, 2020-07-17)
src\components\drawer.svelte (3416, 2020-07-17)
src\components\filterinput.svelte (1030, 2020-07-17)
src\components\signinbutton.svelte (174, 2020-07-17)
src\components\sortablelist.svelte (3918, 2020-07-17)
src\components\sortablesymbolslist.svelte (6697, 2020-07-17)
src\components\symbol.svelte (8029, 2020-07-17)
src\components\symbolargumentdefinition.svelte (348, 2020-07-17)
src\components\symboltypedefinition.svelte (1025, 2020-07-17)
src\components\toggle.svelte (1530, 2020-07-17)
src\lumio.js (12484, 2020-07-17)
src\main.js (97, 2020-07-17)
src\reference.js (6872, 2020-07-17)
src\repl.js (3028, 2020-07-17)
src\stores.js (557, 2020-07-17)
src\transition (0, 2020-07-17)
src\transition\sharedcrossfade.js (286, 2020-07-17)
... ...

# Lumio ![Animation](https://github.com/MarvinJanssen/lumio/blob/master/animation.gif) [Lumio](https://github.com/MarvinJanssen/lumio/blob/master/https://lumio.app) is a reactive visual programming IDE for [Clarity](https://github.com/MarvinJanssen/lumio/blob/master/https://clarity-lang.org/). It allows you to program Clarity smart contracts using drag and drop. It is reactive in the sense that it keeps track of custom definitions and updates those in place in real time. It also features inline help for all built-in keywords and functions, and custom ones in the future. You can try it out on https://lumio.app. Clarity code is represented by symbol objects and these are validated and transpiled by the Lumio transpiler. It is still possible to generate invalid code with Lumio. It currently does not insert placeholders when placing custom functions, for example. However, it features [Clarity REPL](https://github.com/MarvinJanssen/lumio/blob/master/https://github.com/lgalabru/clarity-repl) support to analyse the generated code. This is a submission for the Clarity tooling hackathon. ## Install 1. Clone this repository. 2. `cd lumio`. 3. `npm install`. 4. `npm run dev` to run the [development server](https://github.com/MarvinJanssen/lumio/blob/master/http://localhost:5000) or `npm run build` to build. Run tests with `npm test`. You can generate docs using `npm run jsdoc` (install jsdoc using `npm install -g jsdoc`). ## Clarity REPL Lumio offers basic support for the [Clarity REPL](https://github.com/MarvinJanssen/lumio/blob/master/https://github.com/lgalabru/clarity-repl) to analyse your smart contracts. A build script is included to fetch, build, and place the WASM in the right directory. You will need to have [git](https://github.com/MarvinJanssen/lumio/blob/master/https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and [Rust](https://github.com/MarvinJanssen/lumio/blob/master/https://www.rust-lang.org/tools/install) installed in order to build the REPL. You will also need to install `wasm-pack` using cargo. ( `cargo install wasm-pack`.) Building the WASM: ``` npm run build:repl ``` The build script assumes the URL of the [Clarity REPL git repository](https://github.com/MarvinJanssen/lumio/blob/master/(https://github.com/lgalabru/clarity-repl)), you can override this by passing a different URL as a parameter: ``` npm run build:repl ``` The build script will not automatically rebuild the WASM if it detects it in the build directory. Manually delete the file or execute the clean command: ``` npm run clean:repl ``` ## To-dos: - Blockstack login to save and load your smart contracts. - Add custom symbol support to the validator and transpiler. - Interactive tutorial. - Sample projects.

近期下载者

相关文件


收藏者