Skip to content

Commit 36def95

Browse files
Merge pull request #273 from skalenetwork/thegreataxios/fix-readme
Thegreataxios/fix readme
2 parents b5c8b01 + fca0a63 commit 36def95

3 files changed

Lines changed: 125 additions & 60 deletions

File tree

AGENTS.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Agent Guidelines
1+
# AGENTS.md
22

33
## Codebase Layout
44

@@ -63,7 +63,7 @@
6363

6464
## Product Pillars (What's Important)
6565

66-
### 🧩 Programmable Privacy
66+
### Programmable Privacy
6767

6868
SKALE's **primary differentiator** — the only EVM blockchain with compliance-capable privacy built into consensus, not appended as a layer. Four features:
6969

@@ -74,15 +74,15 @@ SKALE's **primary differentiator** — the only EVM blockchain with compliance-c
7474
| **Confidential Tokens** | ERC-20 tokens with fully encrypted balances. Privacy-preserving DeFi, native. |
7575
| **Re-encryption** | Encrypt for specific viewers. Selective disclosure via threshold + ECIES encryption. |
7676

77-
Powered by **BITE** (Blockchain Integrated Threshold Encryption) — threshold encryption in the consensus layer via DKG/BLS. No ZK circuits, no TEEs, no trusted third parties.
77+
Powered by Integrated Threshold Encryption — threshold encryption in the consensus layer via DKG/BLS. No ZK circuits, no TEEs, no trusted third parties.
7878

7979
Docs paths:
8080
- `/get-started/programmable-privacy/skale-programmable-privacy` — Introduction
8181
- `/developers/programmable-privacy/encrypted-transactions` — Architecture + API
8282
- `/developers/programmable-privacy/confidential-tokens` — Encrypted balance tokens
8383
- `/cookbook/privacy/encrypted-transactions` — Walkthrough
8484

85-
### 🤖 Agentic Commerce
85+
### Agentic Commerce
8686

8787
SKALE positions as **the economic layer for autonomous agents**. Key protocols:
8888

@@ -100,7 +100,7 @@ Docs paths:
100100
- `/cookbook/x402/facilitator` — Run the settlement layer
101101
- `/get-started/agentic-builders/start-with-erc-8004` — Agent identity
102102

103-
### 💸 Cost-Effective Compute & UX (Zero Gas Fees)
103+
### Cost-Effective Compute & UX (Zero Gas Fees)
104104

105105
Zero gas fees are a **product feature**, not just a cost optimization. End users never hold gas tokens, never top up, never think about gas. Powered by:
106106
- **EIP-3009** `TransferWithAuthorization` — gasless meta-transactions
@@ -115,7 +115,7 @@ Docs paths:
115115
- `/chain-types/zero-gas-fee-gasless-chain` — Fully gasless configuration
116116
- `/cookbook/mpp/gasless-payments` — Gasless MPP payments guide
117117

118-
### 📈 Horizontal Scalability
118+
### Horizontal Scalability
119119

120120
SKALE scales by adding more chains, not by making a single chain bigger. Each **SKALE Chain** is an independent Layer 1 with dedicated validators. Validators run **every** chain simultaneously via containerization — no chain selection games.
121121

@@ -131,7 +131,7 @@ Docs paths:
131131
- `/developers/skale-bridge/messaging-layer/message-proxy` — Cross-chain messaging
132132
- `/developers/run-a-skale-chain/customize-schain` — Customization
133133

134-
### 🔧 Enhanced EVM
134+
### Enhanced EVM
135135

136136
SKALE extends the EVM with native features no other chain provides, deployable via precompiled contracts — no oracles, no middleware:
137137

