From the illustration above of HAF, it doesn't look like info will flow from SQL (Postgres) out to the Hive blockchain. Meaning, writing to the database would effectively create a blockchain transaction. Will transactions be bi-directional?
You are viewing a single comment's thread from:
My understanding is HAF applications affect off chain activity. They will not handle any on chain features other than writing via JSONs. The data from the chain is available in HAF, providing developers with the ability to build their databases.
So yes, anything that is then sent to the blockchain is a transaction just like any other sidechain.
Posted Using LeoFinance Beta
Thank you for the clarification. Even just being able to query the data using a standardized, normalized SQL model that can exist local if running a HAF node, will be an enormous benefit.
Right now I'm loading a local database of chain data, but grab a tiny, tiny fraction of what's on chain, to keep API servers available to others.
HAF is such a wonderful addition to the Hive ecosystem.