dyne / restroom-mw

🛠 Easy REST API builder executing Zencode
https://restroom.dyne.org
GNU Affero General Public License v3.0
3 stars 11 forks source link

Reading "HEAD" and "previous" from blockchains #109

Open andrea-dintino opened 2 years ago

andrea-dintino commented 2 years ago

In order to have a multilayer blockchain, for all the blockchains we support, we need statements that:

Something like:

Given I read from Sawroom the data in the HEAD and save the output into 'sawroomHead'
Given I read from Sawroom the data in the address preceding 'myAddress' and save the output into 'sawroomPrevious'

Data:

{
"myAddress": "c274b51d3851ebcd31347fa373b4ca2e9be9eb0cadcc209f769af8156b9f754241013f"
}