The command below will iterate over all files in the src
directory with postfix *.contract.ts
and run all compilation targets.
npm run compile
The command below will iterate over all files in the src
directory with postfix *.contract.ts
and run all test targets.
npm run test
By default, the originator will use a faucet account.
But you can provide your own private key by providing the argument --private-key
npm run originate -- --code build/compilation/<...>_contract.tz --storage build/compilation/<...>_storage.tz --rpc https://mainnet.smartpy.io --private-key <edsk...>