create account

Hive Smart Contracts: Building on HAF by taskmaster4450

View this thread on: hive.blogpeakd.comecency.com
· @taskmaster4450 ·
$73.99
Hive Smart Contracts: Building on HAF
[Smart contracts](https://leofinance.io/@leoglossary/leoglossary-smart-contract) are something that is often discussed regarding Hive.  Most are aware that one of the gaps in Hive's offering is the ability for developers to tap into a robust, inexpensive smart contract platform.

At some point in 2023, this is going to change.

There are a couple teams working on Layer 2 solutions.  In this article, we will cover what was discussed on the latest [Hive Developer Call](https://peakd.com/hive/@howo/core-dev-meeting-46-with-full-transcript).  This focuses upon one of the solutions that will be worked on.

Just to let everyone know, this is still in the planning stage.  There are other priorities that are being addressed as we will see.

<center>![image.png](https://images.hive.blog/DQmQ67h7v1XiJvhgqbTba4rEbQzhfVsHnakRmaHbjUBPmbF/image.png)</center>

## Hive Application Framework (HAF)

What is HAF?

For those who are unaware, this is a [second layer](https://leofinance.io/@leoglossary/leoglossary-layer-2) solution that allows data to be accessed by application developers without having to have [blockchain](https://leofinance.io/@leoglossary/blockchain) experience.

Here is how it was [described in a past article](https://hive.blog/hive-139531/@blocktrades/a-developer-s-introduction-to-the-hive-application-framework):

>HAF is an application framework for creating highly scalable decentralized apps that operate on the Hive blockchain-based network. With HAF, data from the blockchain network are pushed into a SQL database (PostgreSQL) for easy consumption by HAF apps. This means that HAF-based apps can easily be designed and maintained by database programmers with no previous experience with blockchain-based programming.

In lay terms, applications tap into the [data](https://leofinance.io/@leoglossary/leoglossary-data) contained in HAF and developers monitor that connection.  Any updates to the blockchain such as [forks](https://leofinance.io/@leoglossary/leoglossary-fork) are not the concern.  That is taken care of by those who understand blockchain code.  Any changes to blockchain will be reflected in HAF, ensuring that updates do not disrupt the functionality of applications.

This opens up the door to more [developers](https://leofinance.io/@leoglossary/leoglossary-developer).  Since most are experienced at creating [databases](https://leofinance.io/@leoglossary/leoglossary-database), applications, and games, they all can build on blockchain.  The number who have expertise in the latter is limited.  

Much of this stems from the fact that operations can occur in commonly used programming languages.  As we will see, this is vital for the smart contract design.

It is also important to note that HAF is [open source](https://leofinance.io/@leoglossary/leoglossary-open-source) and anyone (with the technical know-how) is able to run a HAF node.  This can be general for others to tap into or specifically for the applications that development team creates.

## Pre-Smart Contract Development

While most of us wants this done immediately, there is a progression that has to take place.

We saw this with the [base layer](https://leofinance.io/@leoglossary/leoglossary-base-layer-blockchain) code.  Much of Hive's first two years, post fork, were spent cleaning up code and [scaling](https://leofinance.io/@leoglossary/leoglossary-scability-scaling) the blockchain.  This is not sexy stuff yet it vital to future performance.

This same obviously holds true at the second layer.

>I guess one of the most significant things too we're doing is in HiveD that's related to HAF is we're changing the way we're writing operations data into the Postgres database now so instead of writing it as JSON text, we're writing in binary format, and that's allowing us to significantly shrink the size of the HAF database.

This is an ongoing theme.  Hard Fork 26 saw the size of the Hive database reduced by about 50%.  It is a move that enables the [block producers](https://leofinance.io/@leoglossary/leoglossary-block-producer) to run smaller [servers](https://leofinance.io/@leoglossary/leoglossary-server-computer), enabling for greater expansion in the future.

Obviously the same approach is being taken to HAF.

>Correct me if I'm wrong, but I think it was around 700 or 800 gigabytes we're saving with that change but it's been a while since I looked at the number so I can't be sure. Lately we've been doing performance testing to just assure ourselves that it won't have a significant impact in terms of performance. There won't be any significant performance degradation with the switch but seems like it's pretty good.

That is a good bit of bandwidth saved.  

It makes no sense to roll out a smart contract platform is nobody is able to run the [nodes](https://leofinance.io/@leoglossary/leoglossary-node) to host it.

Plus, as we can imagine, if things get popular, these will increase the size of the database, although node operators have freedom to determine what they host.

## Smart Contract Application

According to the call, we will be getting a road map on this, possibly over the next month.  It is evident some thought went into it yet is unclear where it all fully stands.  For now, we will presume continued work on HAF will continue with smart contract being the focus after certain metrics are met there.

So what do we know about the direction that a smart contract platform will head.

To start, this is going to be layer 2.  It will be built on HAF, meaning developers can access it through either their own node (if they run one) or others who open it up for others to use.

This is going to be written in SQL.  Here we have one of the major differences between what this project will look like and what is on Ethereum.

[EVM](https://leofinance.io/@leoglossary/leoglossary-ethereum-virtual-machine-evm) smart contracts are written in Solidity.  We know there are billions of [dollars](https://leofinance.io/@leoglossary/leoglossary-u-s-dollar) in hacks over the past couple years.  Much of that was from these smart contracts, where an attacker accessed the contract and basically drained any monetary value out.  

The challenge is much of this was due to simple oversight.  

According to [Wikipedia](https://en.wikipedia.org/wiki/Solidity):

>Solidity was proposed in August 2014 by Gavin Wood;[6][non-primary source needed] the language was later developed by the Ethereum project's Solidity team, led by Christian Reitwiessner.

So we are dealing with a programming language that is less than a decade old.

From the same [source](https://en.wikipedia.org/wiki/SQL):

>SQL was initially developed at IBM by Donald D. Chamberlin and Raymond F. Boyce after learning about the relational model from Edgar F. Codd[12] in the early 1970s.

Here were are dealing with a language that goes back 50 years.  

The key is that number of developers who are familiar with tis code.  Not only are there more people able to write smart contracts, there are others who can review the code and provide feedback of any vulnerabilities.  Here is where security is increased.  

How many people know [Solidit](https://leofinance.io/@leoglossary/leoglossary-solidity)y compared to SQL?

Again, this is in keeping with HAF's philosophy of bringing blockchain to the majority of developers out there.

We also see the taping into advancement that was made surrounding the language itself.

>I mean that that should give us pretty much everything I think that'll allow us to do a lot pretty cheaply because SQL's already got nice security system in place for protecting one smart contract from messing with one another. It's already got a lot of things in there for handling resource limitations so that, for instance, some contract doesn't tie up the database entirely, you know, grab CPU. We can, you can limit how long query runs for before it'll just stop.

The vision of a smart contract [application](https://leofinance.io/@leoglossary/leoglossary-application) running on HAF really helps to increase the availability to different development teams.

Here we see how an automated system is being considered.

>So, you know, like GNS, you know, you're going to have to get somebody to run that on their HAF server. So the idea is anyone who runs this smart contract app.
If anybody who runs that on their HAF server, then that means they basically said that you can now run your smart contract on their server without having to specifically get them to install your smart contract app on their server. So that's kind of the difference between two existing HAF apps.

The operator has to explicitly install it, whereas if they install the smart contract app, then all the smart contracts that get created in the future will automatically run on their server.

This will allow project teams who access that HAF node to use any smart contract that is created using the application.  There is no need to either develop it oneself or search around to find what is needed.  If it is created in the smart contract application, all nodes that have it installed will get the newer versions of contracts.

## In Conclusion

Here we see one smart contract platform that is being considered.  There is at least one more in development.  By the end of the year, developers will likely have a couple of choices to find what they need.

This is going to bring some important functionality to Hive.  One of the big ones is the ability to create second layer [tokens](https://leofinance.io/@leoglossary/leoglossary-token).  This can be either fungible or [non-fungible (NFTs)](https://leofinance.io/@leoglossary/leoglossary-non-fungible-token-nft).  Of course, that opens the door for other applications such as NFT stores.  Communities will be able to generate their own token, catered to suit their needs.  Unlike the Smart Media Token idea of the past, these will not have to be [Proof-of-Brain](https://leofinance.io/@leoglossary/leoglossary-proof-of-brain-pob-mechanism), although they can be.  Project teams can create whatever suits them.

Like always, it is easy to overlook Hive because we are building a lot from the ground up.  However, [technology](https://leofinance.io/@leoglossary/leoglossary-technology) does matter and when we see how Hive approaches things versus, say, an Ethereum, there is a major difference.  It is taking longer since a lot of [infrastructure](https://leofinance.io/@leoglossary/leoglossary-infrastructure-computer) is required and the number of hands laying out code, proportionately speaking, is small.  Nevertheless, we are forging ahead, implementing new layers that have mass appeal.  Obviously, the content in this article details how this is targeting the developer world.

Again, we must stress this is only in the planning stage.  There is still more HAF work to be completed.  However, keep an eye out for the smart contract update as part of a large development road map.  We should hear something by the end of the quarter.



___
If you found this article informative, please give an upvote and rehive.



https://images.hive.blog/0x0/https://files.peakd.com/file/peakd-hive/doze/MkkDNhyH-2020_04_13_16_57_48.gif

gif by @doze

![screen_vision2025_1.png](https://images.hive.blog/DQmXEv6MvKTCurBzSdbKjWzFadJwfJfJfmA2We9EwD5q5Vb/screen_vision2025_1.png)

logo by @st8z

* [What is Hive](https://leofinance.io/@leoglossary/leoglossary-what-is-hive)




Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@taskmaster4450/hive-smart-contracts-building-on-haf)
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 805 others
πŸ‘Ž  ,
properties (23)
authortaskmaster4450
permlinkhive-smart-contracts-building-on-haf
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive","smartcontract","haf","ctp","proofofbrain","archon","mancave","neoxian","leofinance"],"canonical_url":"https://leofinance.io/@taskmaster4450/hive-smart-contracts-building-on-haf","links":["https://leofinance.io/@leoglossary/leoglossary-smart-contract","https://peakd.com/hive/@howo/core-dev-meeting-46-with-full-transcript","https://leofinance.io/@leoglossary/leoglossary-layer-2","https://leofinance.io/@leoglossary/blockchain","https://hive.blog/hive-139531/@blocktrades/a-developer-s-introduction-to-the-hive-application-framework","https://leofinance.io/@leoglossary/leoglossary-data","https://leofinance.io/@leoglossary/leoglossary-fork","https://leofinance.io/@leoglossary/leoglossary-developer","https://leofinance.io/@leoglossary/leoglossary-database","https://leofinance.io/@leoglossary/leoglossary-open-source","https://leofinance.io/@leoglossary/leoglossary-base-layer-blockchain","https://leofinance.io/@leoglossary/leoglossary-scability-scaling","https://leofinance.io/@leoglossary/leoglossary-block-producer","https://leofinance.io/@leoglossary/leoglossary-server-computer","https://leofinance.io/@leoglossary/leoglossary-node","https://leofinance.io/@leoglossary/leoglossary-ethereum-virtual-machine-evm","https://leofinance.io/@leoglossary/leoglossary-u-s-dollar","https://en.wikipedia.org/wiki/Solidity","https://en.wikipedia.org/wiki/SQL","https://leofinance.io/@leoglossary/leoglossary-solidity","https://leofinance.io/@leoglossary/leoglossary-application","https://leofinance.io/@leoglossary/leoglossary-token","https://leofinance.io/@leoglossary/leoglossary-non-fungible-token-nft","https://leofinance.io/@leoglossary/leoglossary-proof-of-brain-pob-mechanism","https://leofinance.io/@leoglossary/leoglossary-technology","https://leofinance.io/@leoglossary/leoglossary-infrastructure-computer","https://leofinance.io/@leoglossary/leoglossary-what-is-hive"],"image":["https://images.hive.blog/DQmQ67h7v1XiJvhgqbTba4rEbQzhfVsHnakRmaHbjUBPmbF/image.png","https://images.hive.blog/0x0/https://files.peakd.com/file/peakd-hive/doze/MkkDNhyH-2020_04_13_16_57_48.gif","https://images.hive.blog/DQmXEv6MvKTCurBzSdbKjWzFadJwfJfJfmA2We9EwD5q5Vb/screen_vision2025_1.png"]}
created2023-02-07 14:52:00
last_update2023-02-07 14:52:00
depth0
children23
last_payout2023-02-14 14:52:00
cashout_time1969-12-31 23:59:59
total_payout_value3.532 HBD
curator_payout_value70.462 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11,558
author_reputation6,675,643,690,241,276
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries
0.
accounttaskmaster4450le
weight9,500
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id120,568,944
net_rshares248,387,532,382,023
author_curate_reward""
vote details (871)
@badbitch ·
$0.07
RE: Hive Smart Contracts: Building on HAF
Then we might say that Hive may be on to challenging bitcoin as one of the most secured blockchains?

In my books, it already is.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@badbitch/re-taskmaster4450-5luaqx)
πŸ‘  , , , ,
properties (23)
authorbadbitch
permlinkre-taskmaster4450-5luaqx
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@badbitch/re-taskmaster4450-5luaqx"}
created2023-02-07 16:44:39
last_update2023-02-07 16:44:39
depth1
children1
last_payout2023-02-14 16:44:39
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.033 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length230
author_reputation336,372,892,381,593
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,571,419
net_rshares122,504,371,635
author_curate_reward""
vote details (5)
@taskmaster4450le ·
RE: RE: Hive Smart Contracts: Building on HAF
Well that doesnt require smart contracts for that.

I guess the debate comes down to if you believe that DPoS and 20 consensus block producers requiring a super majority with a 21st rotating into the block production rivals PoW.

To me, the way Hive is structured, I would say that is rivals it in terms of security.  Knowing how many of the top witnesses are with each other, getting them to agree on much of anything outside the obvious is a challenge.

Buying a super majority would be near impossible in my opinion.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@taskmaster4450le/re-badbitch-5kzkvj)
properties (22)
authortaskmaster4450le
permlinkre-badbitch-5kzkvj
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@taskmaster4450le/re-badbitch-5kzkvj"}
created2023-02-07 17:22:33
last_update2023-02-07 17:22:33
depth2
children0
last_payout2023-02-14 17:22:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length622
author_reputation2,179,223,955,777,414
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,572,300
net_rshares0
@behiver ·
$0.05
RE: Hive Smart Contracts: Building on HAF
That's pretty awesome and I've always thought that smart contracts are a big downside on the Hive blockchain and in special to having a decentralized open-source framework for those. Now looking at HAF allowing SQL interaction which I am well accustomed to as I am using it at work, could open up some opportunities. Can barely wait to see the roadmap, maybe things will start taking shape on this.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@behiver/re-taskmaster4450-5zz7l4)
πŸ‘  , , , , ,
properties (23)
authorbehiver
permlinkre-taskmaster4450-5zz7l4
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@behiver/re-taskmaster4450-5zz7l4"}
created2023-02-07 20:07:18
last_update2023-02-07 20:07:18
depth1
children1
last_payout2023-02-14 20:07:18
cashout_time1969-12-31 23:59:59
total_payout_value0.028 HBD
curator_payout_value0.026 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length498
author_reputation568,795,394,279,651
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,576,051
net_rshares99,824,605,432
author_curate_reward""
vote details (6)
@taskmaster4450le ·
RE: RE: Hive Smart Contracts: Building on HAF
The idea of using SQL is great.  It is a language many, such as yourself, are familiar.  Suddenly, you can spin up smart contract without any additional training, simply do it based upon what you already know.

That is powerful in my view.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@taskmaster4450le/re-behiver-2rwtfn)
properties (22)
authortaskmaster4450le
permlinkre-behiver-2rwtfn
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@taskmaster4450le/re-behiver-2rwtfn"}
created2023-02-07 20:50:21
last_update2023-02-07 20:50:21
depth2
children0
last_payout2023-02-14 20:50:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length341
author_reputation2,179,223,955,777,414
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,576,956
net_rshares0
@bozz ·
$0.06
RE: Hive Smart Contracts: Building on HAF
Thanks for the condensed info!  It all sounds very exciting.  I think it is going to be worth it to wait a while to make sure we have it right.  Good stuff!

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@bozz/re-taskmaster4450-4psn4k)
πŸ‘  , , ,
properties (23)
authorbozz
permlinkre-taskmaster4450-4psn4k
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@bozz/re-taskmaster4450-4psn4k"}
created2023-02-07 19:39:24
last_update2023-02-07 19:39:24
depth1
children2
last_payout2023-02-14 19:39:24
cashout_time1969-12-31 23:59:59
total_payout_value0.028 HBD
curator_payout_value0.029 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length253
author_reputation2,259,850,308,053,518
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,575,429
net_rshares106,080,126,171
author_curate_reward""
vote details (4)
@taskmaster4450le ·
$0.06
RE: RE: Hive Smart Contracts: Building on HAF
Yeah it appears the Blocktrades team is putting together some powerful stuff with HAF.  It appears the second layer will mirror the base in terms of different nodes in operation, condensed data, and the ability to scale.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@taskmaster4450le/re-bozz-4tcfcq)
πŸ‘  , , , ,
properties (23)
authortaskmaster4450le
permlinkre-bozz-4tcfcq
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@taskmaster4450le/re-bozz-4tcfcq"}
created2023-02-07 20:49:09
last_update2023-02-07 20:49:09
depth2
children1
last_payout2023-02-14 20:49:09
cashout_time1969-12-31 23:59:59
total_payout_value0.029 HBD
curator_payout_value0.029 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length319
author_reputation2,179,223,955,777,414
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,576,934
net_rshares107,742,554,036
author_curate_reward""
vote details (5)
@bozz ·
Very cool!
properties (22)
authorbozz
permlinkre-taskmaster4450le-202327t182659509z
categoryhive-167922
json_metadata{"tags":["hive-167922","leofinance"],"app":"ecency/3.0.38-mobile","format":"markdown+html"}
created2023-02-07 23:27:00
last_update2023-02-07 23:27:00
depth3
children0
last_payout2023-02-14 23:27:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length10
author_reputation2,259,850,308,053,518
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,580,760
net_rshares0
@cageon360 ·
It's good news. More documentation on functions and implementation is required for the less technical.
properties (22)
authorcageon360
permlinkre-taskmaster4450-202328t19849410z
categoryhive-167922
json_metadata{"tags":["hive-167922","hive","smartcontract","haf","ctp","proofofbrain","archon","mancave","neoxian","leofinance"],"app":"ecency/3.0.38-mobile","format":"markdown+html"}
created2023-02-08 23:08:51
last_update2023-02-08 23:08:51
depth1
children0
last_payout2023-02-15 23:08:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length102
author_reputation3,182,438,277,481
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,609,557
net_rshares0
@cowboyzlegend27 ·
Hive is gonna be a problem for these other blockchains for a very long time! Very nice content!
properties (22)
authorcowboyzlegend27
permlinkrpqmv6
categoryhive-167922
json_metadata{"app":"hiveblog/0.1"}
created2023-02-08 01:30:51
last_update2023-02-08 01:30:51
depth1
children0
last_payout2023-02-15 01:30:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length95
author_reputation274,435,008,578,347
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,582,985
net_rshares0
@devpress ·
$0.06
As a developer myself, I find this space interesting. When can we expect the Smart Contracts on Hive? And who among the witness is busy working on smart contracts?
πŸ‘  , , ,
properties (23)
authordevpress
permlinkrppvwk
categoryhive-167922
json_metadata{"app":"hiveblog/0.1"}
created2023-02-07 15:48:18
last_update2023-02-07 15:48:18
depth1
children1
last_payout2023-02-14 15:48:18
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.029 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length163
author_reputation55,061,325,071,240
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,570,228
net_rshares108,087,874,450
author_curate_reward""
vote details (4)
@taskmaster4450le ·
RE: RE: Hive Smart Contracts: Building on HAF
The basis of this article comes from Blocktrades and his team.  I am not sure of what witnesses are involved with him.  Howo is a witness and is a core deve although I cant say he if he will be directly involved in that aspect of things.

SpkNetwork is looking at using Honeycomb in their system.

So there are a few things going on.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@taskmaster4450le/re-devpress-3zcxcj)
πŸ‘  ,
properties (23)
authortaskmaster4450le
permlinkre-devpress-3zcxcj
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@taskmaster4450le/re-devpress-3zcxcj"}
created2023-02-07 16:25:33
last_update2023-02-07 16:25:33
depth2
children0
last_payout2023-02-14 16:25:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length436
author_reputation2,179,223,955,777,414
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,570,982
net_rshares24,253,463,466
author_curate_reward""
vote details (2)
@ebingo ·
Fantastic news. This will be the best time to start upgrading whatever skill one has as a programmer or start building contacts with good programmers one can work with.

We will be miles ahead of the rest by the time they figure out what is going on here.
properties (22)
authorebingo
permlinkre-taskmaster4450-202328t10524104z
categoryhive-167922
json_metadata{"tags":["hive","smartcontract","haf","ctp","proofofbrain","archon","mancave","neoxian","leofinance"],"app":"ecency/3.0.30-vision","format":"markdown+html"}
created2023-02-08 09:05:24
last_update2023-02-08 09:05:24
depth1
children0
last_payout2023-02-15 09:05:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length255
author_reputation181,779,311,178,413
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,590,368
net_rshares0
@jfang003 ·
RE: Hive Smart Contracts: Building on HAF
It's quite nice to see it on the base layer but I wonder what will happen to the existing secondary chains like hive-engine after this happens. Will tribes and NFTs still be done through hive-engine?

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@jfang003/re-taskmaster4450-3qzbue)
properties (22)
authorjfang003
permlinkre-taskmaster4450-3qzbue
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@jfang003/re-taskmaster4450-3qzbue"}
created2023-02-08 07:34:54
last_update2023-02-08 07:34:54
depth1
children0
last_payout2023-02-15 07:34:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length300
author_reputation638,559,402,745,251
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,588,836
net_rshares0
@joetunex ·
$0.06
RE: Hive Smart Contracts: Building on HAF
> Here were are dealing with a language that goes back 50 years.

Compared to the less than a decade Solidity, Hive looks to be opting for a more robust programing language, while this sounds foreign to me I will be opting for a programming language with more years behind it. 

This is an optimistic read that places Hive in a great evolving state. There is going to come a time when Hive is not ignored anymore, developments like these are what is going to place Hive out there. 

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@joetunex/re-taskmaster4450-5xqqhb)
πŸ‘  , , ,
properties (23)
authorjoetunex
permlinkre-taskmaster4450-5xqqhb
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@joetunex/re-taskmaster4450-5xqqhb"}
created2023-02-07 16:29:48
last_update2023-02-07 16:29:48
depth1
children1
last_payout2023-02-14 16:29:48
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.029 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length582
author_reputation614,857,522,542,280
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,571,094
net_rshares108,434,699,013
author_curate_reward""
vote details (4)
@taskmaster4450le ·
RE: RE: Hive Smart Contracts: Building on HAF
It in aligning with the HAF philosophy of enabling more developers to create on Hive.

Use the languages they know and are comfortable with.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@taskmaster4450le/re-joetunex-6jkcvg)
properties (22)
authortaskmaster4450le
permlinkre-joetunex-6jkcvg
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@taskmaster4450le/re-joetunex-6jkcvg"}
created2023-02-07 17:23:18
last_update2023-02-07 17:23:18
depth2
children0
last_payout2023-02-14 17:23:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length243
author_reputation2,179,223,955,777,414
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,572,319
net_rshares0
@kayzkie ·
Thank you for the ideas😍
properties (22)
authorkayzkie
permlinkre-taskmaster4450-202328t85044564z
categoryhive-167922
json_metadata{"tags":["hive","smartcontract","haf","ctp","proofofbrain","archon","mancave","neoxian","leofinance"],"app":"ecency/3.0.38-mobile","format":"markdown+html"}
created2023-02-08 00:50:45
last_update2023-02-08 00:50:45
depth1
children0
last_payout2023-02-15 00:50:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length24
author_reputation22,961,296,314
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,582,311
net_rshares0
@nthtv ·
$0.06
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?
πŸ‘  , , ,
properties (23)
authornthtv
permlinkre-taskmaster4450-202327t122720948z
categoryhive-167922
json_metadata{"tags":["hive","smartcontract","haf","ctp","proofofbrain","archon","mancave","neoxian","leofinance"],"app":"ecency/3.0.30-vision","format":"markdown+html"}
created2023-02-07 17:27:21
last_update2023-02-07 17:27:21
depth1
children2
last_payout2023-02-14 17:27:21
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.029 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length240
author_reputation1,064,415,020,983
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,572,436
net_rshares108,458,647,921
author_curate_reward""
vote details (4)
@taskmaster4450le ·
$0.05
RE: RE: Hive Smart Contracts: Building on HAF
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 <sup>Beta</sup>](https://leofinance.io/@taskmaster4450le/re-nthtv-63dbhk)
πŸ‘  
properties (23)
authortaskmaster4450le
permlinkre-nthtv-63dbhk
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@taskmaster4450le/re-nthtv-63dbhk"}
created2023-02-07 19:23:45
last_update2023-02-07 19:23:45
depth2
children1
last_payout2023-02-14 19:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.024 HBD
curator_payout_value0.025 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length451
author_reputation2,179,223,955,777,414
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,575,060
net_rshares91,496,920,164
author_curate_reward""
vote details (1)
@nthtv ·
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.
properties (22)
authornthtv
permlinkre-taskmaster4450le-202327t15541944z
categoryhive-167922
json_metadata{"tags":["leofinance"],"app":"ecency/3.0.30-vision","format":"markdown+html"}
created2023-02-07 20:54:03
last_update2023-02-07 20:54:03
depth3
children0
last_payout2023-02-14 20:54:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length397
author_reputation1,064,415,020,983
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,577,056
net_rshares0
@pizzabot ·
<center>πŸ• PIZZA !


I gifted <strong>$PIZZA</strong> slices here:
@torran<sub>(10/10)</sub> tipped @taskmaster4450 (x1)


<sub>Please <a href="https://vote.hive.uno/@pizza.witness">vote for pizza.witness</a>!</sub></center>
properties (22)
authorpizzabot
permlinkre-hive-smart-contracts-building-on-haf-20230208t041701z
categoryhive-167922
json_metadata"{"app": "beem/0.24.19"}"
created2023-02-08 04:17:00
last_update2023-02-08 04:17:00
depth1
children0
last_payout2023-02-15 04:17:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length223
author_reputation7,546,704,991,803
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,586,006
net_rshares0
@poshtoken · (edited)
https://twitter.com/1331330355513745413/status/1623083737641517057
https://twitter.com/1162007468005871616/status/1623494902909743104
<sub> The rewards earned on this comment will go directly to the people( @taskmaster4450le, @cageon360 ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.</sub>
properties (22)
authorposhtoken
permlinkre-taskmaster4450-hive-smart-contracts-building-on-haf205194765
categoryhive-167922
json_metadata"{"app":"Poshtoken 0.0.1","payoutToUser":["taskmaster4450le","cageon360"]}"
created2023-02-07 22:22:18
last_update2023-02-09 01:34:12
depth1
children0
last_payout2023-02-14 22:22:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length354
author_reputation5,378,734,105,604,176
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id120,579,284
net_rshares0
@torran ·
!PGM
!PIZZA
properties (22)
authortorran
permlinkre-taskmaster4450-rpqusq
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2023.1.3"}
created2023-02-08 04:15:33
last_update2023-02-08 04:15:33
depth1
children1
last_payout2023-02-15 04:15:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation8,297,298,349,285
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,585,961
net_rshares0
@pgm-curator ·
<center>Sent 0.1 PGM - 0.1 LVL- 1 STARBITS  - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS tokens to  @torran</center>

<center><sub>remaining commands 0</sub></center>


**BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!**

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards! 

![image.png](https://files.peakd.com/file/peakd-hive/zottone444/23t7AyKqAfdxKEJPQrpePMW15BCPhbyrf5VoHWxhBFcEcPLjDUVVQAh9ZAopbmoJDekS6.png)
Discord [![image.png](https://files.peakd.com/file/peakd-hive/hive-135941/23wfr3mtLS9ddSpifBvh7mwLx1rN3eoaSvbwUxTngsNR1GQ8EiZTrC9P9RwZxHCCfK8e5.png)](https://discord.gg/KCvuNTEjWw)


Support the curation account @ pgm-curator with a delegation [10 HP](https://hivesigner.com/sign/op/WyJkZWxlZ2F0ZV92ZXN0aW5nX3NoYXJlcyIseyJkZWxlZ2F0b3IiOiJfX3NpZ25lciIsImRlbGVnYXRlZSI6InBnbS1jdXJhdG9yIiwidmVzdGluZ19zaGFyZXMiOiIxMCJ9XQ..) - [50 HP](https://hivesigner.com/sign/op/WyJkZWxlZ2F0ZV92ZXN0aW5nX3NoYXJlcyIseyJkZWxlZ2F0b3IiOiJfX3NpZ25lciIsImRlbGVnYXRlZSI6InBnbS1jdXJhdG9yIiwidmVzdGluZ19zaGFyZXMiOiI1MCJ9XQ..) - [100 HP](https://hivesigner.com/sign/op/WyJkZWxlZ2F0ZV92ZXN0aW5nX3NoYXJlcyIseyJkZWxlZ2F0b3IiOiJfX3NpZ25lciIsImRlbGVnYXRlZSI6InBnbS1jdXJhb3RyIiwidmVzdGluZ19zaGFyZXMiOiIxMDAifV0.) - [500 HP](https://hivesigner.com/sign/op/WyJkZWxlZ2F0ZV92ZXN0aW5nX3NoYXJlcyIseyJkZWxlZ2F0b3IiOiJfX3NpZ25lciIsImRlbGVnYXRlZSI6InBnbS1jdXJhdG9yIiwidmVzdGluZ19zaGFyZXMiOiI1MDAifV0.) - [1000 HP](https://hivesigner.com/sign/op/WyJ0cmFuc2Zlcl90b192ZXN0aW5nIix7ImZyb20iOiJfX3NpZ25lciIsInRvIjoicGdtLWN1cmF0b3IiLCJhbW91bnQiOiIxMDAwIn1d)

Get **potential** votes from @ pgm-curator by paying in PGM, here is a [guide](https://peakd.com/hive-146620/@zottone444/pay-1-pgm-and-get-4-votes-itaegn)



<sub>I'm a bot, if you want a hand ask @ zottone444</sub>

***
properties (22)
authorpgm-curator
permlinkpgm-curatortorran1675829751957
categoryhive-167922
json_metadata{"tags":[],"app":"pgm/0.1","format":"markdown+html"}
created2023-02-08 04:15:54
last_update2023-02-08 04:15:54
depth2
children0
last_payout2023-02-15 04:15:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,902
author_reputation3,409,490,822,394
root_title"Hive Smart Contracts: Building on HAF"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,585,978
net_rshares0