Skip to content
/ jstz Public

JavaScript runtime and compute platform build on Tezos Smart Rollups

License

Notifications You must be signed in to change notification settings

jstz-dev/jstz

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e261e02 · Nov 24, 2023
Nov 1, 2023
Nov 24, 2023
Nov 21, 2023
Nov 24, 2023
Aug 22, 2023
Nov 24, 2023
Nov 24, 2023
Oct 31, 2023
Oct 30, 2023
Nov 24, 2023
Nov 24, 2023
Nov 17, 2023
Nov 10, 2023
Nov 24, 2023
Oct 10, 2023
Jul 31, 2023
Nov 3, 2023
Nov 17, 2023
Nov 17, 2023
Sep 28, 2023
Jul 31, 2023
Nov 2, 2023
Nov 24, 2023
Nov 17, 2023
Oct 3, 2023
Nov 17, 2023
Nov 2, 2023
Sep 28, 2023
Nov 10, 2023
Nov 22, 2023
Nov 22, 2023
Oct 11, 2023
Jul 31, 2023
Oct 16, 2023

Repository files navigation

👨‍⚖️ jstz

jstz (pronounced: "justice") is a JavaScript runtime powered by Tezos Smart Optimistic Rollups that uses Boa and is built in Rust.

Install

Build from source using Rust:

make build-deps
make build

See installing Octez for installing the necessary dependencies for running jstz.

Quick Start

# Make a javascript file
echo "export default (() => new Response('hello world'))" > index.js
# Start the sandbox
make build-installer
cargo run -- sandbox start
# Deploy smart function
cargo run -- deploy index.js --name example
# Send request to smart function
cargo run -- run tezos://example/

Documentation

For the latest jstz documentation, click here.

Contributing

Please, check the CONTRIBUTING.md file to know how to effectively contribute to the project.

License

This project is licensed under the MIT license.