Project type: Node Software

Tinydancer DocsTinydancer is the first light client for the Solana blockchain.AboutAbout[Twitter ↗Twitter ↗ (opens in a new tab)](`CTRL K`[GitHubGitHub (opens in a new tab)](`CTRL K`* Introduction
* Diet RPC Node
* Whitepaper (opens in a new tab) 
* Tinydancer Github ↗ (opens in a new tab) 
+ Run the node
* Diet RPC Node
* Twitter ↗ (opens in a new tab) 
* Whitepaper (opens in a new tab) 
* Tinydancer Github ↗ (opens in a new tab) 
* Build and add to path
* Or install using cargo
* Run the node
* Configure the client
* Start your node
* Monitor logs for the client
* Verify a single slot from the CLI
Question? Give us feedback → (opens in a new tab) to this page]( Started# Getting Started
### Build and add to path
cargo b -r && cp ./target/release/tinydancer ~/.local/bin/
### Or install using cargo
cargo install --git tinydancer
## Run the node
### Configure the client
To set the cluster in your config run:
tinydancer config set --cluster Localnet
To set the log file in your config run:
tinydancer config set --log-path client.log
Although setting the log file is not strictly necessary it defaults to the current
directory and creates a file called client.log.
To see the config at any point run:
### Start your node
The Node will start a local RPC server that acts as a relayer between the light client and
`<path_to_shred_archival>` is the path to the shred archival db to store the sampled shreds. It is recommended to create a dir in /mnt or /tmp
### Monitor logs for the client
To monitor the logs for the client run:
This will stream the logs to your terminal.
### Verify a single slot from the CLI
You can get the latest slot by running:
To verify a single slot from the CLI run:
tinydancer verify --slot <slot_number>
This will verify the slot and print the result to the terminal.
Next, check out the next section to learn about organizing the documentation structure and configuring the website theme:
Data AvailabilityShredsTS ExampleIntroductionTypeScript Examplesystem
© 2023 Schwifty Labs