Skip to main content

pallet-contracts 合约模块

pallet-contracts合约模块, 一般称呼为“Contracts Pallet” 或者 “FRAME Contracts pallet”,又或者称呼为“Substrate Smart Contracts”,是parity官方研发的Wasm合约模块。

依据Substrate knowledgebase的介绍,Contracts Pallet具备如下特性:

  • Are inherently safer to the network.
  • Have built in economic incentives against abuse.
  • Have computational overhead to support graceful failures in logic.
  • Have a lower bar to entry for development.
  • Enable fast pace community interaction through a playground to write new logic.