Making Blockchains Simple.
Simple Solutions to Complex Problems.

Making Blockchains Simple.

One of the challenges of building blockchain solutions is testing it. Chronicle Accelerate has a framework to make adding custom transactions with the state using data-driven tests. i.e. without the need to write code.

Example: Appreciation

The following application allows participants to show appreciation for each other by giving "likes". They have a fixed number of likes to give each other each week on a use or lose it basis. Users with the most likes might get a reward on a monthly basis, which halves their likes.

The data-driven tests are available here Appreciation Give tests

setup.yaml sets up the test, giving it an initial state


Click here for Original source





Tomi Abibu

Pharmaceutical & Technology Consultant

3 年

Rob, thanks for sharing!

回复

要查看或添加评论,请登录

社区洞察

其他会员也浏览了