This project includes a set of scripts and configurations to set up and manage a Raiko instance.
Prerequisites can be found in the README_Docker_and_RA.md.
Supports mainnet and holesky networks.
To use ECDSA Attestation, you need to subscribe to the Intel PCS service, following the steps in Intel's how-to guide. After subscribing to the service, you will receive two keys: a primary API key and a secondary API key.
git clone https://github.com/lagunovsky/raiko-sn.gitcd simple-raiko-node
./manage setup- You may have to log in again. If this happens, just run the command again.
- PCCS password can be left empty if you do not have one.
HISTIGNORE="manage setup" \
DEBIAN_FRONTEND=noninteractive \
INTEL_API_KEY= \
PRIVATE_KEY= \
./manage setupAvailable variables
| Variable | Optional | Available Value | Default |
|---|---|---|---|
| INTEL_API_KEY | No | ||
| PRIVATE_KEY | No | ||
| RAIKO_SN_RAIKO_IMAGE | Yes | raiko |
|
| RAIKO_SN_PCCS_IMAGE | Yes | pccs |
|
| RAIKO_SN_IMAGES_TAG | Yes | latest |
|
| RAIKO_SN_RAIKO_PORT | Yes | 8080 |
|
| SPECIFY_NETWORK | Yes | Y / N |
Y |
| RAIKO_SN_L1_NETWORK | Yes | holesky / ethereum |
holesky |
| RAIKO_SN_NETWORK | Yes | taiko_a7 / taiko_mainnet |
taiko_a7 |
| RAIKO_SN_ETHEREUM_RPC | Yes | ||
| RAIKO_SN_ETHEREUM_BEACON_RPC | Yes | ||
| RAIKO_SN_HOLESKY_RPC | Yes | ||
| RAIKO_SN_HOLESKY_BEACON_RPC | Yes | ||
| RAIKO_SN_TAIKO_MAINNET_RPC | Yes | ||
| RAIKO_SN_TAIKO_A7_RPC | Yes | ||
| COLLECT_METRICS | Yes | Y / N |
Y |
| RAIKO_SN_PROMETHEUS_PORT | Yes | 9090 |
|
| RAIKO_SN_GRAFANA_PORT | Yes | 3000 |
|
| REGISTER_AGAIN | Yes | Y / N |
N |
| BUILD_AGAIN | Yes | Y / N |
N |
| PULL_AGAIN | Yes | Y / N |
N |
| L1_RPC | Yes | https://rpc.ankr.com/eth[_holesky] (depends on RAIKO_SN_L1_NETWORK) |
|
| GAS_PRICE | Yes |
If Raiko is already installed by instructions from the README_Docker_and_RA.md, all you
need is to stop the running raiko instance by docker compose down.
./manage setup- prepare, check, configure, and register in one command./manage prepare- install dependencies./manage check- check FMSPC./manage configure- generate configuration files (.env, certificates, etc.)./manage register- register your node onchain (can be used for re-registration)./manage verify- verify that your raiko instance is running properly./manage reset- removes all user data and restores the source code to its original state