区块链技术(九):以太坊非公开拍卖智能合约案例
Favorite
Share
Scan with WeChat
Share with Friends or Moments
这是一个非公开的拍卖系统,在透明的平台运行非公开拍卖看起来是矛盾的,但是密码学可以做到这一点。
在拍卖期间,参与者把自己的出价加密发送给拍卖系统,除了自己,任何人不知道出价是多少。当拍卖结束,参与者把出价明文发给拍卖系统,系统用明文加密运算,跟之前发送的密文比对,一致的话说明出价跟之前一样,出价有效。
在传统领域,很多业务很容易产生暗箱操作,智能合约让参与者跟工作人员都无法干预系统,系统也没有人的行为,全部是自动执行的代码,使业务变得透明公平,这对产业的变革是颠覆性的。
代码如下:
从这个案例可以看到,智能合约能让商业变得公平、透明、高效,最大程度的促进参与者的积极性,未来对各个产业将带来巨大的改变。
本文链接:
https://www.8btc.com/article/91947
转载请注明文章出处
Disclaimer: This article is copyrighted by the original author and does not represent MyToken’s views and positions. If you have any questions regarding content or copyright, please contact us.(www.mytokencap.com)contact
About MyToken:https://www.mytokencap.com/aboutusArticle Link:https://www.mytokencap.com/news/168867.html
Previous:如何使用以太坊钱包对DAO项目进行投票
Next:区块链技术(六):以太坊核心概念(二)
Related Reading


ONDO Breaks Out Of Ascending Channel – Analyst Sets $0.29 Target
ONDO is under pressure after a sharp 33% decline from its May highs, reflecting growing uncertainty ...
Ripple SEC Lawsuit Ends – XRP ETF Incoming? Price Set to Break $3 Soon!
The post Ripple SEC Lawsuit Ends – XRP ETF Incoming? Price Set to Break $3 Soon! appeared first on C...
Gemini Launches Tokenized US Stocks in EU, Starting With MicroStrategy (MSTR)
The post Gemini Launches Tokenized US Stocks in EU, Starting With MicroStrategy (MSTR) appeared firs...