Skip to content

Commit 0dd2c79

Browse files
authored
docs: Add Introduction Section (#331)
* add intro section for the docs * address Tims comments
1 parent 833e14b commit 0dd2c79

File tree

12 files changed

+123
-7
lines changed

12 files changed

+123
-7
lines changed

docs/astro.config.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export default defineConfig({
1616
},
1717
integrations: [
1818
starlight({
19-
title: 'Synapse',
20-
logo: { src: './src/assets/foc-logo.svg', alt: 'synapse' },
19+
title: 'Filecion Onchain Cloud',
20+
logo: { src: './src/assets/foc-logo.svg', alt: 'foc' },
2121
favicon: 'favicon.ico',
2222
customCss: ['./src/custom.css'],
2323
head: [
@@ -82,6 +82,10 @@ export default defineConfig({
8282
label: 'Introduction',
8383
autogenerate: { directory: 'intro' },
8484
},
85+
{
86+
label: 'Getting Started',
87+
autogenerate: { directory: 'gettingStarted' },
88+
},
8589
{
8690
label: 'Guides',
8791
autogenerate: { directory: 'guides' },

docs/src/assets/foc-diagram.png

67.1 KB
Loading

docs/src/content/docs/intro/getting-started.mdx renamed to docs/src/content/docs/gettingStarted/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Getting Started
2+
title: Quick Start
33
description: Learn how to install and use the Synapse SDK.
44
sidebar:
55
order: 0

docs/src/content/docs/intro/components.mdx renamed to docs/src/content/docs/guides/components.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Components
33
description: Learn how to configure the Synapse SDK for different networks.
4+
sidebar:
5+
order: 2
46
---
57

68
All components can be imported and used independently for advanced use cases. The SDK is organized to match the external service structure:

docs/src/content/docs/guides/migration-guide.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Migration guide
33
description: Learn how to migrate to newer versions of the SDK.
4+
sidebar:
5+
order: 0
46
---
57

68

docs/src/content/docs/intro/network-configuration.mdx renamed to docs/src/content/docs/guides/network-configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Network Configuration
33
description: Learn how to configure the Synapse SDK for different networks.
44
sidebar:
5-
order: 2
5+
order: 1
66
---
77

88
### RPC Endpoints

docs/src/content/docs/guides/rails-settlement.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Rails & Settlement
33
description: Guide to payment rails and settlement operations
4+
sidebar:
5+
order: 4
46
---
57

68
Payment rails are the core mechanism for streaming payments between parties in the Synapse ecosystem. They enable continuous, per-epoch payments for services like storage.

docs/src/content/docs/guides/storage.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Storage
33
description: Guides for using the Storage API.
4+
sidebar:
5+
order: 3
46
---
57

68
The Synapse SDK automatically handles all the complexity of storage setup for you - selecting providers, managing data sets, and coordinating with the blockchain.

docs/src/content/docs/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Synapse SDK
3-
description: A JavaScript/TypeScript SDK for interacting with Filecoin Onchain Cloud - a smart-contract based marketplace for storage and other services in the Filecoin ecosystem.
2+
title: Filecoin Onchain Cloud
3+
description: A decentralized cloud platform built on Filecoin that enables developers to store, retrieve, and manage data through smart contracts.
44
template: splash
55
editUrl: false
66
lastUpdated: false
@@ -10,7 +10,7 @@ hero:
1010
file: ../../assets/corgi.png
1111
actions:
1212
- text: Get started
13-
link: intro/getting-started/
13+
link: intro/about/
1414
icon: right-arrow
1515
- text: Star on GitHub
1616
link: https://github.com/FilOzone/synapse-sdk
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: About Filecoin Onchain Cloud
3+
description: Learn about Filecoin Onchain Cloud - a decentralized cloud platform built on Filecoin that enables smart-contract based storage and services.
4+
sidebar:
5+
order: 1
6+
---
7+
8+
Since its launch, [**Filecoin Network**](https://filecoin.io/) has been the backbone for **decentralized data storage**, anchored by its *Proof-of-Replication (PoRep)* model that ensures the integrity of long-term, immutable data. However, as decentralized applications evolve, they demand **faster access, dynamic payments, and cryptographic verification** that can operate within smart contracts.
9+
10+
[**Filecoin Onchain Cloud (FOC)**](https://www.filecoin.cloud/) addresses this next-generation demand by reimagining storage as a **programmable cloud service layer** — where each capability (storage, retrieval, billing, verification) exists as a composable onchain module. These modules can be combined, forked, or extended, giving builders the flexibility to create customized decentralized applications and data-driven services.
11+
12+
Built on the **Filecoin Virtual Machine (FVM)** and powered by a distributed network of verifiable storage providers, Filecoin Onchain Cloud transforms the Filecoin Network from a large-scale cold storage layer into a programmable, service-based data infrastructure.
13+
14+
## Architecture
15+
16+
FOC addresses this next-generation demand by creating composable onchain modules where each capability (storage, retrieval, billing, verification) can be combined, forked, or extended, giving developers the flexibility to create customized decentralized applications and data-driven services. It is built around four fundamental layers:
17+
18+
1. **Warm Storage Services** – Provided by decentralized service providers using the Filecoin Warm Storage Service (FWSS), optimized for accessibility and speed through PDP proofs.
19+
2. **Payment & Settlement Layer** – Managed by Filecoin Pay, enabling flexible, auditable billing flows between clients and providers.
20+
3. **Retrieval Layer** – Powered by Filecoin Beam, enabling fast, CDN-like retrieval with verifiable delivery proofs and pay-per-byte billing.
21+
4. **Developer & Application Layer** – Powered by the Synapse SDK, which abstracts service contracts, data sets, and payment rails into simple APIs usable across web, node, and edge environments.
22+
23+
![Filecoin Onchain Cloud Architecture](../../../assets/foc-diagram.png)
24+
25+
### Key Properties
26+
27+
At its core, Filecoin Onchain Cloud delivers cloud-grade performance and usability with verifiable onchain properties:
28+
29+
- 🔑 **Ownership** — Data, payments, and service logic belong to users and developers, not intermediaries.
30+
- 🔍 **Verifiability** — Every transaction, proof, and interaction is recorded, auditable, and cryptographically verifiable on the Filecoin blockchain.
31+
- ⚙️ **Programmability** — Services are governed by smart contracts that developers can compose, automate, or extend to suit diverse application needs.
32+
33+
This design allows Filecoin to move beyond static data storage — offering real-time data services, decentralized payment flows, and programmable access policies that any developer can integrate through a unified interface.
34+
35+
### Core Components
36+
37+
The Filecoin Onchain Cloud services are built from foundational components that together create a verifiable, service-oriented cloud stack:
38+
39+
- [**Proof of Data Possession (PDP)**](https://github.com/FilOzone/pdp) — The cryptographic proof layer ensuring data storage integrity and retrievability.
40+
- [**Filecoin Pay**](https://github.com/FilOzone/filecoin-pay) — The financial settlement engine that enables programmable payments for onchain services.
41+
- [**Filecoin Beam**](https://docs.filbeam.com/) — The retrieval and delivery network that ensures global accessibility of stored data.
42+
- [**Filecoin Warm Storage Service (FWSS)**](https://github.com/FilOzone/filecoin-services) — The operational layer providing fast, persistent, and verifiable data storage.
43+
44+
Each of these components works independently yet integrates seamlessly through onchain smart contracts and the [**Synapse SDK**](https://github.com/FilOzone/synapse-sdk), forming a cohesive, modular system. Together, they deliver the core properties of a next-generation decentralized cloud: verifiability, programmability, and composability.

0 commit comments

Comments
 (0)