范范
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    {%hackmd BJrTq20hE %} ###### tags: `Blockchain課程` Week7 ## 前提 ### 幣圈 >想像各式各樣的用利,吸引消費者使用這個東西 e.g.賭場會遇到給國外客戶時,可能會遇到外匯或是國家帳戶 ### 鏈圈 > 不在意幣的事情。重點是在鏈上存入一些重要的信用問題 ## 自主身份認證 所謂「自主身份」,意指用戶本人可以完全掌控,又可在任何服務之間互通使用的數碼身份。它能以去中心化識別符(Decentralized Identifier,DID)的方式植入於區塊鏈的分散式帳本(Distributed Ledger Technology,DLT),所以擁有不可篡改的特性,亦不受單一服務商所控制。同時,分散式帳本使用數碼簽署(Digital Signature)技術,支援私鑰加密功能,故握有私鑰者即可掌控帳本內的數碼身份,而私鑰只會由用戶本人保管。 下述例子都是將自主身份引入**認識你的客戶(KYC)** 裡面。如此一來,持有自主性數碼身份的用戶便可擁有個人資料的自主權,能夠自行決定與服務供應商分享哪些個人資訊,進而保護其私隱。 ## 認識你的客戶KYC 知道你的資訊,為什麼要讓網站知道自己的真實資訊呢? 為了金融安全,金融安全需要反洗錢防制與打擊資助恐怖主義,所以需要客戶提供相關的資料,通常會要求客戶提供身份證明和常住地址。 ### 例子 1. 德國柏林一家區塊鏈初創科企Spherity,成功開發出「E-Rezept」電子處方App。是用區塊鏈技術開發一個數碼身份(Digital Identity)認證機制:患者毋須親赴醫院,透過手機App核實其身份後,院方便會向患者發出醫生處方,以供購買處方藥物。這樣就不用跑到醫院向醫生求取處方 2. 為免同學在疫情期間返校投票,一名碩士生開發了一個區塊鏈投票App,提供可驗證學生身份的網上投票系統。這是首個在英國電訊商沃達豐(Vodafone)數碼身份認證平台上運作的區塊鏈應用方案。 ## 議題:口罩販賣機 缺少人證明! 簡單的KYC(Know Your Customer) ## CAP定理 ## 共識演算法 在加密貨幣領域中,共識算法是每個區塊鍊網絡的關鍵要素,它們負責維護這些分佈式系統的完整性和安全性。 第一個被創建出的加密貨幣共識算法是工作量證明(PoW),它由中本聰設計並在比特幣上實現,用於實現拜占庭容錯。 ## proof-of-existence 存在証明(POE) > 可通過比特幣區塊鏈中帶時間戳的交易來驗證特定時間計算機文件的存在 ## IOTA錢包 ![](https://i.imgur.com/jUEMt5e.png) # Week8 ## IOTA nodes ![](https://i.imgur.com/53auy2g.png) ### swarm-node(只有tip->灰色而已) 超級小,只有tip而已 發交易的門檻,只是找兩個破口? 所以速度很快 共識演算法的發錢只不過是以防萬一有垃圾訊息 如果做東吳幣,我們得扮演有點像是交易所的概念 ### full-node 並非從一開始就存取,會定期砍除舊交易->snap shot(快照) IOTA的full-node叫做iri 幣零,多久沒有花掉就被刪掉->幾個月要花掉,可以和snap shot一起,snap shot的週期為兩個月 HORNET要取代iriㄌ 反正他的效能還是啥比較好 HORNET,可能在你還沒發交易就先幫你選好tip->就是可以不會延遲 # 關於 ## 前提 >這個只是因為我不懂所以打在這邊 > 為什麼要連接遠端連線伺服器?因為有時需要大家來協作或者讓大家來使用但是又不能讓大家都擠在一台電腦前面 - 伺服器類型 (Server) :有限度的開放連線 - 工作站類型 (Workstation) :只對內網開放 > 不提供網際網路服務的主機 連接方式: 文字介面明碼: telnet, rsh 等為主,目前非常少用; 文字介面密碼: ssh 為主,已經取代上述的 telnet, rsh 等明碼方式; 圖形介面: Xdmcp, VNC, RDP 等較為常見 ## 使用ssh 直接登入主機的指令 1. ssh-keygen 產生ssh公、私鑰 > 老師是說可以用putty產生 ![](https://i.imgur.com/OHcQrtz.png) 2. 可到產生的ssh檔案查看生成的公、私鑰 > putty 會產生一個公鑰與私鑰 ![](https://i.imgur.com/B0ymu1M.png) :exclamation: 要把公鑰交給老師這樣才可以加入 3. 連線 ```bash $ ssh [帳號名稱(可以省略)]@IP [指令] ``` > 使用該主機的某帳號登入的意思。但是很多朋友都不喜歡寫帳號,亦即使用『 ssh 主機IP 』的格式。 如同上面的範例情況。要注意喔,如果不寫帳號的話,那麼會以本地端電腦的帳號來嘗試登入遠端。 > 當時指令打得指令:ssh -i ~/.ssh/id_rsa ubuntu@34.230.66.150 ![](https://i.imgur.com/8Bz7TcN.png) 設定欓 掌管節點 要不要開放 snapshot synced/unsynced 是否同步了 Coin, Token - Sign transaction 簽章 You can’t sign your transaction on remote Refer the client library get_new_addresses - Tips selection 選取tip - Attach to Tangle (PoW) - StoreTransaction 儲存起來 - Broadcast Transaction 廣播給大家 IOTA nodes->其他公共節點 https://iota-nodes.net/ IOTA thetangle調查交易紀錄ㄉ https://thetangle.org/ Ref. [鳥哥的資料](http://linux.vbird.org/linux_server/0310telnetssh.php) [自主身份例子](http://www.etnet.com.hk/www/tc/lifestyle/officetips/larryleung/65174) # BlockChain_HW > Hi! My name is Ginger.Nice to meet you.:satisfied: # 每週進度與筆記 ## Week2 and Week3 > 區塊鏈介紹 ## Week4 > 智能合約說明 > Solidity 語法 ## Week6 > Solidity 語法 ## Week7 and Week8 > 幣圈、鏈圈生態、自主身份認證、KYC > 遠端連線伺服器筆記 >

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully