// Copy the compiled BannerLine abi into the app (run after `forge build` in ../contracts). const fs = require('fs'), path = require('path'); const src = path.join(__dirname, '..', '..', 'contracts', 'out', 'BannerLine.sol', 'BannerLine.json'); fs.writeFileSync(path.join(__dirname, '..', 'contract-abi.json'), JSON.stringify(require(src).abi, null, 1)); console.log('contract-abi.json updated from', src);