module.exports = {
networks: {
klaytn: {
Authorization:"***",
provider: new HDWalletProvider(PRIVATE_KEY, URL),
network_id: NETWORK_ID,
gas: GASLIMIT,
gasPrice: null,
}
}
}
이 부분에서 에러가 발생합니다. 해당 에러는
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
Error: Unknown Error: {“code”:1010008,“message”:“The authorization header you provided is invalid.”}
at Request._callback (C:\Users\6100d\Desktop\YEEMARKETPROJECT_DEPLOY\node_modules@trufflesuite\web3-provider-engine\subproviders\rpc.js:57:23)
at Request.self.callback (C:\Users\6100d\Desktop\YEEMARKETPROJECT_DEPLOY\node_modules@trufflesuite\web3-provider-engine\node_modules\request\request.js:185:22)
at Request.emit (events.js:315:20)
at Request. (C:\Users\6100d\Desktop\YEEMARKETPROJECT_DEPLOY\node_modules@trufflesuite\web3-provider-engine\node_modules\request\request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage. (C:\Users\6100d\Desktop\YEEMARKETPROJECT_DEPLOY\node_modules@trufflesuite\web3-provider-engine\node_modules\request\request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
at PollingBlockTracker._performSync (C:\Users\6100d\Desktop\YEEMARKETPROJECT_DEPLOY\node_modules\eth-block-tracker\src\polling.js:51:24)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
입니다. Authorization Header를 설정하는 방법은 어떻게 되나요.