---
# System prepended metadata

title: 第三週實習日誌(9/13-9/17)
tags: [區塊鏈, 實習日誌]

---

# 第三週實習日誌(9/13-9/17)
---
[TOC]

###### tags: `實習日誌` `區塊鏈`
----
## 2021.09.13(一)

----
* Ｇoal :a: 
   * construct frontend automation signature minter
   

* Today Finished :100:
   * 已經到本地端開發最後階段 解決了cors問題 目前卡在串接infura api reactjs問題 回家再debug
   * [nft minter開發紀錄](https://hackmd.io/FhvNXQlgStGYVpRHM-ZPMg)
   
* To be developing :+1:
   * fix TypeError: Failed to construct 'URL': Invalid URL
   * 在本地端解決完 明天把簽名前端nft介面網站給主管看過 確定ok      就可以試試看架在aws上

![](https://i.imgur.com/rWIOMO5.png)
debug
![](https://i.imgur.com/Ue6UYaS.png)

* [callback/async/await/promise/then/catch用法](https://medium.com/麥克的半路出家筆記/心得-認識同步與非同步-callback-promise-async-await-640ea491ea64)
* [async/await用法](https://davidwalsh.name/async-await)
* [callback必要條件](https://medium.com/appxtech/%E4%BB%80%E9%BA%BC%E6%98%AFcallback%E5%87%BD%E5%BC%8F-callback-function-3a0a972d5f82)
* [EventEmitter](https://ithelp.ithome.com.tw/articles/10230520)
* [第十一篇 - Process 的標準串流 (stdin、stdout、stderr)](https://ithelp.ithome.com.tw/articles/10231218)

---

## 2021.09.14(二)
----
* Ｇoal :a: 
   * construct frontend automation signature minter
   
* Today Finished :100:
    * 解決＠openzeppelin無法compile智能合約問題  
      * [直接將openzeppelin整個套件載下來](https://github.com/OpenZeppelin/openzeppelin-contracts)
  * cmd:$ yarn install @openzeppelin/contracts
  * [nft minter開發紀錄](https://hackmd.io/FhvNXQlgStGYVpRHM-ZPMg) 
 
* To be developing :+1:
   * 目前前端有bug上傳不到ipfs上
![](https://i.imgur.com/e5HpFKC.png =x300)
   * 這段要debug(stringify)
![](https://i.imgur.com/6NaD7OO.png =x250)


---
## 2021.09.15(三)
----
* Ｇoal :a: 
   * construct frontend automation signature minter
* Today Finished :100:
    
   * js.canvas可以作圖了
   ![](https://i.imgur.com/eNkmWAx.png =x200)

   * 將canvas圖成功上傳到[ipfs](https://bafybeics5mqxuwd3755oivs2xos5tcqklxn4afy2mfrer2h6hhoxmqiq7i.ipfs.infura-ipfs.io/)上
  * [nft minter開發紀錄](https://hackmd.io/FhvNXQlgStGYVpRHM-ZPMg) 
* To be developing :+1:
  * 目前問題:connect 不到 metamask 的 network上,無法mint smart contract
    ![](https://i.imgur.com/wBQ5G3V.png)

    * error message 
    ![](https://i.imgur.com/Ru4WOGq.png =x200)

---
## 2021.09.16(四)
----
* Ｇoal :a: 
   * construct frontend automation signature minter
* Today Finished :100:
    * 解決方法--->[metamask要記得click on Connected sites](https://metamask.zendesk.com/hc/en-us/articles/360045901112) 
    ![](https://i.imgur.com/ySlrSpj.png)
    ![](https://i.imgur.com/1VTyAEi.png =x600)
    * 前端介面mint完資料都會在前端顯現
    ![](https://i.imgur.com/mPwotsV.png =x400)
    ![](https://i.imgur.com/rmyeOGD.png)
    * [nft minter開發紀錄](https://hackmd.io/FhvNXQlgStGYVpRHM-ZPMg) 
* To be developing :+1:
    * seting prviate node(truffle) on ethereum (linux os)
    * dealing vmware development  
---
## 2021.09.17(五)
----
* Ｇoal :a: 
   * construct frontend automation signature minter
* Today Finished :100: 
   * compiling smart contract with solidity
     ![](https://i.imgur.com/Y5ybzwg.png)
   * dealing vmware development successfuly set prviate node(truffle) on ethereum (linux os)