You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Status

IN PROGRESS 

StakeholdersMakoto Takemiya Bogdan Mingela
Outcome
Due date

 

OwnerEgor Ivkov Ivan Rybin

Background

Currently we have Iroha Special Instructions and Expressions as a main smart contract language. Later we will call both Instructions and Expressions simply ISI.

  1. Instructions - mutate global state (domains and other entities) in WSV
  2. Expressions - do not mutate state (are more like mathematical calculations) and can also incorporate queries to WSV
  3. Instructions can use complex input parameters in a form of Expressions.

Scripts written in ISI can be executed in 2 places:

  1. As part of the transaction that user submits
  2. Inside a trigger that is registered and executed on chain based on some events (see Trigger RFC) - not developed yet

Problem

Solution

Preliminarily it is suggested to use Rust with WASM target with wasmtime runtime.

Decisions

Alternatives

Concerns

Assumptions

Risks

Additional Information

  • No labels