如何匯出到 Arweave 及從 Arweave 匯入內容
匯出到 Arweave 讓你的筆記能幾乎永久地供所有人存取,而且無法更改。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
當你想發表敏感、可能引起爭議,或不希望被任何人(包括你本人)更動的內容,利用區塊鏈技術的 Arweave 可以助你一臂之力。
您也可以將您從 HackMD 匯出到 Arweave 的筆記匯入 HackMD,進一步編輯它。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
由於操作流程較複雜,目前僅支援從桌面版進行 Arweave 的匯出與匯入操作。
行前準備
我們需要準備 2 樣東西:
- Arweave 錢包
- 如要申請官方發放的免費錢包,需要 Twitter 帳號
- ArConnect 擴充套件
由於 Arweave 是應用區塊鏈技術的網絡,以合理的價格提供永久存儲。匯出到 Arweave 與從 Arweave 匯入都是此網絡上的一筆交易,需要支付手續費。因此,我們需要先取得 Arweave 的錢包,而且錢包內要有餘額,才能進行交易,存取鏈上的資料。
HackMD 不會直接保管或取得你的錢包資料,所以我們還需要安裝一個瀏覽器擴充套件 ArConnect。它就像是你的 Arweave 秘書,你將錢包的資訊交給這個套件,每當有網站(例如 HackMD)需要錢包的資訊,經你授權,網站就能取得完成交易(例如匯出或匯入筆記)所需的資料。
當然,取得 Arweave 錢包的方式不只下面介紹這一種,也有其他的方法可以管理錢包。不過 HackMD 目前只支援用 ArConnect 跟 Arweave 錢包互動。
完成這兩步驟後,就能輕易將你的 HackMD 筆記「上鏈」,讓所有人都能存取,但不能加以修改。
安裝 ArConnect
ArConnect 是瀏覽器擴充套件,常見的瀏覽器均有支援。請到 ArConnect 的官網,按 Download ArConnect,安裝擴充套件。
安裝後,我們會需要載入前一步取得的 Arweave 錢包。
ArConnect 載入錢包
- 安裝後,從瀏覽器開啟 ArConnect 擴充套件,如果未從使用過 ArConnect ,請點擊
Get me started
並完成流程,你會獲得一串種子密碼,請務必記住它。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- 如果已經註冊過,請點擊
I have a wallet
輸入設定的密碼,接著輸入種子密碼,用來加密你的錢包。輸入後按 Next ->
。
- 裝備好擴充套件,並登入您的 Arweave 錢包。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- 載入錢包後,畫面會類似下圖,這樣就完成了。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
將 HackMD 筆記匯出到 Arweave
-
從選單選擇匯出到 Arweave:
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
-
連結 ArConnect。如果還沒在 ArConnect 裡載入錢包,請再載入才能繼續。請按「匯出到 Arweave」。
登入 Arweave 錢包 |
選擇要匯出的錢包 |
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
|
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
|
- 匯出完成。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
匯出完成後,按【檢視分享頁面】,會開啟一個頁面,包含你剛才匯出的內容,以及本次上鏈交易的相關資訊。歡迎分享這個頁面。
注意事項
- 匯出完成,表示 HackMD 已經將內容傳到 Arweave 鏈上,但還需要驗證交易等手續,需要一段時間才會完成上鏈,時間長短會因為匯出當時的交易量等因素而增減。
- 如果想從 Arweave 鏈上取得內容,你會需要這筆交易的 Hash。在匯出成功的視窗連結到交易明細,或是在分享頁面上,都能取得這段 Hash。
從 Arweave 匯入 HackMD 筆記
- 從選單選擇從 Arweave 匯入:
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- 貼上交易的 Hash,按【匯入】。
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
交易 hash 要從哪裡取得呢?
- 在匯出成功的視窗,按下交易 hash,會帶您到 Viewblock.io 的頁面,檢視這筆交易的詳情:
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
注意: 由於還需要完成驗證等手續,一筆交易才能真正「上鏈」,交易詳情可能會超過 10 分鐘後才能在 Viewblock.io 上看到。
- 從分享頁,文章結束處,有附上本次交易的 hash(本功能將於 11/15 前上線)。
- 從 ArConnect。每筆 ArConnect 經手的交易都會列在擴充套件視窗裡的
Transactions
頁籤:
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →