《我的Anyhedge开发之旅:在BCH上构建智能合约为何这么难?》

44 1668
Avatar for GeneralProtocols
4 years ago (Last updated: 3 years ago)

作者: Jonathan Silverblood
加入AnyHedge群:https://t.me/AnyHedge

你是否想过要在比特币现金上构建智能合约金融产品到底需要什么?我在2019年上半年加入了一支小团队来建立一款非托管期货合约产品,以此作为尝试看看BCH上有哪些可为之和哪些不可为之。

我会在本文概述自己在2020年上线AnyHedge之前的故事。

初始篇

20193月,在Anyhedge这个想法形成并使用Spedn的早期版本成功编译成初始合约时,我尚未加入这支团队。但不久后我就加入其中来构建使用合约所需的工具

那时我们没有任何资金赞助,都是花自己的时间进行开发。但一位潜在投资者让我们意识到或许有一天我们能盈利。

早期采用者遇到的问题

盲目建设阶段

要在比特币现金上建立智能合约,不仅需要了解脚本语言,还需要了解交易签名、协议结构和各种限制。

工作不久后,我就发现到处都找不到好的信息来源。我不得不去阅读比特币(BTC)的文档,但这些文档通常是错误的,因为要么已经针对BTC进行了更新,要么因为BCH分叉而变得不再适用。我还必须阅读并尝试了解节点升级规范,以了解比特币现金的不同运作,但这些规范仅列出了变动的部分,并经常提到“与之前相同”。但之前是什么样?却没有给出任何来源。

开发过程中阅读这些低品质的文档既增加了难度又无济于事,因此我给Bitcoin Unlimited开发团队写了BUIP121 提案,帮助构建更好的公共文档以方便开发者进行协议交互。

虽然还不够完善,但Bitcoin Unlimited Bitcoin Verde 所做的改善使新开发人员能够读到比以往更好的文档。


疯狂建设阶段

在我加入后的最初几个月中,大家都尽了最大的努力来加速开发。但是由于种种原因,工作进展缓慢且断断续续的。在潜在投资者们的帮助下,我得以在Bitcoin Cash City Conference大会前到汤斯维尔与团队见面。

至此,开发进展加速了。在短短的几周内,我们从实现了从无功能的合约草案到成功地存入并赎回了链上的第一份AnyHedge合约。

20199月的会议期间,我们向潜在的合作伙伴和投资者进行了首次演示。一家交易所口头答应要接入我们的产品。

但我们的演示还存在很多问题。

那时我们所依赖的工具尚未完成且存在漏洞(如0.1.x版本号所示)。多亏有BCHD团队开发的 Meep交易调试程序,我们把Anyhedge从最初的一个想法过渡到能进行概念性验证。


破裂的桥

不可靠的REST APIs

我们把工具构建在市面上最知名和记录最全的开发者栈上,即BitBox SDK和相关的REST API。这些工具在原型开发阶段为我们提供了很好的服务,但我们在2019年底意识到要在免费的公共基础设施上建立金融商业性项目是不可持续的。

我们研究了多个替代方案,最终决定使用Electrum服务器作为后端。Electrum协议并不完美,但考虑到Electron Cash钱包也使用的这款协议,又具有多个服务器软件,因此大概率不会挂掉。

但是,要找到能与服务器交互的好的工具却困难重重。 要么就是不再维护了,要么就不支持我们所需的功能。 我们建立了 electrum-cash 库,能支持electrum协议的所有功能,包括加密,网络套接字和自动版本协商。


现在,flipstartermainnetfullstack cashscript等生态成员都使用electrum-cash库。我们承诺会提供资金支持我们所依赖的基础设施。而且我们有公共赞助,这笔赞助会随着我们收益的增多而不断扩大。

如果你是第一个玩家,该跟谁合作过去价格预言机?

AnyHedge合约提供两个合约方向,以及一个提供价格信息的预言机(Oracle)。 我们从一开始就想使用第三方预言机,但是如果你是第一个玩家且没有其他玩家时,你要怎么做?

