News.EOS.WiKi Bilingual News & Info Of EOS

利用EOSLIME支持EOSIO框架和开发/EOSIO Framework and Development with EOSLIME

译文/Translated:

区块链发展公司LimeChain的联合创始人和CTO Chris Veselinov向我们描述他怎么帮助企业了解区块链的好处、构建多方位的解决方案。今年年初,LimeChain因为EOSLIME工具获得了EOS VC奖金,这个工具是针对EOSIO的开源、基于JavaScript的开发、测试和部署框架。

LimeChain为宝洁、瑞弗森银行等公司提供区块链解决方案,推动了区块链技术的应用。

对LimeChain团队来说,构建解决方案可能意味着对现有的EOSIO模块进行个性化调整,或者部署一整个系统。“我们为使用EOSIO软件的顾客构建私人网络。”Chris说。

私人EOSIO区块链,如LimeChain设计和部署的那些,会有更灵活的权限,这也是很多用例所需要的。这样就可以把区块链基础架构和企业集成起来、根据相关法律法规行事、或遵守某些安全做法。

针对EOSIO的JavaScript框架等

LimeChain发现自己有机会创造一个动态工具,用以支持使用本版EOSIO开发者版 又想在JavaScript环境运行测试的开发者。“我们开始开发了,但很快发现这样的工具不存在。“于是他们开发了EOSLIME。

EOSLIME的设计目的是让智能合约达到100%的强制单元测试、减少审核费用。在创建EOSLIME的时候,LimeChain开发者从建造JavaScript库开始,支持编写测试和部署脚本,然后才不断增加更多功能。

“我们的想法是不断增加新功能。每天、每周、我们都在增加一些新的东西,我们的计划是根据社区需求,不断增加支持的项目。在Block.one的支持下,我们可以不断开发新功能、支持产品。“

Setting EOSLIME Apart 与众不同的EOSLIME

为了避免破坏测试,每个测试和测试套都应该在干净的智能合约中进行。Chris认为,EOSIO智能合约工作的方式可能会导致测试变得复杂。“基本上你是在升级合约,而不是上传一个新的合约。“

为了解决这个问题,EOSLIME让你能够在进行每次测试的时候利用随机产生的名字部署智能合约。“作为开发者,你不需要担心这个,因为你在使用EOSLIME库,这个库把我们的测试环境和其它不同的工具区别开了。“

现在,除了单元测试功能以外,EOSLIME还让开发者能够部署和实例化智能合约,让他们能够完全控制合约动作。它还能根据私钥或公共/私钥组随机产生账户名。

EOSLIME还支持以下命令行界面应用命令:

  • 初始化:设置现成的文件结构
  • 编译:编译智能合约
  • 部署:编写部署脚本、使用EOSLIME在区块链上执行脚本
  • 测试:编写JavaScript单元测试,用EOSLIME运行该脚本

开发者还可以期待EOSLIME未来的一个功能:shape命令,它会为开发者创造项目模板。Shape在后台生成了EOSLIME测试套以及一个网站和EOSIO智能合约。Chris说,shape功能让开发者能通过查询表了解EOSIO智能合约怎么工作的。“只要修改几行代码,开发者就可以浏览整个流程——从用户和网站的交互和真正的智能合约交易。”

团结合作、克服挑战

LimeChain的专家团现在针对应用了EOSLIME的EOSIO项目开展工作。团队采用了合作的方法解决问题。“不管我们身处哪里,我们都很容易能够和团队的某个成员做头脑风暴、共同发现解决方法。所以,项目都获得了很好地支持。同时,我们也在不断升级和改进EOSLIME支持我们客户的项目。”

Chris相信,EOSLIME是开发者在EOSIO上进行JavaScript开发、测试和部署框架时的正确选择。

EOSLIME工具的贡献人

LimeChain 联合创始人和CTO, Christian Veselinov

Christian Veselinov

LimeChain的联合创始人和CTO Chris在软件开发方面有八年多的经验。他还有企业系统、扩展初创公司、带领开发团队的经验。他在LimeChain很多项目都参与了架构部分。过去一年半来,他都在钻研EOSIO空间、支持EOSLIME开发。

EOSLIME 区块链开发者, Lyubomir Kiprov

Lyubomir Kiprov

EOSLIME的主要区块链开发者和贡献者Lyubomir自从2018年以来就一直在构建区块链空间。他熟悉EOSIO、Substrate和以太坊开发。从EOSLIME启动以来他就一直在支持EOSLIME,还经常发布新功能。

建立在EOSIO之上?

我们的 #建立在EOSIO 系列展示了利用EOSIO科技的一些卓越的项目,它们都能为我们更加安全和联系的世界添砖加瓦。如果您想给我们下一个阶段的项目提建议,请给我们的开发者关系小组发送邮件spotlight@block.one

了解EOS VC如何通过战略性投资和风投合伴基金支持EOSIO生态,请访问 vc.eos.io

–Block.one开发者关系小组

重要通知:所有提供的材料都受此重要通知的约束,您必须自行熟悉此间条款。该通知包含与我们软件、出版物、商标、第三方资源以及前瞻性声明相关的信息、限制和约束内容。通过访问我们的材料,您接受并同意此通知的条款。

