Landslide
  • 👋Landslide
  • Github
  • Product Guides
    • 🏄Slide SDK
      • Run Landslide Locally
        • How to setup Slide SDK locally
        • Conect your wallet to a local network
        • How to deploy a CosmWasm contract
      • Run Landslide on Testnet
        • How to connect Cosmostation
      • License
      • Security Audit
    • 🦄Landslide EVM
    • ⚙️IBC Light Client
      • Relayer Operator Guide
      • Chain integrators guide
        • Lower than v0.50
        • Higher than v0.50
      • IBC Connection
      • IBC Go
      • IBC Relayer AVAX L1 Proof
    • 🔌RPC
    • 🔄API endpoints
    • ⏭️Avalanche Warp Messaging
  • Integrations
    • 🚀Building with Andromeda
    • ⚛️Connecting Existing Cosmos dApps to Avalanche
      • Case Study: Osmosis
      • ABCI Calls
  • FAQ
    • 🤓FAQ
    • 🛣️Roadmap
  • Overview
    • 💡What is CometBFT?
    • 💡What is Avalanche Consensus?
    • ✨Features
  • Fundamentals
    • 🛠️Getting set up
  • Roadmap
    • 🤝Interchain Staking
Powered by GitBook
LogoLogo

Links

  • Home
  • Twitter

©2024 Gaia Labs LTD

On this page
  • Overview
  • Storage Management

Was this helpful?

Export as PDF
  1. Product Guides
  2. Slide SDK
  3. WasmVM

Storage Mangement

wasmd storage integrated into LandslideSDK

Overview

The Cosmos SDK provides a powerful key-value storage abstraction layer to the developers, making it easier to store and retrieve data in a structured and organized manner. However, the existing CosmosSDK storage layer is written in Go, which is not suitable for smart contracts written in WebAssembly (Wasm).

To address this limitation, the Cosmos SDK integrates with the CosmWasm VM, which provides a Rust-based WasmVM engine for executing Wasm smart contracts. The CosmWasm VM comes with its own storage management system that is specifically designed for smart contracts.

The storage management system in CosmWasm is based on a simple key-value store that is optimized for the needs of smart contracts. It provides efficient and secure storage for the contract state and supports all the necessary operations for creating, reading, updating, and deleting data.

With the LandslideSDK, developers can now take advantage of the CosmWasm VM storage layer in their smart contracts. They can store and retrieve data using the same key-value interface that they are familiar with in the Cosmos SDK. This makes it easier to migrate existing Cosmos SDK applications to the LandslideSDK and take advantage of its advanced features for building smart contracts.

Storage Management

wasmd is the WebAssembly runtime for Cosmos SDK-based blockchains. It enables developers to write smart contracts in any language that compiles to WebAssembly, such as Rust or AssemblyScript, and deploy them on a Cosmos SDK-based chain. These smart contracts can be used to implement custom logic, create new digital assets, and enable inter-blockchain communication through the Inter-Blockchain Communication (IBC) protocol. By providing a secure and efficient way to execute code on a blockchain, wasmd opens up a wide range of possibilities for decentralized applications (dApps) and use cases on the Cosmos ecosystem.

Last updated 2 years ago

Was this helpful?

🏄
🌻