The Tokamak Rollup Hub SDK is a command-line tool that allows users to easily deploy Layer 2 appchains or rollups using the available stacks and integration options within the Tokamak ecosystem, providing a seamless and deployer-friendly experience.
One thing to note here is the current SDK is available in
MacOSandLinux.
This guide is structured into four main stages:
| CPU | RAM | Storage | |
|---|---|---|---|
| Minimum | 2 vCPU | 8 | 20 |
| Recommended | 4 vCPU | 16 | 50 |
| Excellent | 8 vCPU | 32 | 50 |
Download the setup.sh file
curl [<https://raw.githubusercontent.com/tokamak-network/trh-sdk/main/setup.sh>](<https://raw.githubusercontent.com/tokamak-network/trh-sdk/main/setup.sh>) > setup.sh
Run the setup.sh file
chmod +x setup.sh
./setup.sh
Source the shell config
MacOS
source ~/.zshrc
Linux
source ~/.bashrc
Verify the installation
trh-sdk version
## The expected output of this command
v0.0.0-${commit-id}
ℹ️ Please use
sudofor every command for our sdk.
e.g.sudo trh-sdk deploy
Please refer to the troubleshooting guide for common issues. If your issue isn't listed, reach out via help form or Discord.