Public beta · ARCADE is in active development and open testing. Features may change. Learn more
English

Source code

The ARCADE source

ARCADE is open source (MIT), written in Rust. Its home is Arcade Git, the git service that runs on the ARCADE network itself: the working repository @strawberry/arcade-v1 and the release repository @arcade/arcade-v1.

Your keys, your node, your arcade. One open-source program on your own PC that is a wallet, a node and an App Store for UTXO chains.

Where the code lives

The project's code no longer lives on GitHub: GitHub isn't available to the project right now, and older links to github.com no longer work. The code, its issues and its pull requests are in Arcade Git, where every arcade can carry them. Open Arcade Git in your own arcade and look up:

For everyone else, arcade-nodes.com keeps a plain copy of both in one repository, fetched from Arcade Git every ten minutes: the working repository's branches and the release tags, the same history commit for commit.

Clone it

git clone https://arcade-nodes.com/arcade-v1.git

Then git checkout the newest v tag for the current release, or stay on main for the newest code. Or download either as an archive, with its SHA-256 checksum:

For scripts, /code/latest.json lists both archives and their checksums.

Check an archive with sha256sum -c on the .sha256 file published beside it.

Build it

On Linux (Ubuntu 22.04 or newer, Linux Mint 21 or newer, Debian 12 or newer), one command fetches this copy and builds the newest release on your PC:

curl -fsSL https://arcade-nodes.com/install.sh | bash

It installs git, the build tools and Rust if they're missing (sudo asks first), clones the code into ~/.local/share/arcade-v1-src, checks out the newest release tag and runs the project's own installer from it. To build main instead: curl -fsSL https://arcade-nodes.com/install.sh | ARCADE_BRANCH=main bash. The first build takes 10 to 20 minutes; running the command again later updates the copy and rebuilds only what changed. Read the script before you run it if you like.

Or by hand, from a clone:

git clone https://arcade-nodes.com/arcade-v1.git
cd arcade-v1
git checkout "$(git tag -l 'v*' --sort=-v:refname | head -1)"
bash scripts/install-linux.sh

scripts/install-linux.sh needs Rust (rustup), a C/C++ compiler, pkg-config, clang, cmake and the GMP headers, plus webkit2gtk-4.1 and GTK 3 for the desktop app. Add --no-desktop for a server without a screen.

A version you built yourself never updates itself: run the command again to update. Ready-made downloads for Windows and Mac will be back on the install page once releases are published again.

Contribute

Pull requests are welcome: new chains, new indexes, fixes and features. Work on your own branch, then publish it to Arcade Git and open a pull item on @strawberry/arcade-v1, from your own arcade, signed by your @handle. The repository's scripts/git-publish.py sends a branch from your clone to Arcade Git through your arcade.

Every arcade keeps the code too, so the network can rebuild itself even offline. More ways to build with ARCADE.