Closed mudler closed 2 weeks ago
After conducting a spike to evaluate Cosmos SDK for our Oracle Node, we’ve confirmed that Cosmos SDK offers a robust framework for implementing a production-ready blockchain that aligns with our key requirements. We successfully set up a Cosmos-based chain and created a custom module that enables on-chain data storage using Cosmos’ consensus model, demonstrating its suitability for our needs.
x/bank
and x/auth
modules, you can define MASA's functionality, including fee payment and token management.x/staking
module for staking, designed to enable Proof-of-Stake (PoS) mechanisms. Validators can bond (stake) tokens like MASA, participate in block validation, and receive rewards. This module is highly configurable, allowing you to set staking parameters that fit your network's requirements for security.x/bank
module and custom modules if specific token behaviors are needed. Additionally, Cosmos SDK supports multi-asset environments and enables flexibility in handling token issuance, transfer, and management.nodeData
)nodeData
, enabling straightforward access and manipulation of this shared state across nodes. This setup leverages Cosmos SDK’s state management, ensuring that nodeData
is stored consistently and available network-wide through gRPC calls, with consensus and data integrity maintained through Cosmos' underlying Merkle proofs and Tendermint consensus.Closing with the https://github.com/masa-finance/masa-oracle/issues/619 as follow-up.
Outcome: We know that Cosmos SDK is having all the features we need for having our own blockchain and token, but we want to make sure before jumping into it, to not loose all the benefits of using a libp2p-based transport layer, and go back at a "web2" style of network.
Problem
We need to have a production ready blockchain that can be used for the following:
nodeData
We have cards that already capture part of the issues that we want to tackle:
https://github.com/masa-finance/masa-oracle/issues/590 https://github.com/masa-finance/masa-oracle/issues/507 https://github.com/masa-finance/masa-oracle/issues/518 https://github.com/masa-finance/masa-oracle/issues/496 https://github.com/masa-finance/masa-oracle/issues/382 https://github.com/masa-finance/masa-oracle/issues/381
Description
This card is about investigating if we can use the Cosmos SDK to implement Blockchain, CAS and consensus being the nodes and allow to have token with proof of work.
Acceptance criteria
The objective of this card is to make sure that Cosmos SDK can cover the features described in the cards listed above and to which extent. We want to know if its a viable solution to tackle most of the issues instead of backing our own solution on top of libp2p.