Skip to main content

Modules

Overview

This guide provides an in-depth look into the Flux modules used within the AstroMesh ecosystem. Each module is designed to integrate seamlessly with various virtual machines (VMs), enabling efficient and comprehensive interaction across different blockchain environments. The modules include SVM, EVM, WasmVM, AstroMesh, and Strategy.

Flux Modules

EVM Module

The EVM (Ethereum Virtual Machine) module makes use of the evmone library, a highly performant EVM implementation written in C. It includes advanced analysis features and provides a complete feature set and compatibility with the native Ethereum network.

  • Library: evmone
  • Features: High performance, advanced analysis
  • Compatibility: Native Ethereum network

SVM Module

The SVM (Sealevel Virtual Machine) module utilizes the Golana C library developed by FluxLabs, the first SVM library compatible with the Cosmos architecture. This module offers a complete feature set and compatibility with the native Solana network, enabling developers to leverage Solana's capabilities within the Astromesh ecosystem.

  • Library: Golana
  • Features: Full feature set of the native Solana network
  • Compatibility: native Solana network

Wasm Module

The Wasm module uses the default CosmWasm module, which is widely recognized for its robustness and reliability in executing WebAssembly (Wasm) smart contracts.

  • Library: CosmWasm
  • Features: Standard Wasm execution
  • Compatibility: Cosmos ecosystem

Astromesh Module

The AstroMesh module acts as a proxy to interact seamlessly not only with all VM modules, but for all builtin Cosmos modules. It integrates the Flux Instruction Set (FIS) to enable Nexus Transactions, facilitating efficient and unified interactions across different VMs.

  • Function: Proxy for VM interactions
  • Integration: Flux Instruction Set (FIS)
  • Features: Enables Nexus transactions

Strategy Module

The Strategy module implements fisWasmVM, handling Nexus Bot management and interaction logic. It leverages the Flux Instruction Set (FIS) to enable Nexus transactions within the bots and supports real-time queries.

  • Library: fisWasmVM
  • Functions: Nexus bot management, interaction logic
  • Features: Nexus transactions, real-time queries, Nexus Bots

Oracle Module

The Oracle module is designed to provide secure, reliable, and real-time access to off-chain data for use in Planes dApps. By integrating with various data sources and ensuring the integrity and availability of data, the Oracle module plays a critical role in enabling complex and dynamic decentralized applications (dApps) that depend on external information.

  • Integration: Pyth
  • Functions: Provide real-time external data
  • Features: Automatic data propagation to all execution environments including EVM, SVM, WasmVM, fisWasmVM for dApps use cases.

Cosmos Modules

These are builtin Cosmos modules that enables basic functionality of a Cosmos chain as bank, auth, staking, gov, distribution, consensus...

info

Learn more about Cosmos Modules here