defaultNetwork
in packages/hardhat/hardhat.config.js
Ownable
you can change the ownership of the contract from your `deployer` to your preferred account by uncommenting and adding your address to yourContract.transferOwnership(YOUR_ADDRESS_HERE);
in packages/hardhat/deploy/00_deploy_your_contracts.js
yarn generate
which will create a seed phrase for you. You should see the following output:yarn account
to see details of this account like eth balances across different networks.yarn deploy
, the scripts in /packages/hardhat/deploy
are run in alphabetical order (by default - more fine-grained controls in the hardhat-deploy docs). You can deploy contracts, interact with contracts & send ETH - whatever you want!/deployments
folder, and automatically copied to /packages/react-app/src/contracts/hardhat_contracts.json
via the --export-all
flag in the yarn deploy
command (see /packages/hardhat/packagen.json
).