0

I am using truffle and web3 to assemble a smart contract that I deployed on Ropsten testnet. I did the following:

const Web3 = require('web3')
const fs = require('fs')
const { token_abi } = JSON.parse(fs.readFileSync('./build/contracts/QUAD_EK.json', 'utf8'))

I get the following error: Error: ENOENT: no such file or directory, open './build/contracts/QUAD_EK.json'

My file structure below enter image descripfe

TylerH
  • 20,799
  • 66
  • 75
  • 101
Emily Kuo
  • 61
  • 4

0 Answers0