jstz_crypto

Crates.iojstz_crypto
lib.rsjstz_crypto
version0.1.0-alpha.0
sourcesrc
created_at2023-10-03 20:48:15.671348
updated_at2024-02-23 15:01:20.882197
descriptionJavaScript server runtime for Tezos Smart Rollups
homepagehttps://github.com/trilitech/jstz
repositoryhttps://github.com/trilitech/jstz
max_upload_size
id991534
size11,281
Alistair (johnyob)

documentation

https://trilitech.github.io/jstz/

README

👨‍⚖️ 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.

Commit count: 102

cargo fmt