昨晚InfoQ和腾讯云共同搞了一个【长安链一键上链分享会】的活动,然后宣布免费公测体验。我立即尝试了一下,整个试用体验很棒,尤其在可视化上链这一块,只要会写合约,开发应用就分分钟的事情了。
Last night, InfoQ and Tung Xyun worked together on an event xff0c; then announced a free public survey. I immediately tried xff0c; the whole trial experience was great xff0c; especially this xff0c in the visual chain; as long as I wrote the contract xff0c; and the application was developed in minutes.
● TBaaS长安链体验网络公测入口:TBaas官网,选择免费体验长安链
操作步骤官网都有文档,可以直接看,我就不多说了。
长安链上链文档
公测群里很多同学因为合约开发和编译不熟悉,导致无法体验。接下来我说下如何绕过这个问题。
•
合约如何开发和编译
腾讯云TBaaS长安链合约支持 DockerGo、Solidity、Rust、C++ 四种语言。不同的合约上传的合约文件类型不同。
因为合约开发和编译需要搭建环境,这是一件很麻烦的适应,所以官方文档建议使用Docker。
合约编译方法可参考开发指南 智能合约开发(DockerGo) 或 智能合约开发(Solidity) 或 智能合约开发(Rust) 或 智能合约开发(C++)。
官方提供的开发指南很详细,注意事项也写的很到位。不过对于只是想体验一下功能的新手,从安装Docker再到编译,这就有点耗时间了。我在长安链官网找到几个编译好的合约文件,大家可以直接使用
Solidity Token合约
【zip中包含的是 1)上链的合约文件:token.bin 2)客户端使用的接口文件:token.abi,请自行解压。】
可以直接上传token.bin和token.abi,然后按照下图填写参数,就可以成功创建合约
because contract development and compilation requires setting the environment xff0c; this is a difficult adaptation xff0c; therefore the official document is proposed to use Docker.
contract compilation methods can be consulted in the development guide ;
注意:合约调用参数一定要按照图中示例,不然后面上链时会报错。当然,如果你是个区块链老手,自己会阅读代码,可以不用考虑我说的内容。
然后按照下图参数进行上链即可
xff1a; contract call parameters must follow the example in the graph xff0c; otherwise the chain will be misdirected. Of course xff0c; if you're an old block-chainer xff0c; you can read the code xff0c; you don't have to take into account what I say.
and then you can insert the image description here
腾讯云长安链可以大大提高区块链开发效率,未来只要自己对接上API,然后自己开发合约,开发前端应用界面,就可以快速的构建成熟的区块链应用,比如最近很活的NFT数字资产铸币。
小伙伴们还等什么,体验起来吧。
The network of experiences provided by this tether cloud has four organizational nodes xff0c; the node configuration is high xff0c; all are 16 nuclear 32 with 1,000 G diskettes xff0c; and there is a good block-chain browser function xff0c; there is a high block chain height and transactional pens xff0c; click to see details of each transaction. This function I think is superb. 广告时间:需要区块链应用开发的,可以私信我。 Advertisement time xff1a; xff0c, which requires block chain application development; can trust me personally.
br/> srg src=s of cloud lengths can significantly improve the efficiency of the block development #xff0cs; in the future, it is possible to tap into the API& #xffffs; it is possible to develop some quick deployment of
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论