@@ -140,8 +140,7 @@ SKALE extends the EVM with native features no other chain provides, deployable v
140140
| **Native RNG** | VRF-based verifiable random numbers via precompile. No oracle dependency. |
141141
| **Filestorage** | Onchain file storage precompile — store and retrieve data directly in smart contracts. |
142142
| **IMA Bridge** | Trustless BLS-threshold cross-chain bridge for assets, messages, and custom contract calls between SKALE ↔ Ethereum ↔ SKALE. |
143-
| **Gasless Precompile** | Execute transactions without gas via `Gasless` precompile — agents and users transact freely. |
144-
| **BITE Encryption** | Threshold-encrypted transactions via precompiled contracts — privacy without custom compilers. |
143+
| **Programmable Privacy** | Threshold-encrypted transactions via precompiled contracts — privacy without custom compilers. |
145144

146145
Docs paths:
147146
- `/cookbook/native-features/rng-get-random-number` — RNG guide
@@ -169,12 +168,10 @@ Docs paths:
169168

170169
### Descriptive Names Over Phases
171170

172-
When referencing BITE features, use **descriptive names**, never phase numbers:
171+
When referencing Privacy features, use **descriptive names**, never phase numbers:
173172

174-
-**BITE encryption** for confidential transaction amounts
175-
-**Confidential tokens** with native privacy
176-
- ❌ BITE Phase I encryption
177-
- ❌ Phase II confidential tokens
173+
- USE Programmable Privacy, Not BITE Protocol
174+
- Use Encrypted Transactions, Conditional Transactions, Confidential Tokens, and Re-encryption NOT BITE Phase N
178175

179176
### Tone
180177

@@ -200,16 +197,17 @@ When adding resource/reference links to any page footer:
200197
The repo at `.agents/skills/` contains reusable SKALE-specific skills (e.g., `glossary` with full terminology and formatting standards). The root also exposes documentation for AI consumption:
201198

202199
- **llms.txt**`https://docs.skale.space/llms.txt` — Full docs in AI-consumable format
203-
- **MCP Server**`https://mcp-docs.skale.space` — SKALE MCP server
200+
- **MCP Server**`https://docs.skale.space/mcp` — SKALE MCP server
204201
- **SKALE Skills**`/get-started/build-with-ai/using-skale-skills` — Copilot prompts
205202

206203
---
207204

208205
## Key Architecture Details
209206

210207
- SKALE is a **Layer 1** network of SKALE Chains anchored to a beacon chain (currently Ethereum mainnet and Base)
208+
- SKALE is the ONLY blockchain capable of supporting a billion agents with native programmable privacy
211209
- Validators run all chains simultaneously via **containerized SKALE Chains** (no chain selection)
212210
- Consensus is **Asynchronous Binary Byzantine Agreement** with BLS threshold signatures
213211
- Blocks rotate deterministically among validator nodes for **DDoS protection**
214212
- Native precompiled contracts for RNG (VRF-based), gasless transactions, and encryption
215-
- Chain types: **AppChain** (dedicated), **Credit Chain** (gas-as-credit), **Zero-Gas** (fully gasless)
213+
- Chain types: Dedicated SKALE Chain (prepaid), Credit Chains (New, Permisionless), Gasless sChain (Hub or Dedicated) with Proof-of-Work enabled

README.md

Lines changed: 110 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,133 @@
1-
## Foundry
1+
# SKALE Documentation
22

