This repo provides tutorials/samples for deploying and interacting with contracts. Learn to use Hardhat and SwisstronikJS to confidently use Swisstronik Blockchain.
it turns out that the package.json code is like this, when deploying the script he runs hardhat run scripts/deploy.ts, it should be deploy.js not deploy.ts
I read this repo using .js not .ts
I looked at the README.md documentation section, how to Testing and Deployment: npm run deploy : https://github.com/SigmaGmbH/swisstronik-tutorials/blob/main/PERC20_interaction/README.md
When I run "npm run deploy" an error appears like this
it turns out that the package.json code is like this, when deploying the script he runs hardhat run scripts/deploy.ts, it should be deploy.js not deploy.ts