# 如何使用Metamask轉帳同時傳送訊息

By [limegreen.eth](https://paragraph.com/@limegreen-eth) · 2022-02-27

---

**答案：只使用Metamask小狐狸錢包不行，需要搭配其他工具**

2017年的老韭菜應該都有使用過MyEtherWallet搶過ICO吧，本輪DEFI、NFT牛市的小夥伴們使用率最高的應是metamask小狐狸錢包

個人覺得小狐狸雖然使用方便，但好像少了一些硬核功能

因此就來記錄下**在不安裝或註冊其他錢包帳戶的前提下**，如何使用metamask錢包轉帳同時發送訊息至鏈上。

使用的工具除了Metamask還有：MyEtherWallet(免安裝)、文字轉碼網頁

### STEP1

前往[MyEtherWallet網站](https://www.myetherwallet.com/)(MEW)，點選**Access my wallet**，換頁後選擇**Browser Wallet**，網站應會自動偵測metamask錢包並跳出登入頁面，登入後選擇要使用的錢包，並同意連結。

![點選Access my wallet](https://storage.googleapis.com/papyrus_images/c5227bde792212e1734747b74471218f923c8fc2e967a6881a638ec0f59371f5.png)

點選Access my wallet

![Browser Wallet](https://storage.googleapis.com/papyrus_images/d170e7ca68301e849941cfb29d0a5891f1c472b16ea7aaf1ad00fe9356ea5ad9.png)

Browser Wallet

### STEP2

同意連結後，MyEtherWallet網站會進到Dashboard，確認為準備轉帳的帳號後，點選Dashboard左側**Send transaction**進到轉帳頁面。

。

![點選Send transaction進到轉帳頁面](https://storage.googleapis.com/papyrus_images/bf38baaa936a9e90006e35853374e958e44ae436220a29e5a79621e7282b8b27.png)

點選Send transaction進到轉帳頁面

![轉帳頁面](https://storage.googleapis.com/papyrus_images/04b3b8938c58a752caf8ec8064d0ca371d3d314f544209f9e2aa274dd21a3721.png)

轉帳頁面

### STEP3

準備轉帳資訊，並將要傳送的文字訊息轉為電腦看得懂的十六進制(Hexadecimal)，google關鍵字：Text to HEX，隨便挑一個順眼的網站轉。

[https://www.rapidtables.com/convert/number/ascii-to-hex.html](https://www.rapidtables.com/convert/number/ascii-to-hex.html)

[https://www.online-toolz.com/tools/text-hex-convertor.php](https://www.online-toolz.com/tools/text-hex-convertor.php)

### STEP4

回到MEW頁面，填寫轉帳金額及地址，點擊最下方**Advanced**選項，將跳出gas limit及**Add Data**欄位，**將STEP3轉換好的HEX碼貼在Add Data欄位 0x 的後方(請勿刪掉0x)**。

![擊最下方Advanced選項](https://storage.googleapis.com/papyrus_images/5337e99128f8b56c4e89de5849aa1556a8ee76e04806ce1c87f53cb49741a344.png)

擊最下方Advanced選項

![將STEP3轉換好的HEX碼貼在Add Data欄位 0x 的後方](https://storage.googleapis.com/papyrus_images/d91b71f56f9a8b33a49a2327998442f661db7a79d188cd24a92049ef843c6708.png)

將STEP3轉換好的HEX碼貼在Add Data欄位 0x 的後方

確認資訊無誤，點選Next依MEW及metamask錢包指示進行轉帳。

**_Et voilà_ ! 完成 !**

![](https://storage.googleapis.com/papyrus_images/5faabdf6a8448cb00de8b3080b75021168d0da55005bb3f0edf142e293c13948.png)

### 確認轉帳訊息

轉帳完成後從metamask帳號點選交易紀錄，並選擇該筆轉帳，在發送資訊內選擇View on block explorer (或複製交易ID至Etherscan網站查詢)。\*\* \*\*

**_以我的測試轉帳為例_**

[https://etherscan.io/tx/0xda0c07257cac84ac947f34eaf2d2e29072631d7779073296db9bbfe0b5fcab21](https://etherscan.io/tx/0xda0c07257cac84ac947f34eaf2d2e29072631d7779073296db9bbfe0b5fcab21)

etherscan該筆交易紀錄Gas Price下方，選擇”**Click to see More**"，即可在灰底部份看到傳送的HEX碼，點選下方 **View Input As 並選擇UTF-8**，即可觀看原始訊息。

![](https://storage.googleapis.com/papyrus_images/4d0e191dbcc76b7a5bc247a94a040b1c284621e6f93b559281ee449106d3ae75.png)

![](https://storage.googleapis.com/papyrus_images/0baff6a3a39af6b79ab94fa969fb94504687dfa9d41066256abf1bbc1e7eb907.png)

![](https://storage.googleapis.com/papyrus_images/5de452a11b12b177820ccf4269fdc165a594f37b3379dca5dd7b77af1f23565a.png)

Hello World

---

*Originally published on [limegreen.eth](https://paragraph.com/@limegreen-eth/metamask)*
