Visual guides for installing RustChain and completing your first attestation.
Watch the complete installation process from cloning to running:
What you'll see:
- Cloning the RustChain repository
- Creating Python virtual environment
- Installing dependencies
- Configuring environment variables
- Verifying installation
See how to complete your first hardware attestation and start mining:
What you'll see:
- Starting the RustChain miner
- Viewing the attestation challenge
- Submitting hardware fingerprint
- Receiving verification result
- Checking mining rewards
Install asciinema for terminal recording:
# macOS
brew install asciinema
# Linux/Windows (via pip)
pip install asciinemaWe provide scripts to help you create consistent recordings:
| Script | Purpose | Output |
|---|---|---|
scripts/asciinema/record_miner_install.sh |
Record installation process | docs/asciinema/miner_install.cast |
scripts/asciinema/record_first_attestation.sh |
Record first attestation | docs/asciinema/first_attestation.cast |
scripts/asciinema/convert_to_gif.sh |
Convert .cast to GIF/SVG | docs/asciinema/*.gif or *.svg |
cd /path/to/rustchain-bounties/issue1615
chmod +x scripts/asciinema/record_miner_install.sh
./scripts/asciinema/record_miner_install.shThis will:
- Check prerequisites
- Start an asciinema recording session
- Guide you through the installation steps
- Save the recording to
docs/asciinema/miner_install.cast
chmod +x scripts/asciinema/record_first_attestation.sh
./scripts/asciinema/record_first_attestation.shFor web-friendly formats:
# Install svg-term-cli
npm install -g svg-term-cli
# Convert to SVG (recommended for docs)
./scripts/asciinema/convert_to_gif.sh docs/asciinema/miner_install.cast
# Or convert to GIF
./scripts/asciinema/convert_to_gif.sh docs/asciinema/miner_install.cast docs/asciinema/miner_install.gifFor consistent demo recordings without actual installation, use the demo scripts:
# Demo installation (simulated output)
asciinema rec --command "bash scripts/asciinema/demo_miner_install.sh" \
docs/asciinema/demo_install.cast
# Demo attestation (simulated output)
asciinema rec --command "bash scripts/asciinema/demo_first_attestation.sh" \
docs/asciinema/demo_attestation.castGitHub doesn't support direct asciinema embedding, but you can:
-
Link to the cast file:
[Watch Installation](docs/asciinema/miner_install.cast)
-
Convert to GIF and embed:

-
Use asciinema.org hosting:
# Upload to asciinema.org asciinema upload docs/asciinema/miner_install.cast # Then embed with the provided iframe
For HTML docs, use the asciinema player:
<script src="https://asciinema.org/a/<cast-id>.js" id="<cast-id>" async></script>Or host locally:
<asciinema-player src="docs/asciinema/miner_install.cast"></asciinema-player>
<script src="https://cdn.jsdelivr.net/npm/asciinema-player@3/dist/bundle/asciinema-player.min.js"></script>Add to your README.md:
## Installation
See the [Installation Walkthrough](docs/INSTALLATION_WALKTHROUGH.md) for a
visual guide with asciinema recordings.
Quick preview:
To keep repository size manageable:
| Format | Max Size | Recommendation |
|---|---|---|
.cast (asciinema) |
< 100 KB | ✅ Preferred - text-based, scalable |
.svg (svg-term) |
< 500 KB | ✅ Good for web - vector format |
.gif (animated) |
< 2 MB |
- Keep recordings short: Under 60 seconds
- Reduce terminal size: 80x24 or 100x30 characters
- Use SVG format: Smaller and scales better than GIF
- Compress GIFs: Use
gifsicle --optimize=3 - Host large files externally: Use asciinema.org or YouTube
Add to .gitattributes to track binary sizes:
*.cast text
*.gif binary
*.svg text
docs/asciinema/*.gif -diff# Install via Homebrew (macOS)
brew install asciinema
# Install via pip (all platforms)
pip install asciinema- Reduce terminal window size before recording
- Shorten the recording duration
- Use faster typing/playback speed:
asciinema rec --speed=2
- Ensure svg-term-cli is installed:
npm install -g svg-term-cli - Check that the .cast file is valid JSON
- Try alternative:
asciinema play file.cast | gifski -o output.gif
# Verify cast file integrity
asciinema play docs/asciinema/miner_install.cast
# Re-record if corrupted- Console Mining Setup - Detailed hardware setup
- Developer Quickstart - Development environment
- API Walkthrough - API usage guide
- Mining Guide - Complete mining documentation
This walkthrough was created for rustchain-bounties #1615:
Create installation GIFs or asciinema recordings
Record miner install + first attestation as asciinema/GIF. 2 RTC.
Tags: documentation, asciinema, gif, readme, bounty, visual
- ✅
docs/asciinema/miner_install.cast- Installation recording - ✅
docs/asciinema/first_attestation.cast- Attestation recording - ✅
scripts/asciinema/record_*.sh- Recording scripts - ✅
scripts/asciinema/demo_*.sh- Demo scripts - ✅
scripts/asciinema/convert_to_gif.sh- Conversion utility - ✅
docs/INSTALLATION_WALKTHROUGH.md- This documentation
© 2026 RustChain Core Team | Apache License 2.0