This article was first published on æternity blog - Medium
æternity’s State Channels — Playground
Playground — a tool to experiment and showcase æpps that make use of State Channels.
To make State Channels more attractive for developers to experiment with, we have decided to develop Playground. Playground will function as a tool to help anyone that wants to build an æpp using State Channels. Through this blog post, the team is happy to give you insight into the development process of Playground as we invite you to create along with us!
The Purpose of Playground
We would like for æpp developers who want to make use of State Channels, to be able to fully concentrate on the development of their applications. Therefore the goal of Playground is to create a tool that can:
- Function as a test environment for æpps making use of State Channels
- Showcase æpps already making use of State Channels
A Test Environment
Playground, as the name suggests, will enable æpp developers to “play”, or in other words- to experiment with their application. The tool will allow users to simulate various scenarios so that a new æpp can be optimized or bugs can be detected within it. Here you can see the first draft of how this testing environment is currently being envisioned:
In the image above, you can see the request from Bob to Alice to create a State Channel. After Alice accepts Bob’s request, Alice can make use of the State Channel within the æpp.
The tool facilitates two AE accounts that make use of the State Channel: Alice and Bob. With Alice and Bob as the two users, you will be able to test the basic features of the State Channel. You can let Alice and Bob open and close a channel, and deposit and withdraw money from the chain into the State Channel. This will enable you to perform basic functionality ...
To keep reading, please go to the original article at:
æternity blog - Medium