Skip to content

Commit 727c067

Browse files
committed
add storage solutions
1 parent 478c327 commit 727c067

File tree

4 files changed

+133
-4
lines changed

4 files changed

+133
-4
lines changed

develop/toolkit/integrations/.nav.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ nav:
33
- index.md
44
- 'Wallets': wallets.md
55
- 'Indexers': indexers.md
6-
- 'Oracles': oracles.md
6+
- 'Oracles': oracles.md
7+
- 'Storage': storage.md

develop/toolkit/integrations/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Integrations
3-
description: Explore fundamental integrations in the Polkadot ecosystem, including indexers for querying blockchain data, oracles for external data, and wallets.
3+
description: Explore key Polkadot integrations like indexers, oracles, decentralized storage, and wallets to enhance your dApps and access external data.
44
template: index-page.html
55
---
66

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Storage
3+
description: 'Explore decentralized storage solutions for your Polkadot dApp. Learn about key integrations like Crust and IPFS for robust, censorship-resistant data.'
4+
---
5+
6+
# Storage Integrations
7+
8+
Polkadot provides developers with a variety of decentralized storage solutions to manage dApp data, host frontends, and store large files in a censorship-resistant and resilient manner. These integrations are essential for building fully decentralized applications, ensuring that all components of your dApp, from the front-end to the data, are not reliant on centralized servers.
9+
10+
## Key Storage Solutions
11+
12+
By leveraging decentralized storage, you can enhance the security, reliability, and censorship resistance of your dApps. Polkadot's ecosystem offers several options, allowing you to choose the best fit for your specific needs.
13+
14+
### In This Section
15+
16+
- **[Crust Network](#crust-network):** A decentralized storage network that provides an incentive layer for IPFS.
17+
- **[IPFS](#ipfs):** A foundational peer-to-peer protocol for decentralized file storage.
18+
- **[Other Solutions](#other-solutions):** A brief overview of other storage options in the ecosystem.
19+
20+
---
21+
22+
## Crust Network
23+
24+
[Crust Network](https://crust.network/){target=\_blank} is a decentralized storage protocol built using the Polkadot SDK that serves as an incentive layer for IPFS. As a parachain in the Polkadot ecosystem, Crust provides a comprehensive set of tools and services for decentralized storage.
25+
26+
### Key Features of Crust
27+
28+
- **Decentralized and Immutable:** Crust leverages a global network of nodes to provide a truly decentralized storage layer, ensuring data immutability and high availability.
29+
- **IPFS-based:** Crust is built on top of IPFS, providing a robust and widely-used foundation for file storage. It enhances IPFS with an incentive layer, guaranteeing data persistence and replication.
30+
- **Cross-Chain Interoperability:** Through Polkadot's XCM, Crust can offer storage services to other parachains, and it also supports EVM-compatible chains, enabling seamless integration with a wide range of dApps.
31+
- **Developer-Friendly:** Crust offers a suite of tools, including an S3-compatible gateway, a GitHub-like application for decentralized code repositories, and various SDKs to simplify the integration process.
32+
33+
### Use Cases
34+
35+
- **dApp Hosting:** Deploy your dApp's frontend on Crust for a fully decentralized solution.
36+
- **NFT Storage:** Store NFT metadata and assets in a persistent and decentralized manner.
37+
- **File Storage and Sharing:** Build decentralized applications for file storage and sharing, similar to traditional cloud storage services.
38+
39+
---
40+
41+
## IPFS
42+
43+
The [InterPlanetary File System (IPFS)](https://ipfs.tech/){target=\_blank} is a peer-to-peer hypermedia protocol designed to make the web faster, safer, and more open. It is a foundational technology for the decentralized web, and many storage solutions, including Crust, are built upon it.
44+
45+
### How IPFS Works
46+
47+
IPFS uses **content-addressing** instead of location-addressing. When you add a file to IPFS, it is given a unique cryptographic hash called a Content Identifier (CID). This means that the content itself determines its address, making it verifiable and permanent.
48+
49+
### Using IPFS with Polkadot
50+
51+
While IPFS is a standalone protocol, it can be integrated into your Polkadot dApp in several ways:
52+
53+
- **Off-Chain Data Storage:** Store large files, such as images, videos, and documents, off-chain on IPFS to reduce on-chain storage costs and improve performance.
54+
- **Frontend Hosting:** Host your dApp's frontend on IPFS to ensure that it remains accessible and censorship-resistant.
55+
- **Integration with Storage Networks:** Use services like Crust Network or other pinning services to ensure your IPFS data is always available and replicated across multiple nodes.
56+
57+
---
58+
59+
## Other Solutions
60+
61+
In addition to Crust and IPFS, the Polkadot ecosystem is home to other emerging storage solutions. Projects like **Aleph.im** and **Chainsafe's Files** also offer decentralized storage services that can be integrated with your Polkadot dApp. As the ecosystem continues to grow, more storage options will become available, providing developers with a wide range of choices to meet their needs.

llms.txt

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Doc-Page: https://docs.polkadot.com/develop/toolkit/
7171
Doc-Page: https://docs.polkadot.com/develop/toolkit/integrations/
7272
Doc-Page: https://docs.polkadot.com/develop/toolkit/integrations/indexers/
7373
Doc-Page: https://docs.polkadot.com/develop/toolkit/integrations/oracles/
74+
Doc-Page: https://docs.polkadot.com/develop/toolkit/integrations/storage/
7475
Doc-Page: https://docs.polkadot.com/develop/toolkit/integrations/wallets/
7576
Doc-Page: https://docs.polkadot.com/develop/toolkit/interoperability/asset-transfer-api/
7677
Doc-Page: https://docs.polkadot.com/develop/toolkit/interoperability/asset-transfer-api/overview/
@@ -610,7 +611,8 @@ The [`XcmRouter`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pa
610611
For instance, the Kusama network employs the [`ChildParachainRouter`](https://paritytech.github.io/polkadot-sdk/master/polkadot_runtime_common/xcm_sender/struct.ChildParachainRouter.html){target=\_blank}, which restricts routing to [Downward Message Passing (DMP)](https://wiki.polkadot.network/learn/learn-xcm-transport/#dmp-downward-message-passing){target=\_blank} from the relay chain to parachains, ensuring secure and controlled communication.
611612

612613
```rust
613-
// Only one router so far - use DMP to communicate with child parachains.
614+
pub type XcmRouter = WithUniqueTopic<(
615+
// Only one router so far - use DMP to communicate with child parachains.
614616
ChildParachainRouter<Runtime, XcmPallet, PriceForChildParachainDelivery>,
615617
)>;
616618
```
@@ -14338,7 +14340,7 @@ Doc-Content: https://docs.polkadot.com/develop/toolkit/integrations/
1433814340
--- BEGIN CONTENT ---
1433914341
---
1434014342
title: Integrations
14341-
description: Explore fundamental integrations in the Polkadot ecosystem, including indexers for querying blockchain data, oracles for external data, and wallets.
14343+
description: Explore key Polkadot integrations like indexers, oracles, decentralized storage, and wallets to enhance your dApps and access external data.
1434214344
template: index-page.html
1434314345
---
1434414346

@@ -14438,6 +14440,71 @@ While simple oracle implementations may rely on a single trusted provider, more
1443814440
</div>
1443914441
--- END CONTENT ---
1444014442

14443+
Doc-Content: https://docs.polkadot.com/develop/toolkit/integrations/storage/
14444+
--- BEGIN CONTENT ---
14445+
---
14446+
title: Storage
14447+
description: 'Explore decentralized storage solutions for your Polkadot dApp. Learn about key integrations like Crust and IPFS for robust, censorship-resistant data.'
14448+
---
14449+
14450+
# Storage Integrations
14451+
14452+
Polkadot provides developers with a variety of decentralized storage solutions to manage dApp data, host frontends, and store large files in a censorship-resistant and resilient manner. These integrations are essential for building fully decentralized applications, ensuring that all components of your dApp, from the front-end to the data, are not reliant on centralized servers.
14453+
14454+
## Key Storage Solutions
14455+
14456+
By leveraging decentralized storage, you can enhance the security, reliability, and censorship resistance of your dApps. Polkadot's ecosystem offers several options, allowing you to choose the best fit for your specific needs.
14457+
14458+
### In This Section
14459+
14460+
- **[Crust Network](#crust-network):** A decentralized storage network that provides an incentive layer for IPFS.
14461+
- **[IPFS](#ipfs):** A foundational peer-to-peer protocol for decentralized file storage.
14462+
- **[Other Solutions](#other-solutions):** A brief overview of other storage options in the ecosystem.
14463+
14464+
---
14465+
14466+
## Crust Network
14467+
14468+
[Crust Network](https://crust.network/){target=\_blank} is a decentralized storage protocol built using the Polkadot SDK that serves as an incentive layer for IPFS. As a parachain in the Polkadot ecosystem, Crust provides a comprehensive set of tools and services for decentralized storage.
14469+
14470+
### Key Features of Crust
14471+
14472+
- **Decentralized and Immutable:** Crust leverages a global network of nodes to provide a truly decentralized storage layer, ensuring data immutability and high availability.
14473+
- **IPFS-based:** Crust is built on top of IPFS, providing a robust and widely-used foundation for file storage. It enhances IPFS with an incentive layer, guaranteeing data persistence and replication.
14474+
- **Cross-Chain Interoperability:** Through Polkadot's XCM, Crust can offer storage services to other parachains, and it also supports EVM-compatible chains, enabling seamless integration with a wide range of dApps.
14475+
- **Developer-Friendly:** Crust offers a suite of tools, including an S3-compatible gateway, a GitHub-like application for decentralized code repositories, and various SDKs to simplify the integration process.
14476+
14477+
### Use Cases
14478+
14479+
- **dApp Hosting:** Deploy your dApp's frontend on Crust for a fully decentralized solution.
14480+
- **NFT Storage:** Store NFT metadata and assets in a persistent and decentralized manner.
14481+
- **File Storage and Sharing:** Build decentralized applications for file storage and sharing, similar to traditional cloud storage services.
14482+
14483+
---
14484+
14485+
## IPFS
14486+
14487+
The [InterPlanetary File System (IPFS)](https://ipfs.tech/){target=\_blank} is a peer-to-peer hypermedia protocol designed to make the web faster, safer, and more open. It is a foundational technology for the decentralized web, and many storage solutions, including Crust, are built upon it.
14488+
14489+
### How IPFS Works
14490+
14491+
IPFS uses **content-addressing** instead of location-addressing. When you add a file to IPFS, it is given a unique cryptographic hash called a Content Identifier (CID). This means that the content itself determines its address, making it verifiable and permanent.
14492+
14493+
### Using IPFS with Polkadot
14494+
14495+
While IPFS is a standalone protocol, it can be integrated into your Polkadot dApp in several ways:
14496+
14497+
- **Off-Chain Data Storage:** Store large files, such as images, videos, and documents, off-chain on IPFS to reduce on-chain storage costs and improve performance.
14498+
- **Frontend Hosting:** Host your dApp's frontend on IPFS to ensure that it remains accessible and censorship-resistant.
14499+
- **Integration with Storage Networks:** Use services like Crust Network or other pinning services to ensure your IPFS data is always available and replicated across multiple nodes.
14500+
14501+
---
14502+
14503+
## Other Solutions
14504+
14505+
In addition to Crust and IPFS, the Polkadot ecosystem is home to other emerging storage solutions. Projects like **Aleph.im** and **Chainsafe's Files** also offer decentralized storage services that can be integrated with your Polkadot dApp. As the ecosystem continues to grow, more storage options will become available, providing developers with a wide range of choices to meet their needs.
14506+
--- END CONTENT ---
14507+
1444114508
Doc-Content: https://docs.polkadot.com/develop/toolkit/integrations/wallets/
1444214509
--- BEGIN CONTENT ---
1444314510
---

0 commit comments

Comments
 (0)