Key Components

Key Components and Communication Protocols

Understanding the architecture of MetaChain is essential for both developers and users who wish to interact with the network effectively. This section provides a high-level overview of the key components and communication protocols that make up the MetaChain architecture.

Full-Nodes

  • Role: Full-nodes serve as the backbone of the MetaChain network, validating transactions and maintaining the blockchain.

  • Interaction: They interact directly with the blockchain network and are responsible for propagating blocks and transactions.

  • Local Node: Running a local full-node provides you with the highest level of control and security. It allows you to participate in the network more actively, including the option to become a validator.

Ocean REST Server

  • Overview: Currently contributed and maintained by Birthday Research.

  • Role: The Ocean REST Server acts as a relayer for HTTP calls between the client and the full-nodes.

  • Functionality: It translates RESTful HTTP requests into JSON-RPC calls, which are then sent to the full-node for processing.

  • Security: Always ensure that your connection to the Ocean REST Server is secure, preferably using HTTPS.

REST API

  • Role: The REST API defines the available endpoints that the Ocean REST Server can call.

  • Functionality: It provides a set of predefined methods for querying blockchain data, sending transactions, and performing other network-related tasks.

  • Documentation: Comprehensive API documentation is essential for developers to understand how to interact with the network effectively.

Hint: If you're planning to interact with the MetaChain network frequently or build applications on top of it, running a local full-node is highly recommended for optimal performance and security.

Ocean REST Server Guide: For a step-by-step guide on interacting with the Ocean REST Server, click here

An overview of the Apps, DVM and Core Module

Last updated