
Telegram Mini Apps电报小程序开发文档
2022年4月Telegram的MiniApp(之前为Web App,6.0版后改名为Mini App)上线,Mini Apps(简称 TMAs,中文名:小程序)很可能会变成一个类似于微信小程序的平台,使得Telegram 更接近一个“超级应用”。目前,电报小程序推出不久,版本还在快速迭代中,开发人员也较少,但电报庞大的用户群基础很可能会产生大量的小程序。 作为Web3的开发者,大多数应用都是前端和区块链直接交互,但电报bot只支持消息通过电报服务和bot所在的服务器进行交互,导致大量DAPP无法给到用户可靠的账户安全保障。电报小程序在电报应用中“嵌入”了Web前端应用,通过它与区块链和智能合约直接交互,将账户信息通过安全策略在本地进行保存,大幅度提高账户安全性。同时,将与区块链无关的业务逻辑通过bot与服务器进行交互,提高用户体验。 所以,Telegram+小程序+bot+智能合约的开发模式,可能会称为一种全新的Web3开发技术栈。事实上,从时间上看,电报小程序与TON链同时推出,也可能有这方面的用意。但是这种开发模式不仅仅适用于电报和TON链,更适用于用户量庞大的各种EVM链...

使用Session Key委托服务器安全的操作抽象账户
最近电报自动交易机器人和各种SocialFi很火,这些产品给用户带来了类似Web2的良好用户体验。但火爆的背后,也发生了多起安全事件。为此,很多新上线的平台开始使用更先进的账户安全技术来保护用户资产,比如@tomo_social使用了ERC-4337账户抽象技术,有些电报机器人采用了MPC钱包技术。 尽管账户抽象钱包(AA钱包)已经具备了零gas费(服务商代付gas费),多签,社交登录等强大功能,并大幅度提升用户体验,但是因为ERC-4337属于在现有以太坊共识基础上的补丁方案,与链交互签名时仍旧需要私钥,各种方案只是在私钥保存和签名环节采取各种安全措施。 所以,虽然很多代用户签名交互的电报机器人,SocialFi平台通过MPC钱包或AA钱包来保障客户的私钥安全,但实际上,因为最终还是要通过钱包主私钥来进行签名,本质上还是私钥的验证模式,所以仍旧有私钥泄露的风险。 今天看到AA钱包创新项目ZeroDev的Session Key(对话密钥)解决方案,可以让AA钱包授权生成一个或若干个Session Key(也是一种私钥),来受控的执行经授权的操作。这种授权模式有别于ERC-20或E...
FERC20:一个更公平的ERC20方案
简介我们非常高兴地宣布,erc20.cash 上线了。这是一个更公平的的ERC20代币方案,我们将它命名为:Fair ERC-20,简称FERC20。 今年3月8日,BRC20代币在比特币链上通过Ordinals部署成功,在短短一两个月内吸引了大量关注和资金的参与。BRC20代币的成功得益于以下几个原因:简洁的Ordinals协议使得BRC20发行方无法在代币上做过多的编程,避免了在以太坊合约中各种安全风险和一些自私的设计。人人平等的铸币权。BRC20的发行方或项目团队,无法像在以太坊智能合约中通常做的那样,给自己或相关利益方预留一部分免费(低价)代币。在铸造BRC20时,所有人都站在同一起跑线上,即使发行方和团队也是如此。比特币的UTXO机制和低性能,让很多具有速度优势的智能合约机器人无法在比特币网络上工作,从而防止了通过技术手段获得比正常参与者更大的优势以及由此造成的不公平。上述原因使得BRC20对社区参与者来说,更公平,从而吸引了更多人参与。 但是,即使如此,有个非常有意思的现象是:大多数以太坊社区的成员尚未参与BRC20。 所以,我们想,是否能将BRC20的公平发售(Fa...

Telegram Mini Apps电报小程序开发文档
2022年4月Telegram的MiniApp(之前为Web App,6.0版后改名为Mini App)上线,Mini Apps(简称 TMAs,中文名:小程序)很可能会变成一个类似于微信小程序的平台,使得Telegram 更接近一个“超级应用”。目前,电报小程序推出不久,版本还在快速迭代中,开发人员也较少,但电报庞大的用户群基础很可能会产生大量的小程序。 作为Web3的开发者,大多数应用都是前端和区块链直接交互,但电报bot只支持消息通过电报服务和bot所在的服务器进行交互,导致大量DAPP无法给到用户可靠的账户安全保障。电报小程序在电报应用中“嵌入”了Web前端应用,通过它与区块链和智能合约直接交互,将账户信息通过安全策略在本地进行保存,大幅度提高账户安全性。同时,将与区块链无关的业务逻辑通过bot与服务器进行交互,提高用户体验。 所以,Telegram+小程序+bot+智能合约的开发模式,可能会称为一种全新的Web3开发技术栈。事实上,从时间上看,电报小程序与TON链同时推出,也可能有这方面的用意。但是这种开发模式不仅仅适用于电报和TON链,更适用于用户量庞大的各种EVM链...

使用Session Key委托服务器安全的操作抽象账户
最近电报自动交易机器人和各种SocialFi很火,这些产品给用户带来了类似Web2的良好用户体验。但火爆的背后,也发生了多起安全事件。为此,很多新上线的平台开始使用更先进的账户安全技术来保护用户资产,比如@tomo_social使用了ERC-4337账户抽象技术,有些电报机器人采用了MPC钱包技术。 尽管账户抽象钱包(AA钱包)已经具备了零gas费(服务商代付gas费),多签,社交登录等强大功能,并大幅度提升用户体验,但是因为ERC-4337属于在现有以太坊共识基础上的补丁方案,与链交互签名时仍旧需要私钥,各种方案只是在私钥保存和签名环节采取各种安全措施。 所以,虽然很多代用户签名交互的电报机器人,SocialFi平台通过MPC钱包或AA钱包来保障客户的私钥安全,但实际上,因为最终还是要通过钱包主私钥来进行签名,本质上还是私钥的验证模式,所以仍旧有私钥泄露的风险。 今天看到AA钱包创新项目ZeroDev的Session Key(对话密钥)解决方案,可以让AA钱包授权生成一个或若干个Session Key(也是一种私钥),来受控的执行经授权的操作。这种授权模式有别于ERC-20或E...
FERC20:一个更公平的ERC20方案
简介我们非常高兴地宣布,erc20.cash 上线了。这是一个更公平的的ERC20代币方案,我们将它命名为:Fair ERC-20,简称FERC20。 今年3月8日,BRC20代币在比特币链上通过Ordinals部署成功,在短短一两个月内吸引了大量关注和资金的参与。BRC20代币的成功得益于以下几个原因:简洁的Ordinals协议使得BRC20发行方无法在代币上做过多的编程,避免了在以太坊合约中各种安全风险和一些自私的设计。人人平等的铸币权。BRC20的发行方或项目团队,无法像在以太坊智能合约中通常做的那样,给自己或相关利益方预留一部分免费(低价)代币。在铸造BRC20时,所有人都站在同一起跑线上,即使发行方和团队也是如此。比特币的UTXO机制和低性能,让很多具有速度优势的智能合约机器人无法在比特币网络上工作,从而防止了通过技术手段获得比正常参与者更大的优势以及由此造成的不公平。上述原因使得BRC20对社区参与者来说,更公平,从而吸引了更多人参与。 但是,即使如此,有个非常有意思的现象是:大多数以太坊社区的成员尚未参与BRC20。 所以,我们想,是否能将BRC20的公平发售(Fa...

Subscribe to jackygu's blog

Subscribe to jackygu's blog
Share Dialog
Share Dialog


<100 subscribers
<100 subscribers
I have an idea and I wanted to write it down to see if we can build something together.
This idea comes from several things:
Lately, friend.tech (ft) is so hot. I was a little bit late and only registered four days ago. Due to my involvement in developing Chatpuppy, a social web3 messenger, I was able to quickly understand the essence of this SocialFi product.
With the guides of some experienced ft players in the community, I grasped the core concept of ft. Its design is considered classic to the extent that I even gave up my Huawei mobile phone, which I had been using for years, and bought a new mobile phone that supports Google Services just for using friend.tech on mobile.
On Sep.18th, I handed over the permissions of the ferc20 platform to fercDAO, and it has been almost a month since then. When drafting the DAO rules, I specifically mentioned that the mission of DAO is to "create a free, fair, and equal environment to stimulates innovation and creativity." I believe that innovation is the only thing can drive fercDAO community and ferc's token price.
However, up to this day, most of the discussions within the community are focus on price, with very few people discussing innovative. I review and realized that this mission might be too high for most members: most people do not understand how to innovate or the impact of innovation on ferc. Therefore, even though after I handed over the permissions of ferc20, I have been always thinking how I can inspire everyone through practical actions in this space.
In August, some telegram bots like unibot became one of the hot space. These products have greatly improved user experience and efficiency, benefiting many people and changing or will change the user experience of web3 Dapps.
During the recent national-day's holiday, I studied telegram bot technology and realized that, with the improvement of account security, telegram bots might potentially redefine certain aspects of web3 dapps that have been around for the past few years.
Since the launch of Chatpuppy, a web3 social project, in the first half of last year, we have been searching for a suitable economic model. friend.tech has provided some important inspiration in this space.
Where could the innovation emergence be for ferc20? In other words, what can start the boll of innovation rolling?
Considering limited resources, if we were to create a product to set the boll rolling in the ferc20 community, could we find opportunities for innovation on the edge of Chatpuppy, Telegram bots, and ft?
Since opening ft account four days ago, I have been thinking about how to make my keys more valuable. Honestly, as a programmer who spends most of time coding, I don't have a lot of Alpha opptunities like some famouse KOLs, so I feel it's difficult to do this to satisfy key holders.
I am good in seizing innovative opportunities and implementing ideas through technology. However, I'm weak of token model designing and need strong assistance in this space.
When developing the ferc20 platform half year before, I adopted a development mode that involved sharing the process on Twitter and encouraging community participation. Could we use this community-driven development model inside of ft group, which means allowing key holders to actively participate and witness the product's development? And could we make key holders the first beneficiaries once it goes online?
Are there any space of ft that can be optimized? For example, why members of the largest ft group can not exceeded 200 till now? Are there any opportunities for a better token economics? How can we be more welcoming to new participants if the key price become high? How can we enhance the chatting experience?
Indeed, ft has been very successful, but there is still space for improving, and this will provide opportunities of innovation.
For the past few months, I am always thinking the issue of fairness on the ferc20 platform. Although ferc20 focuses on fairness, in reality, true fairness has not been achieved. While fairness has been improved in the token launch process, it still falls into the trap of Ponzi schemes prevalent in the cryptocurrency industry (ie. the earlier got money from the later participant).
Last month, I created a agent-based model using NetLogo to simulate price fluctuations. The model showed that seeking to way of solving the fairness issue by the ERC20 protocol is futile. However, the model also provided a solution. Unfortunately, this solution cannot be implemented with the ERC20 protocol, so further experimentation on ferc20 had to be abandoned. But now I found that the ft's key system makes this solution possible. Why not give it a try?
Yesterday, the idea of this edge innovation came to my mind, and here is a brief description:
Ft is a group chat application based on Twitter. It has been very successful and has strong VCs support. Everyone feels that it is almost unbeatable. Why not try to move it's idea to Telegram and make some improvement in the economic model, such as the sluggish growth of keys, excessive operational pressure on KOLs, and poor users' experience.
As for whether it will become popular or not, we don't need to consider it now. You will never know if you don't try. In May, when I mentioned the idea of moving Ordinal to Ethereum to some friends, almost no one had high expectations for it. Let's give it another try this time!
I am a programmer, good at coding. Although I also understand token models, my thinking is more academic and traditional. I am not good at fantastic token models in the crypto space. We need KOLs and friends with insights to give suggestions.
Therefore, I decided to discuss the details of this product, especially the economic model, inside the ft group. Since all the members has to buy the key, the key holders can effectively protect the business and technical secrets during the developing.
No tokens will be issued. Instead, the profits will be distributed to the key holders.
After the product goes online, keys can be purchased by Ferc, just like buying keys with ETH on ft platform. However, ferc is not the only payment method.
If there are no unforeseen circumstances (especially health issues), I hope to start testing in middle of November, which is about a month from now.
The major tasks to be completed during this period include finalizing the economic model, smart contracts, chat bot.
If the project fails due to personal or technical reasons, all the ETH obtained through keys will be distributed to the key holders, providing some compensation to the holder to cover part of losses(not all). However, the likelihood of this happening is very low.
Personally, I hope this product can achieve the following specific objectives:
Six months ago, I personally invested a significant amount of time and effort to create the Ferc20 without any fund-raising. However, the result was not only make no money but also lose a lot because buying Ferc tokens, and even facing misunderstandings and accusations from others. Therefore, with this product, I want to make some money behind efforts.
This article is a simple and rough idea of what I am planing to do, I think one month later, the product will be much better than this planning.
I have an idea and I wanted to write it down to see if we can build something together.
This idea comes from several things:
Lately, friend.tech (ft) is so hot. I was a little bit late and only registered four days ago. Due to my involvement in developing Chatpuppy, a social web3 messenger, I was able to quickly understand the essence of this SocialFi product.
With the guides of some experienced ft players in the community, I grasped the core concept of ft. Its design is considered classic to the extent that I even gave up my Huawei mobile phone, which I had been using for years, and bought a new mobile phone that supports Google Services just for using friend.tech on mobile.
On Sep.18th, I handed over the permissions of the ferc20 platform to fercDAO, and it has been almost a month since then. When drafting the DAO rules, I specifically mentioned that the mission of DAO is to "create a free, fair, and equal environment to stimulates innovation and creativity." I believe that innovation is the only thing can drive fercDAO community and ferc's token price.
However, up to this day, most of the discussions within the community are focus on price, with very few people discussing innovative. I review and realized that this mission might be too high for most members: most people do not understand how to innovate or the impact of innovation on ferc. Therefore, even though after I handed over the permissions of ferc20, I have been always thinking how I can inspire everyone through practical actions in this space.
In August, some telegram bots like unibot became one of the hot space. These products have greatly improved user experience and efficiency, benefiting many people and changing or will change the user experience of web3 Dapps.
During the recent national-day's holiday, I studied telegram bot technology and realized that, with the improvement of account security, telegram bots might potentially redefine certain aspects of web3 dapps that have been around for the past few years.
Since the launch of Chatpuppy, a web3 social project, in the first half of last year, we have been searching for a suitable economic model. friend.tech has provided some important inspiration in this space.
Where could the innovation emergence be for ferc20? In other words, what can start the boll of innovation rolling?
Considering limited resources, if we were to create a product to set the boll rolling in the ferc20 community, could we find opportunities for innovation on the edge of Chatpuppy, Telegram bots, and ft?
Since opening ft account four days ago, I have been thinking about how to make my keys more valuable. Honestly, as a programmer who spends most of time coding, I don't have a lot of Alpha opptunities like some famouse KOLs, so I feel it's difficult to do this to satisfy key holders.
I am good in seizing innovative opportunities and implementing ideas through technology. However, I'm weak of token model designing and need strong assistance in this space.
When developing the ferc20 platform half year before, I adopted a development mode that involved sharing the process on Twitter and encouraging community participation. Could we use this community-driven development model inside of ft group, which means allowing key holders to actively participate and witness the product's development? And could we make key holders the first beneficiaries once it goes online?
Are there any space of ft that can be optimized? For example, why members of the largest ft group can not exceeded 200 till now? Are there any opportunities for a better token economics? How can we be more welcoming to new participants if the key price become high? How can we enhance the chatting experience?
Indeed, ft has been very successful, but there is still space for improving, and this will provide opportunities of innovation.
For the past few months, I am always thinking the issue of fairness on the ferc20 platform. Although ferc20 focuses on fairness, in reality, true fairness has not been achieved. While fairness has been improved in the token launch process, it still falls into the trap of Ponzi schemes prevalent in the cryptocurrency industry (ie. the earlier got money from the later participant).
Last month, I created a agent-based model using NetLogo to simulate price fluctuations. The model showed that seeking to way of solving the fairness issue by the ERC20 protocol is futile. However, the model also provided a solution. Unfortunately, this solution cannot be implemented with the ERC20 protocol, so further experimentation on ferc20 had to be abandoned. But now I found that the ft's key system makes this solution possible. Why not give it a try?
Yesterday, the idea of this edge innovation came to my mind, and here is a brief description:
Ft is a group chat application based on Twitter. It has been very successful and has strong VCs support. Everyone feels that it is almost unbeatable. Why not try to move it's idea to Telegram and make some improvement in the economic model, such as the sluggish growth of keys, excessive operational pressure on KOLs, and poor users' experience.
As for whether it will become popular or not, we don't need to consider it now. You will never know if you don't try. In May, when I mentioned the idea of moving Ordinal to Ethereum to some friends, almost no one had high expectations for it. Let's give it another try this time!
I am a programmer, good at coding. Although I also understand token models, my thinking is more academic and traditional. I am not good at fantastic token models in the crypto space. We need KOLs and friends with insights to give suggestions.
Therefore, I decided to discuss the details of this product, especially the economic model, inside the ft group. Since all the members has to buy the key, the key holders can effectively protect the business and technical secrets during the developing.
No tokens will be issued. Instead, the profits will be distributed to the key holders.
After the product goes online, keys can be purchased by Ferc, just like buying keys with ETH on ft platform. However, ferc is not the only payment method.
If there are no unforeseen circumstances (especially health issues), I hope to start testing in middle of November, which is about a month from now.
The major tasks to be completed during this period include finalizing the economic model, smart contracts, chat bot.
If the project fails due to personal or technical reasons, all the ETH obtained through keys will be distributed to the key holders, providing some compensation to the holder to cover part of losses(not all). However, the likelihood of this happening is very low.
Personally, I hope this product can achieve the following specific objectives:
Six months ago, I personally invested a significant amount of time and effort to create the Ferc20 without any fund-raising. However, the result was not only make no money but also lose a lot because buying Ferc tokens, and even facing misunderstandings and accusations from others. Therefore, with this product, I want to make some money behind efforts.
This article is a simple and rough idea of what I am planing to do, I think one month later, the product will be much better than this planning.
No activity yet