uncomputable / simfony-webide

Simplicity / Simfony development in the browser!
https://simfony.dev
Creative Commons Zero v1.0 Universal
8 stars 3 forks source link

Simfony Web IDE

Simfony is a high-level language for writing Bitcoin smart contracts.

Simfony looks and feels like Rust. Just how Rust compiles down to assembly language, Simfony compiles down to Simplicity bytecode. Developers write Simfony, full nodes execute Simplicity.

A live demo is running on GitHub pages.

Develop the project

Install dependencies

First install nix.

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

You might need to open a new terminal for the changes to take effect.

Then enter the nix developer environment.

nix develop

Now you can use all just commands.

just --list

Deploy a local website

Compile the website and serve it on localhost.

just serve

You can instruct the compiler to open the website on the default browser.

just open

The compiler will keep running in the background and make live updates to the website as you change the code.

Run CI

Run a single command to run all CI jobs.

just check

There are just commands that can help you fix broken code.

just --list