truffle console 내에서 instance.mintYTT("1234","sejong","2019.1.11","https://ipfs.io",{from:accounts[1]}) 명령어 입력시 오류가 발생합니다.
다음 오류가 발생할 경우 아래 명령어를 입력 후 사용하시면 해결 가능합니다.
오류 내용 : ReferenceError: accounts is not defined
해결법 : web3를 통해 반환받은 계정 정보를 인스턴스화하는 명령어 입력
명령어 : accounts = await web3.eth.getAccounts()
명령어 : accounts = await web3.eth.getAccounts()
위 명령어 입력 후, mintYTT 명령어 수행