JSONata

JSONata

Portable Smart Contracts

2018-11-21T08:10:47+00:00September 28th, 2018|Categories: consensus, dag, JSONata, programming|Tags: , , , , |

Why Smart ContractsSmart Contacts are the force that mediates the blockchain. They are the entry point to the blockchain — how to get value and processes on to a blockchain.What processes should be transferred to a blockchain? Certainly any process that needs accountability, trust or agreement between parties, or transfers value, or creates value. Note that this includes many processes that haven't been digitized [...]

Auction Contract – Part 1

2018-11-21T08:08:51+00:00September 23rd, 2018|Categories: example, JSONata, programming|Tags: , , |

Overview In the next few posts, we will build a sample auction contract. The auction contract is simple, but sufficient for many use cases. We'll start out with the template for the contract. The template contains the reducers, which are the named bits of contract code that get executed when actions are sent to the contract. For the auction contract, there are 3 reducers: [...]