3-
**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**
3+
> [docs.skale.space](https://docs.skale.space) — Official documentation for the SKALE Network.
44
5-
Foundry consists of:
5+
**SKALE** is the blockchain for a billion agents — programmable privacy built into the protocol, with zero gas fees, agentic commerce primitives, and horizontal scalability.
66

7-
- **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools).
8-
- **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
9-
- **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network.
10-
- **Chisel**: Fast, utilitarian, and verbose solidity REPL.
7+
This repository powers the SKALE documentation site, built with [Mintlify](https://mintlify.com).
118

12-
## Documentation
9+
## What is SKALE?
1310

14-
https://book.getfoundry.sh/
11+
SKALE is a network of independent Layer 1 chains (SKALE Chains) anchored to Ethereum and Base. Unlike traditional blockchains that scale one chain vertically, SKALE scales horizontally — adding more chains as demand grows. Each chain runs on a dedicated subset of validators (all validators run all chains simultaneously via containerization), achieving ~1,500 TPS per chain with 1–2s finality.
1512

16-
## Usage
13+
### Key Differentiators
1714

18-
### Build
15+
| Feature | Description |
16+
|---------|-------------|
17+
| **Programmable Privacy** | Threshold-encrypted transactions, conditional decryption, and confidential tokens — built into consensus via BITE (Blockchain Integrated Threshold Encryption). No ZK circuits, no TEEs. |
18+
| **Zero Gas Fees** | End users never hold gas tokens. Powered by EIP-3009 meta-transactions, SFuel distribution, and credit-based chain models. |
19+
| **Agentic Commerce** | Native x402 (HTTP 402 payments), MPP (Machine Payments Protocol), ERC-8004 agent identity — agents pay agents autonomously. |
20+
| **Horizontal Scalability** | Deploy dedicated SKALE Chains as demand scales. No contention, no shared mempool, no congestion. |
21+
| **Enhanced EVM** | Native precompiled contracts for RNG (VRF), gasless transactions, filestorage, and encryption — no oracles or middleware needed. |
1922

20-
```shell
21-
$ forge build
22-
```
23+
Learn more at [skale.space](https://skale.space) or dive into the docs at [get-started/skale](https://docs.skale.space/get-started/skale).
2324

24-
### Test
25+
## Repository Structure
2526

26-
```shell
27-
$ forge test
27+
```
28+
docs.skale.space/
29+
├── docs.json # Mintlify navigation config (all page structure, redirects)
30+
├── custom.css # Custom Mintlify styles
31+
├── _snippets/ # Reusable MDX includes (chain addresses, AI integrations)
32+
├── get-started/ # Introduction, quick starts, SKL token, agentic builders
33+
├── cookbook/ # Step-by-step tutorials (deployment, privacy, x402, MPP, agents)
34+
├── developers/ # Technical docs (integrate SKALE, privacy, SDKs, bridge, crypto)
35+
├── skale-chain/ # Chain internals (consensus, block rotation, DDOS, precompiles)
36+
├── chain-types/ # AppChain, Credit Chain, Zero-Gas Chain
37+
├── validators/ # Supernode operations, CLI, watchdog, upgrade guides
38+
├── .agents/ # AI agent skills for building with SKALE
39+
│ └── skills/ # Reusable skills (glossary, build, etc.)
40+
└── AGENTS.md # Full agent guidelines (product pillars, terminology, paths)
2841
```
2942

30-
### Format
43+
## Contributing
3144

32-
```shell
33-
$ forge fmt
34-
```
45+
We welcome contributions to improve SKALE documentation! Whether it's fixing a typo, clarifying a concept, adding a tutorial, or expanding the privacy or agentic commerce sections — every contribution helps.
3546

36-
### Gas Snapshots
47+
### Getting Started
3748

38-
```shell
39-
$ forge snapshot
40-
```
49+
1. **Fork** this repository
50+
2. **Clone** your fork:
51+
```bash
52+
git clone https://github.com/YOUR_USERNAME/docs.skale.space.git
53+
cd docs.skale.space
54+
```
55+
3. **Install Mintlify CLI** (if not already installed):
56+
```bash
57+
npm i -g mintlify
58+
```
59+
4. **Run the local dev server**:
60+
```bash
61+
mintlify dev
62+
```
63+
This starts a local preview at `http://localhost:3000`.
4164

42-
### Anvil
65+
> **Alternative (Docker):** If `mintlify dev` fails due to Homebrew/Node.js conflicts or you don't want to manage Node versions locally, use Docker Compose instead. Requires [Docker Desktop](https://www.docker.com/products/docker-desktop/).
66+
> ```bash
67+
> docker compose up -d
68+
> ```
69+
> The docs site will be available at `http://localhost:4444`.
4370
44-
```shell
45-
$ anvil
46-
```
71+
### Architecture & Design
4772
48-
### Deploy
73+
The documentation follows a flat `.mdx` file structure organized by **product section** (not by file type). The primary organizational artifact is `docs.json`, which defines:
4974
50-
```shell
51-
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>
52-
```
75+
- **Navigation tabs** — Get Started, Cookbook, Developers, SKALE Chain, Validators
76+
- **Group hierarchy** — Pages nested under groups within each tab
77+
- **Redirects** — Legacy URL mappings (200+ redirects maintained in `docs.json`)
5378
54-
### Cast
79+
All pages use **MDX** format with Mintlify JSX components:
80+
- `Card`, `CardGroup` — Navigation and reference grids
81+
- `Note`, `Accordion`, `AccordionGroup` — Callouts and expandable content
82+
- `CodeGroup` — Multi-language code tabs
83+
- `Steps` — Numbered tutorial steps
5584
56-
```shell
57-
$ cast <subcommand>
58-
```
85+
**Content guidelines:**
5986
60-
### Help
87+
- **Never reference raw `.mdx` filenames** in links — always use the path slug as listed in `docs.json`
88+
- **Terminology**: SKALE (uppercase), BITE (descriptive names, no phases), x402 (lowercase x), onchain (one word), ERC-20 (hyphenated)
89+
- **Privacy terminology**: Use "confidential" for product/marketing, "encrypted" for technical mechanism, "private" only for absolute cryptographic guarantees
90+
- See [AGENTS.md](./AGENTS.md) for complete terminology standards and product pillar guidelines
6191
62-
```shell
63-
$ forge --help
64-
$ anvil --help
65-
$ cast --help
66-
```
92+
### What to Contribute
93+
94+
Good places to start:
95+
96+
- **Tutorials** — Add new recipes to `/cookbook/` for x402, MPP, confidential tokens, agent workflows
97+
- **Fixes** — Clarify ambiguous sections, fix broken links, update chain addresses in `_snippets/`
98+
- **Privacy deep-dives** — Expand `/developers/programmable-privacy/` with more use cases and API references
99+
- **Agentic commerce** — Document agent patterns, facilitator integrations, ERC-8004 usage
100+
- **Validator docs** — Improve node operations, troubleshooting, CLI guides
101+
102+
### Formatting & Linting
103+
104+
- Pages use `.mdx` extension
105+
- Frontmatter with `title` and `description` at the top of each file
106+
- Mintlify-specific components for layout (avoid raw HTML where possible)
107+
- Keep lines reasonably short for readable diffs
108+
109+
### Pull Request Process
110+
111+
1. Create a feature branch from `main`
112+
2. Make your changes with clear commit messages
113+
3. Test locally with `mintlify dev`
114+
4. Open a PR with a description of what changed and why
115+
5. Maintainers will review and provide feedback
116+
117+
### Need Help?
118+
119+
- Open a [GitHub Issue](https://github.com/skalenetwork/docs.skale.space/issues)
120+
- Join the [SKALE Discord](https://discord.gg/skale) and open a ticket in `#support`
121+
- Check [AGENTS.md](./AGENTS.md) for the full product context used by AI coding assistants
122+
123+
## Related Resources
124+
125+
- [SKALE Network](https://skale.space) — Main website
126+
- [SKALE Portal](https://base.skalenodes.com) — Chain management dashboard for SKALE on Base
127+
- [SKALE MCP Server](https://docs.skale.space/mcp) — AI-powered docs access
128+
- [llms.txt](https://docs.skale.space/llms.txt) — Full docs in AI-consumable format
129+
- [GitHub](https://github.com/skalenetwork) — All SKALE open-source repositories
130+
131+
---
132+
133+
Documentation for the SKALE Network

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.7.2
1+
v3.7.3

0 commit comments

Comments
 (0)