Crust Supports Astar Ecosystem as its Storage Infrastructure!

Crust Network
CrustNetwork
Published in
3 min readNov 1, 2023

We’re elated to announce that Crust now stands as the foundational storage architecture bolstering the growth of the Astar ecosystem. We warmly invite all users and developers within the Astar landscape to leverage Polkadot’s XCMP channel, ensuring seamless data storage or pinning within the Crust network.

Polkadot’s trailblazing Cross-chain Message Passing protocol (XCMP) stands out as a pivotal innovation within its ecosystem. XCMP fosters consensus-driven communication between one parachain and another.

Being a prominent dStorage entity in the Polkadot arena, Crust is engineered atop Substrate. It introduces a native cross-chain communication pallet founded on XCMP, termed xStorage. Delving into xStorage’s fundamentals:

This pallet empowers all substrate-based parachains to:

  • Dispatch storage request messages (Extrinsics) to Crust.
  • Offset storage expenses on Crust employing native tokens via the xToken module.

For the XCM Transact of the xStorage pallet:

```rust

let place_storage_order = (storage_pallet_id, method_id, cid, size).encode();

let transact = Xcm::Transact {

origin_type: OriginKind::Superuser,

require_weight_at_most: 1_000,

call: place_storage_order.into()

};

T::XcmpMessageSender::send_xcm(MultiLocation::X2(Junction::Parent, Junction::Parachain(CrustChainId)), transact).map_err(|_| Error::<T>::FailedToSend)?;

```

More info can be found here:

[https://wiki.crust.network/docs/en/buildXCMPBasedCrossChainSolution]

From Crust’s perspective:

Upon receipt of the XCMs by Crust’s collator, Crust’s innovative DSM (Decentralized Storage Market) protocol will address the storage requests, invoicing the cross-chain storage fees accordingly. Subsequently, all IPFS nodes under Crust’s purview spring into action, drawing the data for consensus.

Currently, with Crust’s formidable backing, Astar has unveiled an NFT minting Dapp demo tailored for developers.

Discover it here:

[https://evm-nft-contract-poc-ui.vercel.app/#/]

It’s evident that minting an NFT within Astar is a straightforward endeavor, encompassing just a handful of steps. Notably, throughout the NFT minting procedure, image storage and Pinning service are adeptly facilitated by Crust.

Such a process anchors your data robustly to the network, ensuring perennial accessibility. The act of pinning requires a payment — once for the image and again for the metadata file — and incorporates an XCM transfer to the Crust Network.

Scrutinizing the smart contract Crust anchored on Shiden reveals two xcmtransactor function calls. One handles the SDN transfer to settle all pinning dues, and the other undertakes pinning as a remote transaction call.

For a deeper dive and comprehensive insights, refer to this article:

[https://docs.astar.network/docs/build/builder-guides/leverage_parachains/mint-nfts-crust/]

About Crust

Crust Network is a layer 1 blockchain built on substrate that incentivizes the creation of storage orders, and storage node use on the IPFS network. By utilizing blockchain technology, Crust Network has become one of the largest decentralized cloud storage systems which can host a variety of websites, dApps, NFT’s, and personal files with ease. Currently, Crust has 1,000+ global nodes and 700+PB of total storage capacity! With our proprietary algorithm Crust was able to create the first decentralized storage marketplace whereby consumers are able to efficiently store their data with 0 permissions.

Website | Twitter |Wiki | Telegram |GitHub | Discord

About Astar

Astar Network is a dApp hub on Polkadot that supports Ethereum, WebAssembly, and layer 2 solutions like ZK Rollups. Astar aims to be a multi-chain smart contract platform that will support multiple blockchains and virtual machines.

Website| Medium | Twitter | Github| Discord | Telegram

--

--

Crust Network
CrustNetwork

Crust Network is a decentralized cloud storage provider which was designed to realize our three core values: decentralization, privacy, and assurance.