DEV Community

Morgan Metz
Morgan Metz

Posted on

Concept - Cosmos protobuf

The concept

This concept uses a standard cosmos/cosmwasm powered blockchain to perform [financial] operations, possibly with an IBC module, without the need for an API layer. This idea allows individual modules to be uploaded to the chain and executed without much extra work. Due to the nature of blockchain, this also allows for parallel computing of your service by simply adding more machines running the protocol

Execution

This could be achieved by using ignite (a CLI tool and framework for creating cosmos chains) once they release x/wasm support. This model would be a dockerized container with only the x/wasm and standard modules.

Data storage

using the cw-storage-plus module, we can create a basic smart contract called volume , which acts as our primary storage object. However, for simple number storage, you could use the native token created by the core module, as well as possibly including tokenfactory for multiple types of atomic number storage.

Abstraction

Due to the nature of cosmwasm smart contracts, we can easily set permissions, verify read and write operations, and have a ledger of all operations. This comes into play using the indexer module to create easy analytics if your service is public.

Top comments (0)