We want to automate deployment to the various blockchains. To facilitate development and deployment we will create scripts that use the appropriate environment variables to remove the potential error and latency when manually typing in the commands into terminal.
Creating these scripts will serve as the template for when we modify them for live testnet testing and deployment.
In a future ticket, we will be toggling config vars in the hardhat.config.ts file to handle deployments to different networks.
Documentation: https://hardhat.org/hardhat-runner/docs/guides/test-contracts
Description
We want to automate deployment to the various blockchains. To facilitate development and deployment we will create scripts that use the appropriate environment variables to remove the potential error and latency when manually typing in the commands into terminal.
Creating these scripts will serve as the template for when we modify them for live
testnet
testing and deployment.In a future ticket, we will be toggling config vars in the
hardhat.config.ts
file to handle deployments to different networks.Definition of done
Create both
test:local
anddeploy:local
scripts.Add localnet config that points to the locally-created blockchain network (https://hardhat.org/hardhat-network/docs/overview).
In
/blockchain
dir: