defi_blocks – 德菲尤街区区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,defi_blocks – 德菲尤街区区块链毕设代写 是一篇很好的国外资料



This is a very basic PoC for a graphical no-code builder that generates solidity smart contract code from a given blockly block.

defi_blocks - 德菲尤街区

Currently it’s re-implementing the DAICompoundBasic strategy from yearn. It comes with a custom blockly block that can be used to parametrize the strategy and switch between a depositor, a rewardor, the exchange and the token that is wanted and optimized by the strategy without writing any single line of solidity code.

The tool generates the smart contract code by applying the configured block to a given template file which is provided. The logic is currently very limited, the idea was just if it’s doable and how no-code programming of smart contracts could be used.

I have created this as a fun project for the ETHonline 2020 hackathon.

Note: Most of the code is currently hard-wired so basically it always ouputs the DAICompoundBasic yearn strategy atm 😂


As this is a very quick & dirty implementation the only thing you can do right now is to generate the solidity code from a preconfigured block for the DAICompoundBasic strategy from yearn:

npm install && node index.js

The generated smart contract code can then be found in generated/defi_blocks.sol


As an example, this PoC generates solidity code based on a template version of a smart contract from yearn. However, it’s not tied to yearn at all. You could generate any smart contract that respects a certain design pattern and can logically be mapped to blockly. Creating a blockly parser or language generator for solidity or maybe even vyper could be the next thing to implement.

It might also be integrated into a web app where users could just click together some new strategies and generate the solidity code on the fly. Maybe this could be even compiled and run against remix or similar tools, there are many options.

It’s time to buidl! 🚀

We use optional third-party analytics cookies to understand how you use so we can build better products. Learn more.




defi_blocks - 德菲尤街区




我把这个作为一个有趣的项目为etonline 2020黑客竞赛。


注意:大多数代码目前都是硬连接的,所以基本上它总是输出daicompondBasic erren-strategy atm😂


npm install&amp;节点索引.js







区块链毕设网(全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » defi_blocks – 德菲尤街区区块链毕设代写


立即查看 了解详情