You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop/toolkit/integrations/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
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.
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.
@@ -610,7 +611,8 @@ The [`XcmRouter`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pa
610
611
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.
611
612
612
613
```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.
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.
14342
14344
template: index-page.html
14343
14345
---
14344
14346
@@ -14438,6 +14440,71 @@ While simple oracle implementations may rely on a single trusted provider, more
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.
0 commit comments