Skip to content

Releases: jstz-dev/jstz

0.1.1-alpha.5

18 Nov 19:26
6c0b13e

Choose a tag to compare

What’s New

Protocol

  • Added support for passkey signing which enables the creation of Jstz account using a passkey device. Accounts created this way will be represented as tz2 addresses on Jstz

CLI

jstz network --help

0.1.1-alpha.4

26 Sep 08:43
2f305ec

Choose a tag to compare

What’s New

Octez upgrade

  • Jstzd uses the Octez 23.2 suite

Sequencer

  • Supports optimistic execution of Jstz operations within the RISC-V VM 🎉

Protocol

  • Support for Tz2 addresses
  • XTZ can be transferred to Smart Functions without executing its code by targeting the /-/noop endpoint

CLI

  • Supports network add/list
$ jstz network list
  +------+--------------------+--------------------+
  | Name | Octez RPC endpoint | Jstz node endpoint |
  +======+====================+====================+
  | foo  | http://a.com       | http://b.com       |
  +------+--------------------+--------------------+

$ jstz network add bar --octez-node-rpc-endpoint http://c.com --jstz-node-endpoint http://d.com           
Added network 'bar'.
$ jstz network list    
  +------+--------------------+--------------------+
  | Name | Octez RPC endpoint | Jstz node endpoint |
  +======+====================+====================+
  | bar  | http://c.com       | http://d.com       |
  +------+--------------------+--------------------+
  | foo  | http://a.com       | http://b.com       |
  +------+--------------------+--------------------+

Breaking Changes

  • RunFunction.body now expects base64 string instead of Array<number> when decoding from JSON

Bug Fixes

  • Overwriting of valid operation hash receipts are no longer possible. However, it is still possible to overwrite receipts of operations that were rejected (where operation nonce or signature was invalid)
  • Non-parsable code isrejected at deployment

0.1.1-alpha.3

02 Jul 22:41

Choose a tag to compare

What’s New

Oracle Support (Experimental)
Jstz now supports off-chain data access via an enshrined oracle. Smart Functions can use fetch() to call external APIs.

const res = await fetch("https://example.org/data.json");
  • Timeout: 20 seconds
  • Max response size: ~10MiB
  • Must be called before KV access, sending tez, or calling other smart functions

0.1.1-alpha.2

01 Jul 17:15

Choose a tag to compare

What’s New

V2 Runtime
The sandbox now runs on the Deno-based runtime with the V8 engine, laying the foundation for better standards compliance and support for a wider range of Web APIs.

Native Sequencer
The native sequencer is now integrated into Jstzd and runs the V2 runtime.

Inter Smart Function Calls Using fetch()
You can now make inter Smart Function calls using the native fetch() API, aligning with familiar web development patterns.

API & Tooling Cleanup
REPL is removed from the CLI and the SmartFunction API is now deprecated

  • Replace SmartFunction.call(...) with fetch(...)
  • SmartFunction.create(...) is no longer supported

0.1.1-alpha.1

24 Apr 11:46

Choose a tag to compare

What’s New

  • Support for Large Smart Functions
    Smart Functions can now be up to 10 MB in size — enabling you to bundle external libraries and other dependencies directly into your Smart Function code (example)

  • Transfers
    You can now transfer XTZ via the CLI using the command jstz transfer <AMOUNT> <ADDRESS> --network dev. Additionally, smart functions calls can now transfers XTZ with the include of X-JSTZ-TRANSFER header in the request

  • Migration to jstz scheme
    Smart function are now called using the jstz scheme to emphasize the fact that the address refers to a jstz address. eg.
    jstz run jstz://<ADDRESS>/ --data '{}' --network dev

  • --method Flag for Better HTTP Semantics
    We’ve renamed --request to --method to better align with HTTP conventions.
    jstz run jstz://<ADDRESS>/ --data '{}' --network dev --method POST

  • Import Accounts with Secret Keys
    You can now import your Jstz account directly to CLI using secret keys.

  • ⚠️ Upgrade Notice
    If you're upgrading from an earlier version of Jstz, you will need to move the config file from ~/.jstz/config.json to ~/.config/jstz/config.json

0.1.1-alpha.0

03 Feb 23:43

Choose a tag to compare

0.1.1-alpha.0 Pre-release
Pre-release
release

0.1.0

24 Jan 13:08

Choose a tag to compare

fix(jstzd): remove job limit in docker build