<var id="fnfpo"><source id="fnfpo"></source></var>
<rp id="fnfpo"></rp>

<em id="fnfpo"><object id="fnfpo"><input id="fnfpo"></input></object></em>
<em id="fnfpo"><acronym id="fnfpo"></acronym></em>
  • <th id="fnfpo"><track id="fnfpo"></track></th>
  • <progress id="fnfpo"><track id="fnfpo"></track></progress>
  • <tbody id="fnfpo"><pre id="fnfpo"></pre></tbody>

  • x
    x
    查看: 755|回復: 0
    打印 上一主題 下一主題

    [供應] DAPP/去中心化系統開發流程解析方案(成熟理念)分析結果

    [復制鏈接]
    跳轉到指定樓層
    樓主
    發表于 2023-1-31 15:41:27 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
      智能合約可以用來做什么

      智能合約可用于各種不同的環境,但最直接的用法可能是您已經熟悉的一種:加密貨幣。

      "We usually think that cryptocurrency is actually the simplest form of smart contract,"Boder said."Cryptocurrency is a smart contract.Its use case is to send and receive funds,or more accurately,tokens.In this sense,smart contracts are the generalization of cryptocurrency.It supports more use cases,not just sending tokens back and forth."

      智能合約的其他一些流行用例包括:

      啟用數字資產的轉移。那些轉讓NFT等數字資產所有權的人是智能合約的自然使用!霸谶@種情況下,特定數字藝術作品的權利在特定條件或規則下從一方轉移到另一方,”面向游戲玩家的Web3平臺Xchange Monster的首席執行官Felix Honigwachs說。

      運行byfn測試網的準備工作,也是搭建開發環境的過程,最終,測試網能成功運行也說明環境搭建成功。

      新建一個目錄并進入:

      $mkdir hyperledger&&cd hyperledger

      1

      下載執行腳本,此腳本用來自動化下載fabric鏡像、程序和測試網運行腳本等工具:

      $wget https://raw.githubusercontent.co ... cripts/bootstrap.sh

      --2020-12-15 14:07:12--https://raw.githubusercontent.co ... cripts/bootstrap.sh

      Resolving raw.githubusercontent.com(raw.githubusercontent.com)...151.101.76.133

      Connecting to raw.githubusercontent.com(raw.githubusercontent.com)|151.101.76.133|:443...connected.

      HTTP request sent,awaiting response...200 OK

      Length:6521(6.4K)[text/plain]

      Saving to:‘bootstrap.sh’

      bootstrap.sh 100%[==================================>]6.37K--.-KB/s in 0s

      2020-12-15 14:07:12(102 MB/s)-‘bootstrap.sh’saved[6521/6521]

      去中心化金融。智能合約使開發人員能夠構建金融應用程序,Allow users to borrow or trade securities,etc.Gambling.Developers can use smart contracts to provide access to their games,while users can trade digital content in the game with other users,and so on.

      “如果你想在無需信任的環境中做更多事情,而不僅僅是來回匯款,你需要智能合約,”API3的Boder說。

      編寫和部署智能合約的工具

      Mist Browser——它是一個瀏覽和使用dApp的工具。它是一個單獨的瀏覽器,可用于瀏覽dApp并與之交互。

      Truffle Framework——Truffle是一個流行的以太坊開發框架。它具有內置的智能合約編譯、鏈接、部署和二進制管理。

      Metamask——MetaMask是一座橋梁,允許人們今天在他們的瀏覽器中訪問明天的分布式網絡。它允許用戶直接在瀏覽器中運行以太坊dApp,而無需運行完整的以太坊節點。

      Remix——Remix是一個基于Web瀏覽器的IDE,允許用戶編寫Solidity智能合約,然后部署和運行智能合約。

      fabric-samples目錄下包含多個測試用例,最簡單的測試用例即為first-network下的byfn.sh腳本的測試網絡:

    您需要登錄后才可以回帖 登錄 | 立即注冊

    本版積分規則

    關于我們  -  服務條款  -  使用指南  -  站點地圖  -  友情鏈接  -  聯系我們
    電子工程網 © 版權所有   京ICP備16069177號 | 京公網安備11010502021702
    快速回復 返回頂部 返回列表
    精品一区二区三区自拍图片区_国产成人亚洲精品_亚洲Va欧美va国产综合888_久久亚洲国产精品五月天婷