前言: 缺乏有效生態支撐的加密貨幣可視為廢紙,但固中原理和技術有無限的可能性。
目標: 單純在技術上,發行一種前所未見的加密貨幣。
功能: 此加密貨幣在每次交易後都會自動增加一定供應量,即公開透明地印銀紙。
工具:
1. 增加 MetaMask browser extension https://metamask.io/
2. 前往 remix IDE https://remix.ethereum.org
文字步驟(英文):
1. Create an account on MetaMask
2. Switch to Ropsten test network for test purpose
3. Get test ether($0) from faucet for free
4. Go to remix IDE
5. Paste smart contract source code to remix IDE from https://gist.github.com/escohk/93f983ff2f4abe01fe9ba9dedb698b0d
6. Go through key functions of the smart contract
7. Deploy smart contract
8. Check etherscan
9. Test smart contract by transferring coins
ps. 圖文步驟後加
成果: 發行了經編程和公開透明的加密貨幣。
思考:
1. 貨幣只是 smart contract 的其中一種有效應用?
2. 下n個殺手級的區塊鏈應用是?去中心化儲存?去中心化交易?去中心化資產?
3. 區塊鏈潛在的無限可能性與互聯網曾經的無限可能性是同級的嗎?
我而家專注開發 smart contract 和 dapp(decentralized application),由其投入於 hybrid dapp(blockchain + cloud) 之中。如果你係技術上或商業上想詳細交流,可以加入以下既 tg groups:
商業: https://t.me/joinchat/CE_VKRL-wBG39XZQ1nRWlA
技術: https://t.me/joinchat/CE_VKREQ4dntIA7dAbxGVQ
,或者係到討論。
後記: Smart Contract 中文名現為智能合約,但我認為並不準確。 Smart 與 Intelligent(智能) 並非同義, Smart Contract 本質上亦不是智能的。機靈合約會係一個更準確和有意義既名稱。