hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
424 stars 276 forks source link

Research the defi functionality RFC #1212

Open takemiyamakoto opened 3 years ago

takemiyamakoto commented 3 years ago

In order to finish the ISI design we need to think of Defi instruction design. Main focus is the most popular use cases for defi which can be implemented inside ISI.

https://wiki.hyperledger.org/display/iroha/Set+of+OOB+ISIs

We should make an RFC that has atomic structures needed for DeFi, such as token locking, token swaps, etc.

appetrosyan commented 1 year ago

Consider implementing it via WASM instead.

takemiyamakoto commented 1 year ago

I wouldn't do this via wasm. Rather, I would put this in the core and add other functions too, similar to unreal engine Blueprint, which has many built-in functions that people can combine.