CLRTY-1 Mainnet → Clarity Documentation → Service Repos & Skill Plugs
How to clone, configure, smoke-test, and plug the nine clarity-fintech services into CLRTY-1. Each repo vendors a multi-endpoint CLRTY-1 probe (RPC → API chain affirm → exchange /health) so services stay linked when rpc.clarity-fintech.com returns Cloudflare 1033.
<aside> <img src="g" alt="g" width="40px" />
Where validators exist (read first): Where Validators Exist
On Proof-of-Stake chains (primary use case): validators replace miners — they stake tokens instead of using compute power. These services connect to CLRTY-1, which has validators (no miners) with PoC bonding of CLRTY.
</aside>
| Field | Value |
|---|---|
| Chain | clrty-1 |
| Numeric | 1202 |
| Denom | uclrty (9 decimals) |
| RPC env | CLRTY_L1_RPC / CLRTY_L1_RPC_URL |
| API env | CLRTY_API_BASE |
| Live affirm | https://exchange.clarity-fintech.com/health |
| Offline CI | CLRTY_RPC_SMOKE=0 |
export CLRTY_L1_RPC="https://rpc.clarity-fintech.com"
export CLRTY_API_BASE="https://api.clarity-fintech.com"
export CLRTY_L1_CHAIN_ID="clrty-1"
export CLRTY_L1_NUMERIC_CHAIN_ID="1202"
Every TypeScript service includes src/clrty1.ts with probeClrty1() / connection report. Security stubs: security/ebpf/filters.yaml (deny-by-default), security/CHECKLIST.md, manifests/skill.json.
| Repo | Skill ID | Role |
|---|---|---|
| CLRTY-Quality-Gate | CLRTY-QG-001 | Sonar/security gate + CLRTY-1 smoke |
| CLRTY-Compiler-Bridge | CLRTY-CB-001 | LLVM/IR emit stub; probe before emit |
| CLRTY-Reasoning | CLRTY-RC-001 | LLM + tx patterns → yield strategies |
| CLRTY-FX-Oracle | CLRTY-FX-001 | Pyth → fee/slippage + tip context |
| CLRTY-Global-Router | CLRTY-GR-001 | L1-first routes; CCIP/1inch/Fireblocks mocks |
| CLRTY-Audit-Bot | CLRTY-AB-001 | Sentry ↔ Linear + tip enrich |
| CLRTY-1-ALE-Atomic-Liquidity | CLRTY-ALE-001 | Signal → 1inch → USDT settle log |
| CLRTY-NLE-Gated- | CLRTY-NLE-002 | Native $CLRTY settle + gate |
| CLRTY-IDE-Sync-Architecture-Anthropedic | CLRTY-IDE-003 | clrty-sync CLI + Anthropedic/OpenSearch mocks |
gh auth switch --user clarity-fintech # or ensure clarity-fintech token
for r in \
CLRTY-Quality-Gate \
CLRTY-Compiler-Bridge \
CLRTY-Reasoning \
CLRTY-FX-Oracle \
CLRTY-Global-Router \
CLRTY-Audit-Bot \
CLRTY-1-ALE-Atomic-Liquidity \
CLRTY-NLE-Gated- \
CLRTY-IDE-Sync-Architecture-Anthropedic
do
gh repo clone "clarity-fintech/$r"
cd "$r"
if [ -f package.json ]; then
npm ci || npm install
npm test # CLRTY_RPC_SMOKE=0 in CI
npm run smoke || true # live multi-endpoint probe
npm run test:live || true
npm run build
else
cargo test
cargo run --bin smoke-clrty1 || true
CLRTY_LIVE=1 cargo test --test clrty1_live || true
fi
cd ..
done
Repo: https://github.com/clarity-fintech/CLRTY-Quality-Gate
Enforces coding/security patterns; blocks on missing eBPF policy / chain pin failures.
git clone https://github.com/clarity-fintech/CLRTY-Quality-Gate.git
cd CLRTY-Quality-Gate
npm ci
npm test
npm run gate -- --no-smoke # offline
npm run smoke # live CLRTY-1 affirm
# Plug into CI
npx vitest run
npm run gate