[Z]Tenderly 操作教學
錄影:https://vimeo.com/manage/videos/706096251
密碼:tenderlytut
1. 註冊帳號並開創分叉
註冊帳號:https://tenderly.co/
Tenderly 提供區塊鏈分叉的功能,使用者分叉出另一條區塊鏈後,就可使用這條 fork 從事任何區塊鏈的操作,又不會影響到實際資產,猶如從最新的區塊創造了另一個平行宇宙。創立再多 fork 也不會影響到以太坊主網的運行。
Forks → Fork a network
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 →
取好名字後 Create。Use Latest Block 圓圈打到右邊,才能得到最新的區塊;若想要分叉出過去特定的時間,則打到左邊,並輸入所要的區塊編號。
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 →
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 →
補充:如何查詢特定區塊的編號?
https://etherscan.io
畫面中間 → Latest Blocks
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 →
補充:New Simulation
於 Fork 選擇任何一條分叉好的區塊鏈,並按下上方的 New Simulation,可以模擬任何交易。若選擇 Use Custom Contract,則須再輸入合約地址。
2. 得到分叉節點的 RPC URL
分叉節點的 ID 如圖紅框處。
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 →
把 ID 接到此網址後面:https://rpc.tenderly.co/fork/ 就可以連上該分叉的節點,例如以本圖為例,就是:
https://rpc.tenderly.co/fork/c262679d-a3f3-4cdc-86c5-b2433a48a19d
本 RPC URL 請先留存,後續連結 Metamask 將用到。
Metamask → 新增網路 → 貼上前述的 RPC URL。
網路名稱:自行決定。
Chain ID:不同的區塊鏈主網有各自 ID。
以太坊:1
Fantom:250
BNB Chain:56
使用主網的 Chain ID,與其他 DApps 互動時才能正常使用。
若不知道 ID 為何,只要搜尋 "區塊鏈名稱 + Chain ID" 即可。
Currency Symbol:這條鏈原生貨幣的代碼。建議比照實際貨幣代碼(如 ETH、FTM …等)。
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 →
恭喜!已完成連接 Metamask 與測試用 Fork!
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 →
未來要以 Fork 進行「模擬」操作時,把網路調到 Fork 即可。若要動用「真錢」交易,則再調回主網。
分組比賽補充
-
一組請創建一個 fork 的錢包即可,眾人共同決定投資方式,由一位人員負責操作。
-
請將錢包地址回報給學院助教。
-
以「初始投入資金」的增減百分比作為評分依據。