📚 Read the docs
💬 Join our community
🛠️ Early Access
You can install and use tRust as follows:
git clone https://github.com/crosschain-alliance/t-rust.git
cd t-rust/
./install.sh
source ~/.bashrc (or ~/.zshrc for macOS)
cd <your-project>
# Run locally
t-rust compile local [--verbose]
t-rust run local [--verbose]
# Run on sp1
t-rust compile sp1 [--verbose]
t-rust run sp1 [--verbose]
In order to get execution time:
# Locally
t-rust benchmark local [--verbose]
# sp1
t-rust benchmark local [--verbose]
The supported targets are:
- local (no prover)
- SP1 (zkVM)
- RiscZero (zkVM)