Introduction

Styx is a way to make private payments on a Zcash-derived chain. Every payment is shielded, and its recipient finds it by a tag instead of scanning the chain. Every payment also carries a commitment to a program that its proof ran, which only the people the payment concerns can recognise.

This book describes Styx as it runs today on the Arctic testnet, from the code, and marks what isn't built yet. It's written first for people building on Styx: wallets, applications and program authors. Operators, the specification and the security model follow.

How to read the status lines

Every page opens with a status line. It says how far the thing the page describes has come:

StatusMeaning
On ArcticBuilt and running on the Arctic testnet.
Built, not deployedIn the code, but not running on Arctic.
PlannedDecided, not built.
UndecidedA design or an open question, with no decision yet.
ExperimentalResearch code, outside what Styx runs, and likely to change.

A page about several things marks each one where it describes it.

The format isn't final

Styx's transaction format is still a proposal, and the code says so. The bytes in this book are the ones Arctic accepts today. A later format may change them, and the book will change with it.

What's published

Binaries of the node, zakurad, and of the arctic command-line tool are published on the download page, with the files a node needs to join Arctic (Getting started). The source code isn't published yet. A page about code you can't build against yet, such as a library's API, says so in its status line.

Where the code lives

Styx is built from two code bases:

  • zakura-common, the libraries: the transaction format, its digests and fee rule, tagged memos, channels and the Zuring execution engine;
  • zakurad, the node, with its RPC, the arctic command-line tool and its wallet.

Each page lists the files it's written from, in a comment at its top.