我们与 BitpayChainlinkCoin DanceBlockchair  CoinGecko等能提供价格数据源或提供价格数据服务的公司进行过交谈。遗憾的是,由于与ETH所需的基础设施不同;并且BCH的智能合约尚未经过市场的验证,还不足以吸引这些公司将资源投入到BCH预言机中。

我们也尝试与其他开发人员合作来建立标准和文档,以便如果我们不得不自己构建工具的话,至少希望这个工具其他人也可以用,能对他人有价值。但是没有人在建立我们所需的能提供使用案例的预言机的智能合约。

于是我们构建了一个价格预言机库和一个oracle服务,该服务可公开提供给BCH生态系统中的其他构建者。 未来我们将重新讨论此事,并尝试寻找外部合作伙伴来运行价格预言机服务。


资金困难

与潜在投资人们见过面后,我们认为团队大有所为,就一同制定了商业计划、股东协议和其他文件。

几个月后,投资人的期望发生了变化,要求也随之不同,我们为此大吵了一架。

我们为再次面临资金的不确定性倍感痛苦,因为我们不知道还能否再找到其他机会。

至此,我们已经自费工作9个月了。我们必须要决定再坚持多久,就宣布项目失败。


新的一年,新的烦恼

基础设施融资计划(IFP

2020年初,江卓尔公布了 矿工抽税方案。 该提案最初获得了积极的反馈,因为大多数人只能意识到有钱可以带来的好处,但是几周后,很显然IFP的代价是无法接受的。

尽管引起了社区的广泛担忧,但Bitcoin ABC在其代码库中添加了IFP版本,并将其设置为在5月份升级之前由矿工激活。

我们团队中没有一个人愿意基于这种新规则下的BCH构建产品,因此我们不得不做出选择:要么解散,要么解决最根本的资金问题。


构建Flipstarter

眼看着比特币现金生态系统处于危险之中,而我们是基于BCH构建产品的,我们转而动用所有可用资源去解决资金问题。

经过一番观察,我们意识到自愿捐款的一个主要问题就是“搭便车”,或者说“不公平”:出钱支持生态系统的矿工对他人毫无贡献就受益的情况感到不满。

我们连轴工作了1个月,终于发布了Flipstarter:一种非托管担保合约的筹款工具,并用它成功筹集了50万美元 用于基础设施建设。

我们在Flipstarter上全职开发了近两个月,在社区共同努力和捐赠下,各种各样的项目已经筹集了超过5,000BCH(当时总价值约120万美元)。


BCHN节点

在我几乎专注于开发Flipstarter时,团队的其他成员帮助建立了 Bitcoin ABC 的第一个分叉节点作为应急计划,为反对IFP的矿工提供代替方案。


成长为一家承担负责的公司

我们证明了IFP并非解决资金的唯一可行方法,并开始再次把重心放在AnyHedge上。截止到2020年中旬,我们保持了良好的开发进程,不断做出改进。

白皮书

我们发布了AnyHedge白皮书, 概述了合约结构并解释了如何利用交易波动风险实现价值稳定,而无需离开BCH生态。


数值分析

我们与Karol Trzeszczkowski合作,发布了AnyHedge智能合约的数值分析。

合约模拟程序

为了帮助交易员更好地了解合同行为,我们构建并发布了在线合约模拟程序。


获得融资

在进行Flipstarter和BCHN的开发工作期间,我们建立了新的关系,找到了新的投资者。 我们展示了能够按计划交付产品的能力,并获得了第一轮超过100万美元的投资。


我们能不能取消2020年?

我们最终又回到了AnyHedge的开发上。 我们的自动结算服务正在逐步完善,正当我们开始专注于交易所集成时,意外再次发生了。


Grasberg

2020年7月, Bitcoin ABC不顾社区的广泛共识,宣布要采用自己的Grasberg DAA算法,此举震惊了整个社区。 Grasberg DAA会因为“过去漂移修正(past-drift correction)”来彻底改变区块生成。

我们的预言机和合约基础设施都是建立在每10分钟出一个块的共识上。我们不得不召开紧急会议,共商对策。

在意识到我们可能要重新设计预言机和合约结构并要延期几个月才能推向市场后,我们对此提出了抗议,并就此事与合作伙伴发表了联合声明。

我直接找到了Amaury,向他解释修改DAA算法将对我们造成重大的破坏性。 他让我最好去适应新规则,并指出有必要更改出块时间预期(使其可预测),以展示他不更改区块时间的决心。

我们能接触到的所有人都对 Grasberg算法不满,也不满意Bitcoin ABC强行要改变DAA算法的蛮横态度,我们与生态伙伴合作 推出声明 ,共同支持aserti3-2d DAA算法。


IFP卷土重来

Bitcoin ABC最终放弃了采用Grasberg DAA算法,但坚持要实施IFP。 这次的版本又推出了一些新的实体来掌管资金,并明确表示“没有讨论余地”。

在与其他人交谈后,我们意识到这将是压死骆驼的最后一根稻草。Bitcoin ABC势必会在即将到来的硬叉中升级中导致网络分裂。

作为一家在努力交付产品的公司,我们需要用户群来使用我们的产品。如果我们一而再的分裂我们的网络效应,最终将没有客户留给我们,我们必将失败。

值得庆幸的是,我们已经通过Flipstarter证明了能代替IFP的其他可行方案。尽管我们仍然需要花费大量时间来建立关系并告知大家可能发生的多种结果,但情况不会像第一次那样糟糕了。

总结我的AnyHedge之旅

就快到2020年底了,我原本估计几个月能完成的工作最终却花费了将近两年的时间。 本不应该那么难的。开发者资源和开发者基础设施的缺乏严重影响了BCH的币价。

好消息是我们过去遇到的许多问题已不复存在。智能合约工具日趋成熟,文档越来越完善,基础设施得到了赞助。一旦AnyHedge能证明建设非托管型金融产品能带来盈利,将会有新的团队和公司进入这个领域并与我们一起成长。

至于产品本身,我们已经完成了开发。AnyHedge很快将完成测试阶段,并与非托管交易所Detoken共同上线。

General Protocols Blog

This article forms part of the General Protocols Blog, a collection of cross-platform links showcasing our team's community activity, Bitcoin Cash projects, UTXO development, and general crypto musings.


39
$ 15.27
$ 12.27 from @TheRandomRewarder
$ 1.00 from @emergent_reasons
$ 1.00 from @btcfork
+ 1
Avatar for GeneralProtocols
4 years ago (Last updated: 3 years ago)

Comments

Hi my guys if you Reading this article in chinese You don't Understand see Your translate in English.😀👇👇👇

Author: Jonathan Silverblood join AnyHedge group: https: //t.me/AnyHedge

Have you ever wondered what it takes to build smart contract financial products on Bitcoin Cash? I joined a small team in the first half of 2019 to build a non-custodial futures contract product as an attempt to see what can and cannot be done on BCH .

I will outline in this article myself in 2020 Nian online AnyHedge story before.

Initial

In March 2019 , when the idea of Anyhedge was formed and successfully compiled into the initial contract using an early version of Spedn , I had not yet joined the team. But soon I joined it to build the tools needed to use the contract .

At that time, we did not have any financial support, and we spent our own time developing. But a potential investor made us realize that maybe one day we can make a profit.

Problems encountered by early adopters

Blind construction stage

To build a smart contract on Bitcoin Cash, not only need to understand the scripting language, but also need to understand the transaction signature, agreement structure and various restrictions.

Soon after working, I found that I couldn't find good sources of information everywhere. I have to read Bitcoin (BTC) documents, but these documents are usually wrong because either they have been updated for BTC or they are no longer applicable because of the BCH fork. I must also read and try to understand the node upgrade specifications to understand the different operations of Bitcoin Cash, but these specifications only list the changed parts and often mention "the same as before." But what was it like before? No source is given.

Reading these low-quality documents during the development process both increased the difficulty and was of no avail. Therefore, I wrote the BUIP121 proposal to the Bitcoin Unlimited development team to help build better public documents to facilitate developers' protocol interaction.

Although not complete enough, the improvements made by Bitcoin Unlimited and Bitcoin Verde have allowed new developers to read better documentation than ever.

Crazy construction phase

In the first few months after I joined, everyone did their best to accelerate development. However, due to various reasons, the work progressed slowly and intermittently. With the help of potential investors, I was able to meet the team in Townsville before the Bitcoin Cash City Conference .

So far, development progress has accelerated. In just a few weeks, we went from implementing a non-functional contract draft to successfully depositing and redeeming the first AnyHedge contract on the chain .

During the conference in September 2019 , we gave the first presentation to potential partners and investors. An exchange verbally agreed to access our products.

But our demo still has many problems.

At that time, the tools we relied on were not yet complete and there were vulnerabilities (as indicated by the 0.1.x version number). Thanks to the Meep transaction debugger developed by the BCHD team , we transitioned Anyhedge from an initial idea to a proof of concept.

Cracked bridge

Unreliable REST APIs

We build the tool on the most well-known and well-documented developer stack on the market, namely BitBox SDK and related REST API. These tools provided us with a good service during the prototype development stage, but we realized at the end of 2019 that it is unsustainable to build financial commercial projects on free public infrastructure.

We researched multiple alternatives and finally decided to use Electrum server as the backend. The Electrum protocol is not perfect, but considering that the Electron Cash wallet also uses this protocol and has multiple server software, there is a high probability that it will not hang.

However, it is difficult to find good tools that can interact with the server. Either it is no longer maintained, or it does not support the features we need. We have established the electrum-cash library, which can support all functions of the electrum protocol, including encryption, network sockets and automatic version negotiation.

Now, ecological members such as flipstarter , mainnet , fullstack and cashscript all use the electrum-cash library. We promise to provide funds to support the infrastructure on which we depend. And we have public sponsorship, which will continue to expand as our income increases.

If you are the first player, who should you work with in the past price oracle?

The AnyHedge contract provides two contract directions and an oracle machine (Oracle) that provides price information. We wanted to use a third-party oracle from the beginning, but what do you do if you are the first player and there are no other players?

We have talked with companies that can provide price data sources or provide price data services such as Bitpay , Chainlink , Coin Dance , Blockchair, and CoinGecko . Unfortunately, due to the different infrastructure required by ETH ; and the smart contract of BCH has not been verified by the market, it is not enough to attract these companies to invest resources in the BCH oracle.

We also try to work with other developers to establish standards and documentation, so that if we have to build a tool ourselves, at least we hope that this tool can be used by others and can be valuable to others. But no one is building the smart contract we need to provide the oracle of use cases.

So we built a price prediction hangar and an oracle service, which can be publicly provided to other builders in the BCH ecosystem. In the future, we will re-discuss this matter and try to find external partners to run the price oracle service.

Financial difficulties

After meeting with potential investors, we thought the team had done a great job, and together we worked out a business plan, shareholder agreement and other documents.

A few months later, the expectations of investors changed and the requirements were also different. We had a big fight about this.

We feel painful to face the uncertainty of funding again, because we don't know if we can find other opportunities.

So far, we have worked at our own expense for 9 months. We have to decide how long to hold on before we declare the project a failure.

New year, new troubles

Infrastructure Financing Plan ( IFP )

At the beginning of 2020, Jiang Zhuoer announced a tax collection plan for miners . The proposal initially received positive feedback because most people can only realize the benefits of having money, but after a few weeks, it became clear that the price of IFP was unacceptable.

Despite causing widespread concern in the community, Bitcoin ABC added an IFP version to its code base and set it to be activated by miners before the upgrade in May.

No one in our team is willing to build products based on BCH under this new rule , so we have to make a choice: either disband or solve the most fundamental funding problem.

Build Flipstarter

Seeing that the Bitcoin Cash ecosystem is in danger, and we are building products based on BCH, we instead use all available resources to solve the funding problem.

After some observations, we realized that one of the main problems with voluntary donations is "free-riding", or "unfairness": the miners who paid to support the ecosystem were dissatisfied with the fact that others benefited without contributing.

We worked continuously for a month and finally released Flipstarter: a fundraising tool for non-custodial guarantee contracts, and used it to successfully raise US$500,000 for infrastructure construction.

We Flipstarter on a full-time developers for nearly two months, under the joint efforts of the community and donations, various projects have raised more than $ 5,000 a BCH (then worth about 120 million US dollars).

BCHN node

When I was almost focused on developing Flipstarter, other members of the team helped establish Bitcoin ABC 's first fork node as a contingency plan to provide alternative solutions for miners who opposed IFP.

Grow into a responsible company

We proved that IFP is not the only feasible way to resolve funds, and began to focus on AnyHedge again. As of mid-2020, we have maintained a good development process and continue to make improvements.

white paper

We released the AnyHedge white paper , which outlines the contract structure and explains how to use the risk of trading fluctuations to achieve value stability without leaving the BCH ecosystem.

data analysis

In cooperation with Karol Trzeszczkowski, we released the numerical analysis of the AnyHedge smart contract.

Contract simulator

To help traders better understand contract behavior, we have built and released an online contract simulation program.

Get financing

During the development of Flipstarter and BCHN, we established new relationships and found new investors. We demonstrated our ability to deliver products as planned and received the first round of investment of more than $1 million.

Can we cancel 2020 ?

We finally returned to the development of AnyHedge. Our automatic settlement service is gradually improving, and when we started to focus on exchange integration, the accident happened again.

Grasberg

In July 2020, Bitcoin ABC disregarded the broad consensus of the community and announced that it would adopt its own Grasberg DAA algorithm, which shocked the entire community. Grasberg DAA will completely change the block generation due to "past-drift correction".

Our oracles and contract infrastructure are based on the consensus of producing a block every 10 minutes. We had to hold an emergency meeting to discuss countermeasures.

After realizing that we might have to redesign the oracle and contract structure and delay it for several months before launching it to the market, we protested this and issued a joint statement with our partners on the matter.

I directly approached Amaury and explained to him that modifying the DAA algorithm would cause significant damage to us. He asked me to adapt to the new rules and pointed out that it was necessary to change the block time expectations (make it predictable) to show his determination not to change the block time.

Everyone we can contact is dissatisfied with the Grasberg algorithm and Bitcoin ABC 's aggressive attitude to forcibly change the DAA algorithm. We have cooperated with our ecological partners to issue a statement to jointly support the aserti3-2d DAA algorithm.

IFP makes a comeback

Bitcoin ABC finally abandoned the Grasberg DAA algorithm, but insisted on implementing IFP. This version has introduced some new entities to control funds, and made it clear that there is "no room for discussion."

After talking with other people, we realized that this would be the last straw to crush the camel. Bitcoin ABC is bound to cause a network split in the upcoming hard fork upgrade.

As a company struggling to deliver products, we need a user base to use our products. If we divide our network effect time and time again, and ultimately no customers will be left to us, we will fail.

Fortunately, we have already proven other viable alternatives to IFP through Flipstarter . Although we still need to spend a lot of time to build relationships and inform you of the many possible outcomes, the situation will not be as bad as the first time.

Summary of my AnyHedge journey

It 's almost the end of 2020. What I expected to be able to complete in a few months ended up taking nearly two years. It shouldn't be that difficult. The lack of developer resources and developer infrastructure has seriously affected the price of BCH .

The good news is that many of the problems we encountered in the past no longer exist. Smart contract tools are becoming more mature, documentation is getting better and better, and infrastructure is sponsored. Once AnyHedge can prove that building non-custodial financial products can bring profit, new teams and companies will enter this field and grow with us.

As for the product itself, we have completed the development. AnyHedge will soon complete the testing phase and will be launched together with the non-custodial exchange Detoken .

$ 0.00
3 years ago

Thanks for translation this article we Understand all.🤝

$ 0.00
3 years ago

nice

$ 0.00
3 years ago

your article about journey is very interesting

$ 0.00
3 years ago

thanks for sharing but english is better for all to understand.keep going.good done.

$ 0.00
3 years ago

এইটা কোন ভাষার

$ 0.00
3 years ago

Yea our God is loving

$ 0.00
3 years ago

Wow this is amazing I do not own understand this language but I do appreciate what you just post next article great information

$ 0.00
3 years ago

Good writing. But English is Best language.

$ 0.00
User's avatar Rrr
3 years ago

This is your home language pls try public language we can understand

$ 0.00
3 years ago

though I can not known this language but I will translated it in google and read than I can understand. it's a very good and hopeful articles

$ 0.00
3 years ago

0action reply Chinese Bhasha ki Sambhavna

$ 0.00
3 years ago

ইংলিশ বুঝিনা তাই কোন কমপ্লিমেন্ট করলাম না

$ 0.00
3 years ago

Your information which you showed in your article is very nice

$ 0.00
3 years ago

i translated your articles, wrote very well

$ 0.00
3 years ago

Intaresting article dear friend.. U like your article

$ 0.00
3 years ago

I do appreciate this Saturday nights at support

$ 0.00
3 years ago

Had to translate just to read... English please...

$ 0.00
3 years ago

if this language was in english, that would be better

$ 0.00
3 years ago

Hello guys Siblings we friend Okay published his story the Language His language wan and some of us don't know the language that's why I translate story and give to English So see his description Below Then read on understand that's what it means Thanks to all our friends who follow our site Thanks.🤝

👇👇👇👇👇👇👇👇👇👇👇👇

GeneralProtocols 181 Subscribe 1 day ago (Last updated: 7 hours ago ) Author: Jonathan Silverblood join AnyHedge group: https: //t.me/AnyHedge

Have you ever wondered what it takes to build smart contract financial products on Bitcoin Cash? I joined a small team in the first half of 2019 to build a non-custodial futures contract product as an attempt to see what can and cannot be done on BCH .

I will outline in this article myself in 2020 Nian online AnyHedge story before.

Initial

In March 2019 , when the idea of Anyhedge was formed and successfully compiled into the initial contract using an early version of Spedn , I had not yet joined the team. But soon I joined it to build the tools needed to use the contract .

At that time, we didn't have any funding, we spent our own time on development. But a potential investor made us realize that maybe one day we can make a profit.

Problems encountered by early adopters

Blind construction stage

To build a smart contract on Bitcoin Cash, not only need to understand the scripting language, but also need to understand the transaction signature, agreement structure and various restrictions.

Soon after working, I found that I couldn't find good sources of information everywhere. I have to read Bitcoin (BTC) documents, but these documents are usually wrong, because either they have been updated for BTC or they are no longer applicable because of the BCH fork. I must also read and try to understand the node upgrade specifications to understand the different operations of Bitcoin Cash, but these specifications only list the changed parts and often mention "the same as before." But what was it like before? No source is given.

Reading these low-quality documents during the development process both increased the difficulty and was of no avail. Therefore, I wrote the BUIP121 proposal to the Bitcoin Unlimited development team to help build better public documents to facilitate developers' protocol interaction.

Although not complete enough, the improvements made by Bitcoin Unlimited and Bitcoin Verde have allowed new developers to read better documentation than ever.

Crazy construction phase

In the first few months after I joined, everyone did their best to accelerate development. However, due to various reasons, the work progressed slowly and intermittently. With the help of potential investors, I was able to meet the team in Townsville before the Bitcoin Cash City Conference .

So far, development progress has accelerated. In just a few weeks, we went from implementing a non-functional contract draft to successfully depositing and redeeming the first AnyHedge contract on the chain .

During the conference in September 2019 , we gave the first presentation to potential partners and investors. An exchange verbally agreed to access our products.

But our demo still has many problems.

At that time, the tools we relied on were not yet complete and there were vulnerabilities (as indicated by the 0.1.x version number). Thanks to the Meep transaction debugger developed by the BCHD team , we transitioned Anyhedge from an initial idea to a proof of concept.

Cracked bridge

Unreliable REST APIs

We build the tool on the most well-known and well-documented developer stack on the market, namely BitBox SDK and related REST API. These tools provided us with a good service during the prototype development stage, but at the end of 2019, we realized that it is not sustainable to build financial commercial projects on free public infrastructure.

We researched multiple alternatives and finally decided to use Electrum server as the backend. The Electrum protocol is not perfect, but considering that the Electron Cash wallet also uses this protocol and has multiple server software, there is a high probability that it will not hang.

However, it is difficult to find good tools that can interact with the server. Either it is no longer maintained, or it does not support the features we need. We have established the electrum-cash library, which can support all functions of the electrum protocol, including encryption, network sockets and automatic version negotiation.

Now, ecological members such as flipstarter , mainnet , fullstack and cashscript all use the electrum-cash library. We promise to provide funds to support the infrastructure on which we depend. And we have public sponsorship, and this sponsorship will continue to expand as our revenue increases.

If you are the first player, who should you work with in the past price oracle?

The AnyHedge contract provides two contract directions and an oracle machine (Oracle) that provides price information. We wanted to use a third-party oracle from the beginning, but what do you do if you are the first player and there are no other players?

We have talked with companies that can provide price data sources or provide price data services such as Bitpay , Chainlink , Coin Dance , Blockchair, and CoinGecko . Unfortunately, due to the different infrastructure required by ETH ; and the smart contract of BCH has not been verified by the market, it is not enough to attract these companies to invest resources in the BCH oracle.

We also try to work with other developers to establish standards and documentation, so that if we have to build a tool ourselves, at least we hope that this tool can be used by others and can be valuable to others. But no one is building the smart contract we need to provide the oracle of use cases.

So we built a price prediction hangar and an oracle service, which can be publicly provided to other builders in the BCH ecosystem. In the future, we will re-discuss this matter and try to find external partners to run the price oracle service.

Financial difficulties

After meeting with potential investors, we thought the team had done a great job, and together we worked out a business plan, shareholder agreement and other documents.

A few months later, the expectations of investors changed and the requirements were also different. We had a big fight about this.

We feel painful to face the uncertainty of funding again, because we don't know if we can find other opportunities.

So far, we have worked at our own expense for 9 months. We have to decide how long to hold on before we declare the project a failure.

New year, new troubles

Infrastructure Financing Plan ( IFP )

At the beginning of 2020, Jiang Zhuoer announced the tax collection plan for miners . The proposal initially received positive feedback because most people can only realize the benefits of having money, but after a few weeks, it became clear that the price of IFP was unacceptable.

Despite causing widespread concern in the community, Bitcoin ABC added an IFP version to its code base and set it to be activated by miners before the upgrade in May.

No one in our team is willing to build a product based on BCH under this new rule , so we have to make a choice: either disband or solve the most fundamental funding problem.

Build Flipstarter

Seeing that the Bitcoin Cash ecosystem is in danger, and we are building products based on BCH, we instead use all available resources to solve the funding problem.

After some observations, we realized that one of the main problems with voluntary donations is "free-riding", or "unfairness": the miners who paid to support the ecosystem were dissatisfied with the fact that others benefited without contributing.

We worked continuously for a month and finally released Flipstarter: a fundraising tool for non-custodial guarantee contracts, and used it to successfully raise $500,000 for infrastructure construction.

We Flipstarter on a full-time developers for nearly two months, under the joint efforts of the community and donations, various projects have raised more than $ 5,000 a BCH (then worth about 120 million US dollars).

BCHN node

When I was almost focused on developing Flipstarter, other members of the team helped establish Bitcoin ABC 's first fork node as a contingency plan to provide alternative solutions for miners who opposed IFP.

Grow into a responsible company

We proved that IFP is not the only feasible way to resolve funds, and began to focus on AnyHedge again. As of mid-2020, we have maintained a good development process and made continuous improvements.

white paper

We released the AnyHedge white paper , which outlines the contract structure and explains how to use the risk of trading fluctuations to achieve value stability without leaving the BCH ecosystem.

data analysis

In cooperation with Karol Trzeszczkowski, we released the numerical analysis of the AnyHedge smart contract.

Contract simulator

To help traders better understand contract behavior, we have built and released an online contract simulation program.

Get financing

During the development of Flipstarter and BCHN, we established new relationships and found new investors. We demonstrated our ability to deliver products as planned and received the first round of investment of more than $1 million.

Can we cancel 2020 ?

We finally returned to the development of AnyHedge. Our automatic settlement service is gradually improving, and when we started to focus on exchange integration, the accident happened again.

Grasberg

In July 2020, Bitcoin ABC disregarded the broad consensus of the community and announced that it would adopt its own Grasberg DAA algorithm, which shocked the entire community. Grasberg DAA will completely change block generation due to "past-drift correction".

Our oracles and contract infrastructure are based on the consensus of producing a block every 10 minutes. We had to hold an emergency meeting to discuss countermeasures.

After realizing that we might have to redesign the oracle and contract structure and have to postpone it for several months before launching it to the market, we protested this and issued a joint statement with our partners on this matter.

I directly approached Amaury and explained to him that modifying the DAA algorithm would cause us significant damage. He asked me to adapt to the new rules and pointed out that it was necessary to change the block time expectations (make it predictable) to show his determination not to change the block time.

Everyone we can contact is dissatisfied with the Grasberg algorithm and Bitcoin ABC 's aggressive attitude to forcibly change the DAA algorithm. We have cooperated with our ecological partners to issue a statement to jointly support the aserti3-2d DAA algorithm.

IFP makes a comeback

Bitcoin ABC finally abandoned the Grasberg DAA algorithm, but insisted on implementing IFP. This edition introduced some new entities to control funds, and made it clear that there was "no room for discussion."

After talking with other people, we realized that this would be the last straw to crush the camel. Bitcoin ABC is bound to cause a network split in the upcoming hard fork upgrade.

As a company struggling to deliver products, we need a user base to use our products. If we divide our network effect time and time again, and ultimately no customers will be left to us, we will fail.

Fortunately, we have already proven other viable alternatives to IFP through Flipstarter . Although we still need to spend a lot of time to build relationships and inform you of the many possible outcomes, the situation will not be as bad as the first time.

Summary of my AnyHedge journey

It 's almost the end of 2020. What I expected to be able to complete in a few months ended up taking almost two years. It shouldn't be that difficult. The lack of developer resources and developer infrastructure has seriously affected the currency price of BCH .

The good news is that many of the problems we encountered in the past no longer exist. Smart contract tools are becoming more mature, documentation is getting better and better, and infrastructure is sponsored. Once AnyHedge can prove that building non-custodial financial products can bring profit, new teams and companies will enter this field and grow with us.

As for the product itself, we have completed the development. AnyHedge will soon complete the testing phase and will be launched together with the non-custodial exchange Detoken .

$ 0.00
3 years ago

well Done Thanks my friend.🤝

$ 0.00
3 years ago

I thought English was a universal language. How do you expect us to understand this please?

$ 0.00
3 years ago

Wow this is amazing understand appreciate reading this article keep it up

$ 0.00
3 years ago

N8ceeeeeeeeeeeeeeeeeeeee

$ 0.00
3 years ago

Nceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

$ 0.00
3 years ago

The issue is that some of us cannot even read in Chinese we have to translate it

$ 0.00
3 years ago

Nice job I didn't understand what you are saying

$ 0.00
3 years ago

I Don't understand properly your Language my Brother that's why i cant Given my Opinion, sorry Brother

$ 0.00
3 years ago

The issue is that some of us cannot even read in Chinese we have to translate it

$ 0.00
3 years ago

You should have translated this to English so everyone will understand..

$ 0.00
4 years ago

Thanks 😇

$ 0.00
3 years ago

Thank you for providing the english copy 😁😁

$ 0.00
3 years ago

I don't have any word because I don't understand this language

$ 0.00
4 years ago

Spelling correction on 'Johnathan'

$ 0.00
User's avatar btcfork
This user is who they claim to be.
We have manually verified this user via some other channel.
4 years ago

Kivabe korbo ekhane click Appsand er kaj korar jonno amake link ta dile balo hoynetslowrespondrequestthe

$ 0.00
4 years ago