原文/Original:

Chris Veselinov, co-founder and CTO of blockchain development company LimeChain, describes his approach to helping businesses understand the benefits of blockchain and building solutions as multifaceted. Earlier this year, LimeChain received an EOS VC grant for the EOSLIME tool, an open-source JavaScript-based development, testing, and deployment framework for EOSIO.

LimeChain helps drive adoption by developing blockchain-based solutions for customers such as Procter & Gamble and Raiffeisen Bank. 

For the LimeChain team, building solutions might mean customizing an existing module of EOSIO or deploying an entire system. “We build private networks for customers using the EOSIO base software,” says Chris.

Private EOSIO blockchains such as those designed and deployed by LimeChain feature greater flexibility with permissions, which is often a requirement in many use cases. This makes it feasible to integrate a blockchain-based infrastructure for businesses, follow the guidelines of regulatory and compliance agencies, or adhere to certain security practices.

A JavaScript Framework for EOSIO and More

EOSLIME was developed after LimeChain saw an opportunity to create a dynamic tool that supports current versions of EOSIO for developers who want to run tests in a JavaScript environment. “We started developing and quickly noticed that such a tool didn’t exist.”

EOSLIME is built to get smart contracts to achieve 100% mandatory unit test coverage and thus reduce the toll on auditors. To create EOSLIME, LimeChain developers began by building a JavaScript library to support writing test and deployment scripts and went on to add more functionality.

“Our idea is to continuously add new features. Every day, every week, we are adding something new, and the plan is to keep on supporting the project based on what the community desires. With the support of Block.one, we can continue developing new features and supporting the product.”

Setting EOSLIME Apart

To avoid breaking tests, it is necessary for each test case and test suite to run against a clean smart contract. According to Chris, testing can get complicated due to the way EOSIO smart contracts work. “Basically you are updating the contract, not uploading a new one.” 

To work around this issue, EOSLIME lets you deploy a new smart contract with a randomly generated name for each test run. “As a developer, you don’t need to worry about this because you are using the EOSLIME library. It’s something that separates our testing scenarios from different tools.”

Today, in addition to unit testing features, EOSLIME lets developers deploy and instantiate smart contracts, giving them full power over contract actions. It also has utilities to generate a random name for an account based on a private key or a public/private key pair.

EOSLIME also supports the following Command Line Interface Application commands: 

  • InitSet up a ready-to-use file structure
  • Compile: Compile smart contracts
  • Deploy: Write deployment scripts and use EOSLIME to execute them on a blockchain
  • Test: Write JavaScript unit tests and run them with EOSLIME.

Another EOSLIME feature developers can expect in the future is the shape command, which creates a template project for developers. Behind the scenes, shape generates a website and an EOSIO smart contract alongside the EOSLIME test suite. Chris says the shape feature gives new developers a chance to learn how EOSIO smart contracts function by querying tables. “By just modifying a few lines of code, developers have a view of the full flow – from the user interaction with the website to the actual smart contract transaction.”

Working Together and Overcoming Challenges

LimeChain’s team of experts currently works on multiple projects on EOSIO where EOSLIME is used. The team embraces a collaborative approach towards problem solving. “Regardless of where we’re all located, it’s really easy to brainstorm with a colleague on the team and together find the solution. As a result, projects are well-supported. At the same time, we constantly update and improve EOSLIME to support our customers’ projects.”

It’s Chris’s belief that EOSLIME is the right JavaScript-based development, testing, and deployment framework for developers to use on EOSIO.

Contributors to the EOSLIME Tool

LimeChain Co-Founder and CTO, Christian Veselinov

Christian Veselinov

LimeChain Co-Founder and CTO Chris spent more than eight years working in software development. He also has experience with enterprise systems, scaling startups and leading development teams. He is actively working on the architecture side of many of LimeChain’s projects. For the last year and a half, he has been engaged with the EOSIO space and supporting the development of EOSLIME.

EOSLIME Blockchain Developer, Lyubomir Kiprov

Lyubomir Kiprov

EOSLIME’s main Blockchain Developer and Contributor Lyubomir has been building in the blockchain space since 2018. He is experienced with EOSIO, Substrate, and Ethereum development. He has supported EOSLIME since its launch and is releasing new features often.

Building on EOSIO?

Our #BuiltOnEOSIO series showcases some of the amazing projects leveraging EOSIO technology to build a more secure and connected world. If you would like to suggest a project for us to feature please send an email to spotlight@block.one for our Developer Relations team to review.

For more information on how EOS VC supports the EOSIO ecosystem through strategic investments and venture capital partnership funds, visit vc.eos.io.

– Block.one Developer Relations team

Important Note: All material is provided subject to this important notice, and you must familiarize yourself with its terms. The notice contains important information, limitations and restrictions relating to our software, publications, trademarks, third-party resources and forward-looking statements. By accessing any of our material, you accept and agree to the terms of the notice.

原文链接/Original URL:

About the author

By user
News.EOS.WiKi Bilingual News & Info Of EOS

Recent Posts