ICON Smart Contract

Phyrex Tsai
Aug 31, 2018 · 2 min read
ICON

ICON素有韓國以太坊之稱,並且結合跨鏈應用,並且擁有自己的智能合約,進而連結現實生活中的各種機構與服務,使用的區塊鏈底層為ICON獨立開發的項目,稱之為 Loopchain。

Loopchain

Loopchain是ICON網絡的核心,包含四種主要核心元素:

  • Consensus: Loopchain利用Loop Fault Tolerance(LFT)一致性演算法。
  • SCORE(Smart Contract On Reliable Environment) : Loopchain上的智能合約功能可以直接在節點的中執行。
  • Multi-Channel :此功能允許在同一塊區塊鏈網絡中創建不同的頻道,來執行智能合約。
  • Tiered-System:根據該節點的功能,為節點授予不同級別的訪問權限。

Reference: https://github.com/theloopkr/loopchain

SCORE

ICON是一個智能合約平台,使用 SCORE(Smart Contract On Reliable Environment) 作為智能合約的基礎

SCORE是指由Loopchain支持的智能合約,它是一種高性能智能合約支持功能,可直接在節點操作環境中運行,無需任何單獨的虛擬機(VM)。 SCORE也是一項具有高生產率的智能合約,可以輕鬆創建並在區塊鏈流程的單獨流程中運行,能夠開發各種任務。

T-Bears

T-Bears是SCORE的一套開發工具,有點類似以太坊上的Truffle。 T-Bears的指令集可以創建SCORE的智能合約框架。並且可以在模擬環境中編寫和測試智能合約,並在城市完整撰寫後,利用T-Bears將SCORE部署到ICON測試網路。

Reference: https://github.com/icon-project/t-bears

Phyrex Tsai

Written by

Blockchain Developer

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade